mirror of
https://github.com/Respect/Validation.git
synced 2024-06-08 08:42:15 +02:00
d532e942a5
One of the reasons for this change is to spare some space on the Validator class, leaving only real code there. However, the biggest reason is that IDEs can auto-complete rules after Validator creates the first rule. Signed-off-by: Henrique Moody <henriquemoody@gmail.com>
32 lines
1.2 KiB
Plaintext
32 lines
1.2 KiB
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
|
|
checkGenericClassInNonGenericObjectType: false
|
|
checkMissingIterableValueType: false
|
|
ignoreErrors:
|
|
-
|
|
message: '/Instanceof between mixed and SimpleXMLElement will always evaluate to false\./'
|
|
path: library/Rules/ArrayVal.php
|
|
-
|
|
message: '/Parameter #1 \$error_handler of function set_error_handler expects \(callable\(int, string, string, int, array\): bool\)\|null, Closure\(\): void given\./'
|
|
paths:
|
|
- library/Rules/Call.php
|
|
- tests/unit/Rules/CallTest.php
|
|
-
|
|
message: '/Call to an undefined static method Respect\\Validation\\Validator::iDoNotExistSoIShouldThrowException/'
|
|
path: tests/unit/ValidatorTest.php
|
|
|
|
-
|
|
message: '/Call to static method PHPUnit\\Framework\\Assert::assertSame\(\) with Respect\\Validation\\Validator and Respect\\Validation\\ChainedValidator will always evaluate to false./'
|
|
path: tests/unit/ValidatorTest.php
|
|
level: 7
|
|
paths:
|
|
- library/
|
|
- tests/
|