Skip to content

Commit 804e449

Browse files
committed
Regenerate baseline
1 parent 692d0a9 commit 804e449

1 file changed

Lines changed: 21 additions & 13 deletions

File tree

phpstan-baseline.php

Lines changed: 21 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
<?php
2-
3-
declare(strict_types=1);
1+
<?php declare(strict_types = 1);
42

53
$ignoreErrors = [];
64
$ignoreErrors[] = [
@@ -263,11 +261,31 @@
263261
'count' => 1,
264262
'path' => __DIR__ . '/src/Models/UserIdentityModel.php',
265263
];
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+
];
266274
$ignoreErrors[] = [
267275
'message' => '#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#',
268276
'count' => 2,
269277
'path' => __DIR__ . '/src/Models/UserModel.php',
270278
];
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+
];
271289
$ignoreErrors[] = [
272290
'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\\(\\)$#',
273291
'count' => 1,
@@ -343,16 +361,6 @@
343361
'count' => 1,
344362
'path' => __DIR__ . '/tests/Unit/UserTest.php',
345363
];
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-
];
356364
$ignoreErrors[] = [
357365
'message' => '#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#',
358366
'count' => 1,

0 commit comments

Comments
 (0)