1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-13 22:54:25 +01:00
invoiceninja/phpstan.neon
2023-09-25 06:52:14 +10:00

31 lines
962 B
Plaintext

includes:
- ./vendor/nunomaduro/larastan/extension.neon
- ./vendor/spaze/phpstan-stripe/extension.neon
- phpstan-baseline.neon
parameters:
level: 2
paths:
- app
excludePaths:
- 'vendor/*'
- '../resources/*'
- resources/
- resources/*
- 'app/Jobs/Ninja/*'
- 'app/Models/Presenters/*'
- 'app/Console/Commands/*'
- 'app/DataMapper/Analytics/*'
- 'app/PaymentDrivers/Authorize/*'
- 'app/PaymentDrivers/AuthorizePaymentDriver.php'
- 'app/Utils/Traits/*'
universalObjectCratesClasses:
- App\DataMapper\Tax\RuleInterface
- App\DataMapper\FeesAndLimits
- \Postmark\Models\DynamicResponseModel
- \Stripe\Collection
reportUnmatchedIgnoredErrors: false
ignoreErrors:
- '#Array has 2 duplicate keys with value#'
- '#Call to an undefined method#'
- '#makeHidden#'
- '#Socialite#'