Files
animethemes-server/phpstan.neon
T
2025-01-04 05:02:52 -03:00

31 lines
841 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.#'