|
1 | 1 | parameters: |
2 | 2 | ignoreErrors: |
3 | 3 | - |
4 | | - message: "#^Doing instanceof PHPStan\\\\Type\\\\ConstantScalarType is error\\-prone and deprecated\\. Use Type\\:\\:isConstantScalarValue\\(\\) or Type\\:\\:getConstantScalarTypes\\(\\) or Type\\:\\:getConstantScalarValues\\(\\) instead\\.$#" |
| 4 | + message: '#^Doing instanceof PHPStan\\Type\\ConstantScalarType is error\-prone and deprecated\. Use Type\:\:isConstantScalarValue\(\) or Type\:\:getConstantScalarTypes\(\) or Type\:\:getConstantScalarValues\(\) instead\.$#' |
| 5 | + identifier: phpstanApi.instanceofType |
5 | 6 | count: 1 |
6 | 7 | path: lib/NotNow/NoRelativeDateTimeInterfaceRule.php |
7 | 8 |
|
8 | 9 | - |
9 | | - message: "#^Doing instanceof PHPStan\\\\Type\\\\TypeWithClassName is error\\-prone and deprecated\\. Use Type\\:\\:getObjectClassNames\\(\\) or Type\\:\\:getObjectClassReflections\\(\\) instead\\.$#" |
| 10 | + message: '#^Doing instanceof PHPStan\\Type\\TypeWithClassName is error\-prone and deprecated\. Use Type\:\:getObjectClassNames\(\) or Type\:\:getObjectClassReflections\(\) instead\.$#' |
| 11 | + identifier: phpstanApi.instanceofType |
10 | 12 | count: 1 |
11 | 13 | path: lib/NotNow/NoRelativeDateTimeInterfaceRule.php |
12 | 14 |
|
13 | 15 | - |
14 | | - message: "#^Doing instanceof PHPStan\\\\Type\\\\ConstantScalarType is error\\-prone and deprecated\\. Use Type\\:\\:isConstantScalarValue\\(\\) or Type\\:\\:getConstantScalarTypes\\(\\) or Type\\:\\:getConstantScalarValues\\(\\) instead\\.$#" |
| 16 | + message: '#^Doing instanceof PHPStan\\Type\\ConstantScalarType is error\-prone and deprecated\. Use Type\:\:isConstantScalarValue\(\) or Type\:\:getConstantScalarTypes\(\) or Type\:\:getConstantScalarValues\(\) instead\.$#' |
| 17 | + identifier: phpstanApi.instanceofType |
15 | 18 | count: 1 |
16 | 19 | path: lib/NotNow/NoRelativeStrtotimeRule.php |
17 | 20 |
|
18 | 21 | - |
19 | | - message: "#^Cannot call method getAttribute\\(\\) on mixed\\.$#" |
| 22 | + message: '#^Access to an undefined property PhpParser\\Node\:\:\$args\.$#' |
| 23 | + identifier: property.notFound |
| 24 | + count: 1 |
| 25 | + path: lib/UnusedVariableRule.php |
| 26 | + |
| 27 | + - |
| 28 | + message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#' |
| 29 | + identifier: foreach.nonIterable |
| 30 | + count: 1 |
| 31 | + path: lib/UnusedVariableRule.php |
| 32 | + |
| 33 | + - |
| 34 | + message: '#^Cannot access property \$value on mixed\.$#' |
| 35 | + identifier: property.nonObject |
| 36 | + count: 2 |
| 37 | + path: lib/UnusedVariableRule.php |
| 38 | + |
| 39 | + - |
| 40 | + message: '#^Cannot call method getAttribute\(\) on mixed\.$#' |
| 41 | + identifier: method.nonObject |
| 42 | + count: 1 |
| 43 | + path: lib/UnusedVariableRule.php |
| 44 | + |
| 45 | + - |
| 46 | + message: '#^Parameter \#1 \$line of method PHPStan\\Rules\\RuleErrorBuilder\<PHPStan\\Rules\\RuleError\>\:\:line\(\) expects int, mixed given\.$#' |
| 47 | + identifier: argument.type |
| 48 | + count: 1 |
| 49 | + path: lib/UnusedVariableRule.php |
| 50 | + |
| 51 | + - |
| 52 | + message: '#^Parameter \#2 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|null, mixed given\.$#' |
| 53 | + identifier: argument.type |
20 | 54 | count: 1 |
21 | 55 | path: lib/UnusedVariableRule.php |
0 commit comments