-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpstan-baseline-after-upgrade.neon
133 lines (112 loc) · 4.78 KB
/
phpstan-baseline-after-upgrade.neon
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
parameters:
ignoreErrors:
-
message: '#^Parameter \#1 \$value of static method Illuminate\\Support\\Facades\\Hash\:\:make\(\) expects string, mixed given\.$#'
identifier: argument.type
count: 1
path: app/Http/Controllers/Auth/RegisterController.php
-
message: '#^Binary operation "\." between mixed and ''«'' results in an error\.$#'
identifier: binaryOp.invalid
count: 1
path: app/Http/Controllers/GuestBookSearchController.php
-
message: '#^Binary operation "\." between mixed and '' '' results in an error\.$#'
identifier: binaryOp.invalid
count: 1
path: app/Http/Controllers/GuestbookPostsController.php
-
message: '#^Binary operation "\." between non\-falsy\-string and mixed results in an error\.$#'
identifier: binaryOp.invalid
count: 1
path: app/Http/Controllers/GuestbookPostsController.php
-
message: '#^Binary operation "\.\=" between non\-falsy\-string and mixed results in an error\.$#'
identifier: assignOp.invalid
count: 1
path: app/Http/Controllers/GuestbookPostsController.php
-
message: '#^Cannot call method add\(\) on mixed\.$#'
identifier: method.nonObject
count: 1
path: app/Http/Controllers/GuestbookPostsController.php
-
message: '#^Cannot call method errors\(\) on mixed\.$#'
identifier: method.nonObject
count: 1
path: app/Http/Controllers/GuestbookPostsController.php
-
message: '#^Parameter \#1 \$attributes of method Illuminate\\Database\\Eloquent\\Model\:\:update\(\) expects array\<string, mixed\>, array given\.$#'
identifier: argument.type
count: 1
path: app/Http/Controllers/GuestbookPostsController.php
-
message: '#^Parameter \#1 \$attributes of static method Illuminate\\Database\\Eloquent\\Builder\<App\\Models\\GuestbookPost\>\:\:create\(\) expects array\<string, mixed\>, array given\.$#'
identifier: argument.type
count: 2
path: app/Http/Controllers/GuestbookPostsController.php
-
message: '#^Parameter \#1 \.\.\.\$arg1 of function max expects non\-empty\-array, array\<mixed\> given\.$#'
identifier: argument.type
count: 1
path: app/Http/Controllers/NewCartoonController.php
-
message: '#^Parameter \#1 \.\.\.\$arg1 of function min expects non\-empty\-array, array\<mixed\> given\.$#'
identifier: argument.type
count: 1
path: app/Http/Controllers/NewCartoonController.php
-
message: '#^Method App\\Models\\Cartoon\:\:publicationDate\(\) should return Illuminate\\Database\\Eloquent\\Relations\\HasMany\<App\\Models\\PublicationDate, \$this\(App\\Models\\Cartoon\)\> but returns Illuminate\\Database\\Eloquent\\Relations\\HasMany\<App\\Models\\PublicationDate, Illuminate\\Database\\Eloquent\\Relations\\HasMany\<App\\Models\\PublicationDate, \$this\(App\\Models\\Cartoon\)\>\>\.$#'
identifier: return.type
count: 1
path: app/Models/Cartoon.php
-
message: '#^PHPDoc type array\<int, string\> of property App\\Models\\User\:\:\$fillable is not covariant with PHPDoc type list\<string\> of overridden property Illuminate\\Database\\Eloquent\\Model\:\:\$fillable\.$#'
identifier: property.phpDocType
count: 1
path: app/Models/User.php
-
message: '#^PHPDoc type array\<int, string\> of property App\\Models\\User\:\:\$hidden is not covariant with PHPDoc type list\<string\> of overridden property Illuminate\\Database\\Eloquent\\Model\:\:\$hidden\.$#'
identifier: property.phpDocType
count: 1
path: app/Models/User.php
-
message: '#^Argument of an invalid type list\<string\>\|false supplied for foreach, only iterables are supported\.$#'
identifier: foreach.nonIterable
count: 3
path: app/Services/Spamfilter.php
-
message: '#^Binary operation "\+" between mixed and 1 results in an error\.$#'
identifier: binaryOp.invalid
count: 2
path: app/Services/Spamfilter.php
-
message: '#^Binary operation "\+" between mixed and mixed results in an error\.$#'
identifier: binaryOp.invalid
count: 1
path: app/Services/Spamfilter.php
-
message: '#^Binary operation "\-" between mixed and 1 results in an error\.$#'
identifier: binaryOp.invalid
count: 2
path: app/Services/Spamfilter.php
-
message: '#^Binary operation "/" between mixed and mixed results in an error\.$#'
identifier: binaryOp.invalid
count: 2
path: app/Services/Spamfilter.php
-
message: '#^Call to an undefined method PHPUnit\\Framework\\TestCase\:\:component\(\)\.$#'
identifier: method.notFound
count: 4
path: tests/Feature/View/Components/DateTimeTest.php
-
message: '#^Cannot call method assertDontSee\(\) on mixed\.$#'
identifier: method.nonObject
count: 3
path: tests/Feature/View/Components/DateTimeTest.php
-
message: '#^Cannot call method assertSee\(\) on mixed\.$#'
identifier: method.nonObject
count: 4
path: tests/Feature/View/Components/DateTimeTest.php