1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-09-19 16:01:34 +02:00
invoiceninja/phpstan.neon
2023-08-06 17:03:12 +10:00

22 lines
795 B
Plaintext

includes:
- ./vendor/nunomaduro/larastan/extension.neon
parameters:
level: 2
paths:
- 'app/'
excludePaths:
- 'vendor/'
- 'app/Jobs/Ninja/*'
- 'app/Console/Commands/*'
- 'app/DataMapper/Analytics/*'
- 'app/PaymentDrivers/Authorize/*'
universalObjectCratesClasses:
- App\DataMapper\Tax\RuleInterface
- App\DataMapper\FeesAndLimits
reportUnmatchedIgnoredErrors: false
ignoreErrors:
- '#Call to an undefined method [a-zA-Z0-9\\_]+::company\(\)#'
- '#Call to an undefined method [a-zA-Z0-9\\_]+::entityFilter\(\)#'
- '#Call to an undefined method [a-zA-Z0-9\\_]+::withTrashed\(\)#'
- '#Call to an undefined method [a-zA-Z0-9\\_]+::exclude\(\)#'
- '#Undefined method#'