respect-validation/phpstan.neon.dist
Henrique Moody c946f16f60
Move mixin classes to the "Mixin" namespace
Just to make the root directory cleaner.

Signed-off-by: Henrique Moody <henriquemoody@gmail.com>
2024-03-03 16:52:29 +01:00

25 lines
871 B
Plaintext

includes:
- vendor/phpstan/phpstan-deprecation-rules/rules.neon
- vendor/phpstan/phpstan-phpunit/extension.neon
- vendor/phpstan/phpstan-phpunit/rules.neon
parameters:
fileExtensions:
- php
- phpt
ignoreErrors:
-
# Why: SimpleXMLElement is weird and doesn't implement anything ArrayAccess-like
message: '/Instanceof between mixed and SimpleXMLElement will always evaluate to false\./'
path: library/Rules/ArrayVal.php
-
# Why: I don't want to make changes to the code just to make phpstan happy
message: '/Parameter #2 \$values of function vsprintf expects array<bool\|float\|int\|string\|null>, array<string, array<bool\|int\|string>\|bool\|float\|int\|string> given./'
path: library/Rules/AbstractAge.php
level: 8
paths:
- library/
- tests/
excludePaths:
- tests/integration/