|
1 | | - |
2 | | - |
3 | 1 | parameters: |
4 | 2 | ignoreErrors: |
5 | 3 | - |
@@ -127,6 +125,66 @@ parameters: |
127 | 125 | count: 1 |
128 | 126 | path: src/Reflection/Php/PhpClassReflectionExtension.php |
129 | 127 |
|
| 128 | + - |
| 129 | + message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#" |
| 130 | + count: 1 |
| 131 | + path: src/RobotLoader/RobotLoader.php |
| 132 | + |
| 133 | + - |
| 134 | + message: "#^Only booleans are allowed in a negated boolean, array\\<string, int\\|string\\>\\|null given\\.$#" |
| 135 | + count: 1 |
| 136 | + path: src/RobotLoader/RobotLoader.php |
| 137 | + |
| 138 | + - |
| 139 | + message: "#^Only booleans are allowed in a negated boolean, string\\|null given\\.$#" |
| 140 | + count: 1 |
| 141 | + path: src/RobotLoader/RobotLoader.php |
| 142 | + |
| 143 | + - |
| 144 | + message: "#^Argument of an invalid type array\\<int, string\\>\\|false supplied for foreach, only iterables are supported\\.$#" |
| 145 | + count: 1 |
| 146 | + path: src/RobotLoader/RobotLoader.php |
| 147 | + |
| 148 | + - |
| 149 | + message: "#^Only booleans are allowed in a negated boolean, int\\|false given\\.$#" |
| 150 | + count: 1 |
| 151 | + path: src/RobotLoader/RobotLoader.php |
| 152 | + |
| 153 | + - |
| 154 | + message: "#^Parameter \\#3 \\$subject of function str_replace expects array\\|string, string\\|false given\\.$#" |
| 155 | + count: 1 |
| 156 | + path: src/RobotLoader/RobotLoader.php |
| 157 | + |
| 158 | + - |
| 159 | + message: "#^Unreachable statement \\- code above always terminates\\.$#" |
| 160 | + count: 2 |
| 161 | + path: src/RobotLoader/RobotLoader.php |
| 162 | + |
| 163 | + - |
| 164 | + message: "#^Parameter \\#1 \\$source of function token_get_all expects string, string\\|false given\\.$#" |
| 165 | + count: 1 |
| 166 | + path: src/RobotLoader/RobotLoader.php |
| 167 | + |
| 168 | + - |
| 169 | + message: "#^Only booleans are allowed in an if condition, int\\|false\\|null given\\.$#" |
| 170 | + count: 2 |
| 171 | + path: src/RobotLoader/RobotLoader.php |
| 172 | + |
| 173 | + - |
| 174 | + message: "#^Only booleans are allowed in &&, string given on the left side\\.$#" |
| 175 | + count: 1 |
| 176 | + path: src/RobotLoader/RobotLoader.php |
| 177 | + |
| 178 | + - |
| 179 | + message: "#^Only booleans are allowed in a ternary operator condition, string given\\.$#" |
| 180 | + count: 1 |
| 181 | + path: src/RobotLoader/RobotLoader.php |
| 182 | + |
| 183 | + - |
| 184 | + message: "#^Call to function is_array\\(\\) with array\\<string, array\\('file' \\=\\> string, 'time' \\=\\> int\\)\\> will always evaluate to true\\.$#" |
| 185 | + count: 1 |
| 186 | + path: src/RobotLoader/RobotLoader.php |
| 187 | + |
130 | 188 | - |
131 | 189 | message: "#^Property PHPStan\\\\Rules\\\\Registry\\:\\:\\$rules with generic interface PHPStan\\\\Rules\\\\Rule does not specify its types\\: TNodeType$#" |
132 | 190 | count: 1 |
@@ -196,5 +254,3 @@ parameters: |
196 | 254 | message: "#^Method PHPStan\\\\Node\\\\FileNodeTest\\:\\:getRule\\(\\) return type with generic interface PHPStan\\\\Rules\\\\Rule does not specify its types\\: TNodeType$#" |
197 | 255 | count: 1 |
198 | 256 | path: tests/PHPStan/Node/FileNodeTest.php |
199 | | - |
200 | | - |
|
0 commit comments