Files
animethemes-server/phpstan.neon
T
2025-07-29 23:31:12 -03:00

49 lines
1.6 KiB
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
stubFiles:
- vendor/nuwave/lighthouse/_ide_helper.php
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.#'
- '#Call to method assertActionMounted\(\) on an unknown class static.#'
- '#Call to method assertTableActionMounted\(\) on an unknown class static.#'
-
message: '#Call to an undefined method PHPUnit\\Framework\\TestCase::.*\(\)#'
path: tests/*
-
message: '#Call to protected method expectException\(\) of class PHPUnit\\Framework\\TestCase.#'
path: tests/*
-
message: '#Call to an undefined method Pest\\PendingCalls\\TestCall::expect\(\).#'
path: tests/Unit/ArchTest.php
-
message: '#Undefined variable: \$this#'
path: tests/Pest.php