mirror of
https://github.com/Respect/Validation.git
synced 2024-06-15 20:15:06 +02:00
Ignore PHPStan errors
I want to get the build green. Currently, PHPStan is complaining about a couple of issues that are not so critical. It's especially concerning that strict_types must be the very first statement on PHPT files, but that's fine since PHPUnit parses its content. Signed-off-by: Henrique Moody <henriquemoody@gmail.com>
This commit is contained in:
parent
177657d5f4
commit
bd953f99f0
|
@ -25,7 +25,14 @@ parameters:
|
||||||
# Why: StaticValidator is a stub interface that types __callStatic
|
# Why: StaticValidator is a stub interface that types __callStatic
|
||||||
message: '/Call to static method PHPUnit\\Framework\\Assert::assertSame\(\) with Respect\\Validation\\Validator and Respect\\Validation\\ChainedValidator will always evaluate to false./'
|
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
|
path: tests/unit/ValidatorTest.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
|
level: 8
|
||||||
paths:
|
paths:
|
||||||
- library/
|
- library/
|
||||||
- tests/
|
- tests/
|
||||||
|
excludePaths:
|
||||||
|
- tests/integration/
|
||||||
|
|
Loading…
Reference in a new issue