|
121 | 121 | 'count' => 1,
|
122 | 122 | 'path' => __DIR__ . '/front/inventory.php',
|
123 | 123 | ];
|
124 |
| -$ignoreErrors[] = [ |
125 |
| - 'message' => '#^PHPDoc tag @var with type class\\-string is not subtype of native type array\\<mixed\\>\\.$#', |
126 |
| - 'identifier' => 'varTag.nativeType', |
127 |
| - 'count' => 2, |
128 |
| - 'path' => __DIR__ . '/front/item_device.php', |
129 |
| -]; |
130 | 124 | $ignoreErrors[] = [
|
131 | 125 | 'message' => '#^Expression on left side of \\?\\? is not nullable\\.$#',
|
132 | 126 | 'identifier' => 'nullCoalesce.expr',
|
|
1129 | 1123 | 'count' => 1,
|
1130 | 1124 | 'path' => __DIR__ . '/src/CommonDBRelation.php',
|
1131 | 1125 | ];
|
1132 |
| -$ignoreErrors[] = [ |
1133 |
| - 'message' => '#^Property CommonDBRelation\\:\\:\\$_force_log_option \\(int\\) in isset\\(\\) is not nullable\\.$#', |
1134 |
| - 'identifier' => 'isset.property', |
1135 |
| - 'count' => 1, |
1136 |
| - 'path' => __DIR__ . '/src/CommonDBRelation.php', |
1137 |
| -]; |
1138 | 1126 | $ignoreErrors[] = [
|
1139 | 1127 | 'message' => '#^Unreachable statement \\- code above always terminates\\.$#',
|
1140 | 1128 | 'identifier' => 'deadCode.unreachable',
|
|
3133 | 3121 | 'count' => 1,
|
3134 | 3122 | 'path' => __DIR__ . '/src/Item_Rack.php',
|
3135 | 3123 | ];
|
3136 |
| -$ignoreErrors[] = [ |
3137 |
| - 'message' => '#^PHPDoc tag @var with type int is not subtype of native type mixed\\.$#', |
3138 |
| - 'identifier' => 'varTag.nativeType', |
3139 |
| - 'count' => 1, |
3140 |
| - 'path' => __DIR__ . '/src/Item_Rack.php', |
3141 |
| -]; |
3142 | 3124 | $ignoreErrors[] = [
|
3143 | 3125 | 'message' => '#^Right side of && is always true\\.$#',
|
3144 | 3126 | 'identifier' => 'booleanAnd.rightAlwaysTrue',
|
|
3337 | 3319 | 'count' => 1,
|
3338 | 3320 | 'path' => __DIR__ . '/src/Log.php',
|
3339 | 3321 | ];
|
3340 |
| -$ignoreErrors[] = [ |
3341 |
| - 'message' => '#^If condition is always true\\.$#', |
3342 |
| - 'identifier' => 'if.alwaysTrue', |
3343 |
| - 'count' => 1, |
3344 |
| - 'path' => __DIR__ . '/src/Log.php', |
3345 |
| -]; |
3346 | 3322 | $ignoreErrors[] = [
|
3347 | 3323 | 'message' => '#^Strict comparison using \\!\\=\\= between null and string will always evaluate to true\\.$#',
|
3348 | 3324 | 'identifier' => 'notIdentical.alwaysTrue',
|
|
4603 | 4579 | 'count' => 3,
|
4604 | 4580 | 'path' => __DIR__ . '/src/Search.php',
|
4605 | 4581 | ];
|
4606 |
| -$ignoreErrors[] = [ |
4607 |
| - 'message' => '#^Offset 2 on array\\{0\\: string, 1\\: string, 2\\: string, 3\\: numeric\\-string, 4\\?\\: string, 5\\?\\: non\\-empty\\-string\\} in isset\\(\\) always exists and is not nullable\\.$#', |
4608 |
| - 'identifier' => 'isset.offset', |
4609 |
| - 'count' => 1, |
4610 |
| - 'path' => __DIR__ . '/src/Search.php', |
4611 |
| -]; |
4612 | 4582 | $ignoreErrors[] = [
|
4613 | 4583 | 'message' => '#^Offset 2 on array\\{string, string, string\\} in isset\\(\\) always exists and is not nullable\\.$#',
|
4614 | 4584 | 'identifier' => 'isset.offset',
|
|
0 commit comments