Skip to content

Commit

Permalink
misc
Browse files Browse the repository at this point in the history
  • Loading branch information
TomasVotruba committed Sep 8, 2024
1 parent 43737af commit f5a7eeb
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions phpstan.neon
Original file line number Diff line number Diff line change
Expand Up @@ -4,23 +4,17 @@ parameters:
errorFormat: symplify

paths:
- app
- src
- config
- tests

excludePaths:
- config/filesystems.php
- rector.php
- ecs.php

level: 8

ignoreErrors:
# invalid types
- '#Parameter \#2 \$font of method Imagine\\Draw\\DrawerInterface\:\:text\(\) expects Imagine\\Image\\AbstractFont, Imagine\\Image\\FontInterface given#'

# false postive on non-empty collection
-
message: '#Cannot call method getDate\(\) on App\\ValueObject\\FuelPurchase\|null#'
path: app/ValueObject/CarReport.php

# will be solved most likely once Larastan is updated to Laravel 11 conventions
- '#Call to an undefined method Illuminate\\Contracts\\(.*?)|Illuminate\\#'

0 comments on commit f5a7eeb

Please sign in to comment.