|
| 1 | +includes: |
| 2 | + - vendor/phpstan/phpstan-deprecation-rules/rules.neon |
| 3 | + - vendor/phpstan/phpstan-nette/extension.neon |
| 4 | + - vendor/phpstan/phpstan-nette/rules.neon |
| 5 | + #- vendor/phpstan/phpstan-strict-rules/rules.neon |
| 6 | + |
1 | 7 | parameters: |
2 | | - paths: |
3 | | - - src |
4 | | - level: max |
5 | | - ignoreErrors: |
6 | | - - |
7 | | - message: '~^Parameter #1 \$pattern of function preg_match expects string, string\|null given\.$~' |
8 | | - path: '*/src/ImageNameScript.php' |
9 | | - count: 1 |
10 | | - - |
11 | | - message: '~^Parameter #1 \$pattern of function preg_match expects string, string\|null given\.$~' |
12 | | - path: '*/src/ImageStorage.php' |
13 | | - count: 1 |
14 | | - - |
15 | | - message: '~^Right side of && is always true\.$~' |
16 | | - path: '*/src/ImageStorage.php' |
17 | | - count: 1 |
18 | | - - |
19 | | - message: '~^Method Contributte\\ImageStorage\\ImageStorage::fromIdentifier\(\) should return Contributte\\ImageStorage\\Image but returns array<int, Contributte\\ImageStorage\\ImageNameScript\|string>\|Contributte\\ImageStorage\\Image\.$~' |
20 | | - path: '*/src/ImageStorage.php' |
21 | | - count: 1 |
| 8 | + ignoreErrors: |
| 9 | + - |
| 10 | + message: '~^Parameter #1 \$pattern of function preg_match expects string, string\|null given\.$~' |
| 11 | + path: '*/src/ImageNameScript.php' |
| 12 | + count: 1 |
| 13 | + - |
| 14 | + message: '~^Parameter #1 \$pattern of function preg_match expects string, string\|null given\.$~' |
| 15 | + path: '*/src/ImageStorage.php' |
| 16 | + count: 1 |
| 17 | + - |
| 18 | + message: '~^Right side of && is always true\.$~' |
| 19 | + path: '*/src/ImageStorage.php' |
| 20 | + count: 1 |
| 21 | + - |
| 22 | + message: '~^Method Contributte\\ImageStorage\\ImageStorage::fromIdentifier\(\) should return Contributte\\ImageStorage\\Image but returns array<int, Contributte\\ImageStorage\\ImageNameScript\|string>\|Contributte\\ImageStorage\\Image\.$~' |
| 23 | + path: '*/src/ImageStorage.php' |
| 24 | + count: 1 |
| 25 | + |
| 26 | + - |
| 27 | + message: '#Cannot use array destructuring on array<int, Contributte\\ImageStorage\\ImageNameScript|string>|Contributte\\ImageStorage\\Image.#' |
| 28 | + path: '*/src/ImageStorage.php' |
| 29 | + count: 2 |
0 commit comments