|
14 | 14 | ]; |
15 | 15 | $ignoreErrors[] = [ |
16 | 16 | 'message' => '#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#', |
17 | | - 'count' => 2, |
| 17 | + 'count' => 1, |
18 | 18 | 'path' => __DIR__ . '/src/Authentication/Actions/Email2FA.php', |
19 | 19 | ]; |
20 | 20 | $ignoreErrors[] = [ |
|
45 | 45 | ]; |
46 | 46 | $ignoreErrors[] = [ |
47 | 47 | 'message' => '#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#', |
48 | | - 'count' => 4, |
| 48 | + 'count' => 2, |
49 | 49 | 'path' => __DIR__ . '/src/Authentication/Authenticators/AccessTokens.php', |
50 | 50 | ]; |
51 | 51 | $ignoreErrors[] = [ |
|
95 | 95 | ]; |
96 | 96 | $ignoreErrors[] = [ |
97 | 97 | 'message' => '#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#', |
98 | | - 'count' => 3, |
99 | | - 'path' => __DIR__ . '/src/Authentication/Authenticators/Session.php', |
100 | | -]; |
101 | | -$ignoreErrors[] = [ |
102 | | - 'message' => '#^Only booleans are allowed in an elseif condition, string\\|null given\\.$#', |
103 | | - 'count' => 1, |
104 | | - 'path' => __DIR__ . '/src/Authentication/Authenticators/Session.php', |
105 | | -]; |
106 | | -$ignoreErrors[] = [ |
107 | | - 'message' => '#^Only booleans are allowed in an if condition, CodeIgniter\\\\Shield\\\\Entities\\\\UserIdentity\\|null given\\.$#', |
108 | 98 | 'count' => 1, |
109 | 99 | 'path' => __DIR__ . '/src/Authentication/Authenticators/Session.php', |
110 | 100 | ]; |
|
130 | 120 | ]; |
131 | 121 | $ignoreErrors[] = [ |
132 | 122 | 'message' => '#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#', |
133 | | - 'count' => 1, |
134 | | - 'path' => __DIR__ . '/src/Authentication/Passwords.php', |
135 | | -]; |
136 | | -$ignoreErrors[] = [ |
137 | | - 'message' => '#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#', |
138 | | - 'count' => 1, |
139 | | - 'path' => __DIR__ . '/src/Authentication/Passwords/CompositionValidator.php', |
140 | | -]; |
141 | | -$ignoreErrors[] = [ |
142 | | - 'message' => '#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#', |
143 | | - 'count' => 5, |
| 123 | + 'count' => 4, |
144 | 124 | 'path' => __DIR__ . '/src/Authentication/Passwords/NothingPersonalValidator.php', |
145 | 125 | ]; |
146 | 126 | $ignoreErrors[] = [ |
147 | 127 | 'message' => '#^Call to method CodeIgniter\\\\Shield\\\\Result\\:\\:isOK\\(\\) with incorrect case\\: isOk$#', |
148 | 128 | 'count' => 2, |
149 | 129 | 'path' => __DIR__ . '/src/Authentication/Passwords/ValidationRules.php', |
150 | 130 | ]; |
151 | | -$ignoreErrors[] = [ |
152 | | - 'message' => '#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#', |
153 | | - 'count' => 1, |
154 | | - 'path' => __DIR__ . '/src/Authentication/Passwords/ValidationRules.php', |
155 | | -]; |
156 | 131 | $ignoreErrors[] = [ |
157 | 132 | 'message' => '#^Only booleans are allowed in &&, CodeIgniter\\\\Shield\\\\Entities\\\\User\\|null given on the right side\\.$#', |
158 | 133 | 'count' => 1, |
|
249 | 224 | 'count' => 1, |
250 | 225 | 'path' => __DIR__ . '/src/Entities/Entity.php', |
251 | 226 | ]; |
252 | | -$ignoreErrors[] = [ |
253 | | - 'message' => '#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#', |
254 | | - 'count' => 2, |
255 | | - 'path' => __DIR__ . '/src/Entities/Group.php', |
256 | | -]; |
257 | 227 | $ignoreErrors[] = [ |
258 | 228 | 'message' => '#^Call to function model with CodeIgniter\\\\Shield\\\\Models\\\\GroupModel\\:\\:class is discouraged\\.$#', |
259 | 229 | 'count' => 2, |
|
276 | 246 | ]; |
277 | 247 | $ignoreErrors[] = [ |
278 | 248 | 'message' => '#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#', |
279 | | - 'count' => 8, |
| 249 | + 'count' => 7, |
280 | 250 | 'path' => __DIR__ . '/src/Entities/User.php', |
281 | 251 | ]; |
282 | 252 | $ignoreErrors[] = [ |
|
366 | 336 | 'count' => 8, |
367 | 337 | 'path' => __DIR__ . '/tests/Authentication/Authenticators/SessionAuthenticatorTest.php', |
368 | 338 | ]; |
369 | | -$ignoreErrors[] = [ |
370 | | - 'message' => '#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#', |
371 | | - 'count' => 1, |
372 | | - 'path' => __DIR__ . '/tests/Authentication/Filters/AbstractFilterTestCase.php', |
373 | | -]; |
374 | 339 | $ignoreErrors[] = [ |
375 | 340 | 'message' => '#^Implicit array creation is not allowed \\- variable \\$users might not exist\\.$#', |
376 | 341 | 'count' => 1, |
|
0 commit comments