mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-05-31 01:34:33 -04:00
Add back phpstan
This commit is contained in:
parent
fca4b83d8b
commit
cb5ad6eaca
30
phpstan.neon
Normal file
30
phpstan.neon
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
includes:
|
||||||
|
- ./vendor/larastan/larastan/extension.neon
|
||||||
|
- ./vendor/spaze/phpstan-stripe/extension.neon
|
||||||
|
- phpstan-baseline.neon
|
||||||
|
parameters:
|
||||||
|
level: 2
|
||||||
|
paths:
|
||||||
|
- app
|
||||||
|
excludePaths:
|
||||||
|
- 'vendor/*'
|
||||||
|
- 'resources/*/*.php'
|
||||||
|
- '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#'
|
||||||
|
- '#Access to protected property#'
|
Loading…
x
Reference in New Issue
Block a user