2021-11-28 17:43:02 +01:00
|
|
|
includes:
|
|
|
|
- vendor/phpstan/phpstan-strict-rules/rules.neon
|
|
|
|
|
|
|
|
parameters:
|
|
|
|
level: max
|
|
|
|
paths:
|
|
|
|
- src
|
|
|
|
- tests
|
|
|
|
ignoreErrors:
|
|
|
|
# \PHPStan\Rules\BooleansInConditions
|
|
|
|
- '#Only booleans are allowed in .* given#'
|
|
|
|
# \PHPStan\Rules\DisallowedConstructs\DisallowedShortTernaryRule
|
|
|
|
- '#Short ternary operator is not allowed\. Use null coalesce operator if applicable or consider using long ternary\.#'
|
|
|
|
# \PHPStan\Rules\DisallowedConstructs\DisallowedEmptyRule
|
|
|
|
- '#Construct empty\(\) is not allowed\. Use more strict comparison\.#'
|
|
|
|
|
|
|
|
- '#Method [\w\\:]+_data_provider\(\) return type has no value type specified in iterable type#'
|
|
|
|
stubFiles:
|
2021-11-29 11:54:35 +01:00
|
|
|
- stubs/Psr/SimpleCache/CacheInterface.stub
|
2021-11-28 17:43:02 +01:00
|
|
|
tmpDir: var/cache/phpstan
|