Files
animethemes-server/phpstan.neon
T
2025-04-04 01:41:42 -03:00

32 lines
923 B
Plaintext

includes:
- ./vendor/larastan/larastan/extension.neon
parameters:
treatPhpDocTypesAsCertain: false
checkModelProperties: true
checkOctaneCompatibility: true
reportUnmatchedIgnoredErrors: false
paths:
- app
- config
- database
- elastic
- routes
- tests
# The level 9 is the highest level
level: 5
ignoreErrors:
-
identifier: missingType.iterableValue
-
identifier: varTag.nativeType
-
identifier: method.childReturnType
- '#Call to an undefined method Mockery\\ExpectationInterface|Mockery\\HigherOrderMessage::once\(\).#'
- '#Call to an undefined method Database\\Factories.*::trashed\(\).#'
- '#::mapWithKeys\(\) expects*non-empty-array<int\|string, string> given.#'
- '#Access to an undefined property App\\Models\\Wiki\\Artist::\$pivot.#'