Skip to content

Commit e34bfe8

Browse files
committed
chore: remove ignoreErrors
1 parent 2b4078b commit e34bfe8

File tree

1 file changed

+0
-20
lines changed

1 file changed

+0
-20
lines changed

phpstan-baseline.php

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -311,31 +311,11 @@
311311
'count' => 1,
312312
'path' => __DIR__ . '/src/Models/UserIdentityModel.php',
313313
];
314-
$ignoreErrors[] = [
315-
'message' => '#^Cannot unset offset \'email\' on array\\{username\\: string, status\\: string, status_message\\: string, active\\: bool, last_active\\: string, deleted_at\\: string\\}\\.$#',
316-
'count' => 1,
317-
'path' => __DIR__ . '/src/Models/UserModel.php',
318-
];
319-
$ignoreErrors[] = [
320-
'message' => '#^Cannot unset offset \'password_hash\' on array\\{username\\: string, status\\: string, status_message\\: string, active\\: bool, last_active\\: string, deleted_at\\: string\\}\\.$#',
321-
'count' => 1,
322-
'path' => __DIR__ . '/src/Models/UserModel.php',
323-
];
324314
$ignoreErrors[] = [
325315
'message' => '#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#',
326316
'count' => 2,
327317
'path' => __DIR__ . '/src/Models/UserModel.php',
328318
];
329-
$ignoreErrors[] = [
330-
'message' => '#^Offset \'email\' does not exist on array\\{username\\: string, status\\: string, status_message\\: string, active\\: bool, last_active\\: string, deleted_at\\: string\\}\\.$#',
331-
'count' => 1,
332-
'path' => __DIR__ . '/src/Models/UserModel.php',
333-
];
334-
$ignoreErrors[] = [
335-
'message' => '#^Offset \'password_hash\' does not exist on array\\{username\\: string, status\\: string, status_message\\: string, active\\: bool, last_active\\: string, deleted_at\\: string\\}\\.$#',
336-
'count' => 1,
337-
'path' => __DIR__ . '/src/Models/UserModel.php',
338-
];
339319
$ignoreErrors[] = [
340320
'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\\(\\)$#',
341321
'count' => 1,

0 commit comments

Comments
 (0)