Skip to content

Commit 2e7c54b

Browse files
committed
chore: vendor/bin/phpstan analyze --generate-baseline phpstan-baseline.php
1 parent 0fe1251 commit 2e7c54b

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

phpstan-baseline.php

+13-1
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,12 @@
159159
'count' => 1,
160160
'path' => __DIR__ . '/src/Collectors/Auth.php',
161161
];
162+
$ignoreErrors[] = [
163+
// identifier: codeigniter.factoriesClassConstFetch
164+
'message' => '#^Call to function model with CodeIgniter\\\\Shield\\\\Models\\\\GroupModel\\:\\:class is discouraged\\.$#',
165+
'count' => 1,
166+
'path' => __DIR__ . '/src/Commands/User.php',
167+
];
162168
$ignoreErrors[] = [
163169
// identifier: codeigniter.factoriesClassConstFetch
164170
'message' => '#^Call to function model with CodeIgniter\\\\Shield\\\\Models\\\\UserModel\\:\\:class is discouraged\\.$#',
@@ -259,7 +265,7 @@
259265
$ignoreErrors[] = [
260266
// identifier: codeigniter.factoriesClassConstFetch
261267
'message' => '#^Call to function model with CodeIgniter\\\\Shield\\\\Models\\\\GroupModel\\:\\:class is discouraged\\.$#',
262-
'count' => 2,
268+
'count' => 4,
263269
'path' => __DIR__ . '/src/Entities/User.php',
264270
];
265271
$ignoreErrors[] = [
@@ -330,6 +336,12 @@
330336
'count' => 1,
331337
'path' => __DIR__ . '/src/Models/UserIdentityModel.php',
332338
];
339+
$ignoreErrors[] = [
340+
// identifier: codeigniter.factoriesClassConstFetch
341+
'message' => '#^Call to function model with CodeIgniter\\\\Shield\\\\Models\\\\GroupModel\\:\\:class is discouraged\\.$#',
342+
'count' => 1,
343+
'path' => __DIR__ . '/src/Models/UserModel.php',
344+
];
333345
$ignoreErrors[] = [
334346
// identifier: codeigniter.factoriesClassConstFetch
335347
'message' => '#^Call to function model with CodeIgniter\\\\Shield\\\\Models\\\\UserIdentityModel\\:\\:class is discouraged\\.$#',

0 commit comments

Comments
 (0)