|
| 1 | +parameters: |
| 2 | + level: 8 |
| 3 | + reportUnmatchedIgnoredErrors: false |
| 4 | + checkGenericClassInNonGenericObjectType: true |
| 5 | + checkMissingIterableValueType: false |
| 6 | + paths: |
| 7 | + - %currentWorkingDirectory%/src/ |
| 8 | + - %currentWorkingDirectory%/tests/ |
| 9 | + ignoreErrors: |
| 10 | + - |
| 11 | + message: ~has no return type specified~ |
| 12 | + path: %currentWorkingDirectory%/tests/* |
| 13 | + - |
| 14 | + message: '#assertContains|assertInternalType|assertStringContainsString|assertIsArray|expectExceptionMessage#' |
| 15 | + path: %currentWorkingDirectory%/tests/* |
| 16 | + - |
| 17 | + message: ~Call to an undefined static method~ |
| 18 | + path: %currentWorkingDirectory%/tests/StaticArrayyTest.php |
| 19 | + # false-positive? |
| 20 | + - '/function call_user_func expects callable.*array\{.*\} given/' |
| 21 | + - '/function call_user_func_array expects callable.*array\{.*\} given/' |
| 22 | + - '/\(array<TKey of \(int\|string\), T>\) does not accept array<TKey of \(int\|string\)/' |
| 23 | + - '/\(array<TKey of \(int\|string\), T>\) does not accept array<int, T>/' |
| 24 | + - '/\(array<TKey of \(int\|string\), T>\) does not accept array<int\|string, T>/' |
| 25 | + - '/array_map expects \(callable\(mixed\):/' |
| 26 | + # ignore gernal errors |
| 27 | + - '/Unsafe usage of new static/' |
| 28 | + - '/should be compatible with return type \(bool\) of method ArrayObject/' |
| 29 | + # ignore Iterator stuff |
| 30 | + - '/__construct\(\) has parameter \$iteratorClass with generic/' |
| 31 | + - '/create\(\) has parameter \$iteratorClass with generic/' |
| 32 | + - '/parameter \$iteratorClass with generic class Arrayy\\ArrayyIterator/' |
| 33 | + - '/generic class Arrayy\\ArrayyIterator does not specify its types/' |
0 commit comments