|
158 | 158 | 'count' => 1, |
159 | 159 | 'path' => __DIR__ . '/src/Collectors/Auth.php', |
160 | 160 | ]; |
161 | | -$ignoreErrors[] = [ |
162 | | - 'message' => '#^PHPDoc type array\\<string, string\\> of property CodeIgniter\\\\Shield\\\\Commands\\\\Generators\\\\UserModelGenerator\\:\\:\\$arguments is not the same as PHPDoc type array of overridden property CodeIgniter\\\\CLI\\\\BaseCommand\\:\\:\\$arguments\\.$#', |
163 | | - 'count' => 1, |
164 | | - 'path' => __DIR__ . '/src/Commands/Generators/UserModelGenerator.php', |
165 | | -]; |
166 | | -$ignoreErrors[] = [ |
167 | | - 'message' => '#^PHPDoc type array\\<string, string\\> of property CodeIgniter\\\\Shield\\\\Commands\\\\Generators\\\\UserModelGenerator\\:\\:\\$options is not the same as PHPDoc type array of overridden property CodeIgniter\\\\CLI\\\\BaseCommand\\:\\:\\$options\\.$#', |
168 | | - 'count' => 1, |
169 | | - 'path' => __DIR__ . '/src/Commands/Generators/UserModelGenerator.php', |
170 | | -]; |
171 | 161 | $ignoreErrors[] = [ |
172 | 162 | 'message' => '#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#', |
173 | 163 | 'count' => 1, |
|
317 | 307 | 'path' => __DIR__ . '/src/Models/UserModel.php', |
318 | 308 | ]; |
319 | 309 | $ignoreErrors[] = [ |
320 | | - 'message' => '#^Parameter \\#1 \\$data \\(array\\|CodeIgniter\\\\Shield\\\\Entities\\\\User\\) of method CodeIgniter\\\\Shield\\\\Models\\\\UserModel\\:\\:insert\\(\\) should be contravariant with parameter \\$data \\(array\\|object\\|null\\) of method CodeIgniter\\\\Model\\:\\:insert\\(\\)$#', |
321 | | - 'count' => 1, |
322 | | - 'path' => __DIR__ . '/src/Models/UserModel.php', |
323 | | -]; |
324 | | -$ignoreErrors[] = [ |
325 | | - 'message' => '#^Parameter \\#1 \\$data \\(array\\|CodeIgniter\\\\Shield\\\\Entities\\\\User\\) of method CodeIgniter\\\\Shield\\\\Models\\\\UserModel\\:\\:save\\(\\) should be contravariant with parameter \\$data \\(array\\|object\\) of method CodeIgniter\\\\BaseModel\\:\\:save\\(\\)$#', |
326 | | - 'count' => 1, |
327 | | - 'path' => __DIR__ . '/src/Models/UserModel.php', |
328 | | -]; |
329 | | -$ignoreErrors[] = [ |
330 | | - 'message' => '#^Parameter \\#2 \\$data \\(array\\|CodeIgniter\\\\Shield\\\\Entities\\\\User\\) of method CodeIgniter\\\\Shield\\\\Models\\\\UserModel\\:\\:update\\(\\) should be contravariant with parameter \\$data \\(array\\|object\\|null\\) of method CodeIgniter\\\\Model\\:\\:update\\(\\)$#', |
331 | | - 'count' => 1, |
332 | | - 'path' => __DIR__ . '/src/Models/UserModel.php', |
333 | | -]; |
334 | | -$ignoreErrors[] = [ |
335 | | - 'message' => '#^Return type \\(int\\|string\\|true\\) of method CodeIgniter\\\\Shield\\\\Models\\\\UserModel\\:\\:insert\\(\\) should be covariant with return type \\(int\\|object\\|string\\|false\\) of method CodeIgniter\\\\Model\\:\\:insert\\(\\)$#', |
| 310 | + 'message' => '#^Call to function model with CodeIgniter\\\\Shield\\\\Models\\\\UserIdentityModel\\:\\:class is discouraged\\.$#', |
336 | 311 | 'count' => 1, |
337 | 312 | 'path' => __DIR__ . '/src/Models/UserModel.php', |
338 | 313 | ]; |
339 | 314 | $ignoreErrors[] = [ |
340 | | - 'message' => '#^Call to function model with CodeIgniter\\\\Shield\\\\Models\\\\UserIdentityModel\\:\\:class is discouraged\\.$#', |
341 | | - 'count' => 1, |
| 315 | + 'message' => '#^Return type \\(int|string|true\\) of method CodeIgniter\\\\Shield\\\\Models\\\\UserModel\\:\\:insert\\(\\) should be covariant with return type \\(\\(\\$returnID is true \\? int|string|false \\: bool\\) of method CodeIgniter\\\\Model\\:\\:insert\\(\\)\\$#', |
| 316 | + 'count' => 4, |
342 | 317 | 'path' => __DIR__ . '/src/Models/UserModel.php', |
343 | 318 | ]; |
344 | 319 | $ignoreErrors[] = [ |
|
0 commit comments