|
1 | | -<?php |
2 | | - |
3 | | -declare(strict_types=1); |
| 1 | +<?php declare(strict_types = 1); |
4 | 2 |
|
5 | 3 | $ignoreErrors = []; |
6 | 4 | $ignoreErrors[] = [ |
|
263 | 261 | 'count' => 1, |
264 | 262 | 'path' => __DIR__ . '/src/Models/UserIdentityModel.php', |
265 | 263 | ]; |
| 264 | +$ignoreErrors[] = [ |
| 265 | + 'message' => '#^Cannot unset offset \'email\' on array\\{username\\: string, status\\: string, status_message\\: string, active\\: bool, last_active\\: string, deleted_at\\: string\\}\\.$#', |
| 266 | + 'count' => 1, |
| 267 | + 'path' => __DIR__ . '/src/Models/UserModel.php', |
| 268 | +]; |
| 269 | +$ignoreErrors[] = [ |
| 270 | + 'message' => '#^Cannot unset offset \'password_hash\' on array\\{username\\: string, status\\: string, status_message\\: string, active\\: bool, last_active\\: string, deleted_at\\: string\\}\\.$#', |
| 271 | + 'count' => 1, |
| 272 | + 'path' => __DIR__ . '/src/Models/UserModel.php', |
| 273 | +]; |
266 | 274 | $ignoreErrors[] = [ |
267 | 275 | 'message' => '#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#', |
268 | 276 | 'count' => 2, |
269 | 277 | 'path' => __DIR__ . '/src/Models/UserModel.php', |
270 | 278 | ]; |
| 279 | +$ignoreErrors[] = [ |
| 280 | + 'message' => '#^Offset \'email\' does not exist on array\\{username\\: string, status\\: string, status_message\\: string, active\\: bool, last_active\\: string, deleted_at\\: string\\}\\.$#', |
| 281 | + 'count' => 1, |
| 282 | + 'path' => __DIR__ . '/src/Models/UserModel.php', |
| 283 | +]; |
| 284 | +$ignoreErrors[] = [ |
| 285 | + 'message' => '#^Offset \'password_hash\' does not exist on array\\{username\\: string, status\\: string, status_message\\: string, active\\: bool, last_active\\: string, deleted_at\\: string\\}\\.$#', |
| 286 | + 'count' => 1, |
| 287 | + 'path' => __DIR__ . '/src/Models/UserModel.php', |
| 288 | +]; |
271 | 289 | $ignoreErrors[] = [ |
272 | 290 | '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\\(\\)$#', |
273 | 291 | 'count' => 1, |
|
343 | 361 | 'count' => 1, |
344 | 362 | 'path' => __DIR__ . '/tests/Unit/UserTest.php', |
345 | 363 | ]; |
346 | | -$ignoreErrors[] = [ |
347 | | - 'message' => '#^Cannot access property \\$active on array\\|object\\.$#', |
348 | | - 'count' => 2, |
349 | | - 'path' => __DIR__ . '/tests/Unit/UserTest.php', |
350 | | -]; |
351 | | -$ignoreErrors[] = [ |
352 | | - 'message' => '#^Cannot access property \\$password_hash on array\\|object\\.$#', |
353 | | - 'count' => 1, |
354 | | - 'path' => __DIR__ . '/tests/Unit/UserTest.php', |
355 | | -]; |
356 | 364 | $ignoreErrors[] = [ |
357 | 365 | 'message' => '#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#', |
358 | 366 | 'count' => 1, |
|
0 commit comments