-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpstan-baseline.neon
More file actions
43 lines (37 loc) · 1.84 KB
/
phpstan-baseline.neon
File metadata and controls
43 lines (37 loc) · 1.84 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
parameters:
ignoreErrors:
-
message: '#^Class App\\Models\\User uses generic trait Illuminate\\Database\\Eloquent\\Factories\\HasFactory but does not specify its types\: TFactory$#'
identifier: missingType.generics
count: 1
path: src/Models/User.php
-
message: '#^Call to static method Webmozart\\Assert\\Assert\:\:allIsInstanceOf\(\) with array\<App\\Navigation\\NavigationItem\> and ''App\\\\Navigation\\\\NavigationItem'' will always evaluate to true\.$#'
identifier: staticMethod.alreadyNarrowedType
count: 1
path: src/Navigation/NavigationGroup.php
-
message: '#^Call to function method_exists\(\) with App\\Models\\User and ''checkPermissionTo'' will always evaluate to false\.$#'
identifier: function.impossibleType
count: 1
path: src/Navigation/NavigationManager.php
-
message: '#^Method App\\Navigation\\NavigationManager\:\:getUserNavigationGroups\(\) should return array\<App\\Navigation\\NavigationGroup\> but returns array\<mixed\>\.$#'
identifier: return.type
count: 2
path: src/Navigation/NavigationManager.php
-
message: '#^Parameter \#1 \$key of method Illuminate\\Support\\Collection\<int,mixed\>\:\:unique\(\) expects \(callable\(mixed, int\)\: mixed\)\|string\|null, Closure\(App\\Navigation\\NavigationItem\)\: string given\.$#'
identifier: argument.type
count: 1
path: src/Navigation/NavigationManager.php
-
message: '#^Parameter \#1 \$menus of method App\\Navigation\\NavigationGroup\:\:menus\(\) expects array\<App\\Navigation\\NavigationItem\>, array\<int, mixed\> given\.$#'
identifier: argument.type
count: 1
path: src/Navigation/NavigationManager.php
-
message: '#^Call to method PHPUnit\\Framework\\Assert\:\:assertTrue\(\) with true will always evaluate to true\.$#'
identifier: method.alreadyNarrowedType
count: 1
path: tests/Unit/ExampleTest.php