1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-08 20:22:42 +01:00
invoiceninja/phpstan.neon

41 lines
1.5 KiB
Plaintext
Raw Normal View History

2024-02-07 01:51:37 +01:00
includes:
- ./vendor/larastan/larastan/extension.neon
- ./vendor/spaze/phpstan-stripe/extension.neon
- phpstan-baseline.neon
parameters:
2024-07-11 07:53:18 +02:00
level: 5
2024-02-07 01:51:37 +01:00
paths:
- app
excludePaths:
2024-06-14 09:07:52 +02:00
analyseAndScan:
- 'vendor'
- 'resources'
- 'app/Jobs/Ninja/*'
- 'app/Models/Presenters/*'
- 'app/Console/Commands/*'
- 'app/DataMapper/Analytics/*'
- 'app/PaymentDrivers/Authorize/*'
- 'app/PaymentDrivers/AuthorizePaymentDriver.php'
- 'app/Utils/Traits/*'
2024-02-07 01:51:37 +01:00
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#'
2024-06-15 09:34:08 +02:00
- '#Call to undefined method .*#'
2024-06-24 01:52:35 +02:00
- '#Argument of an invalid type stdClass supplied for foreach, only iterables are supported.#'
2024-06-28 07:16:08 +02:00
- '#Comparison operation ">=" between int<1, max> and 1 is always true#'
- '#Negated boolean expression is always#'
- '#Ternary operator condition#'
- '#Expression on left side of ?? is not nullable.#'
- '#Left side of && is always true.#'
- '#Right side of && is always true.#'
2024-08-27 06:47:18 +02:00
- '#is never read, only written.#'
- '#is never written#'