Skip to content

Commit e5f215c

Browse files
committed
refactor: regenerate baseline
1 parent 0ecfb1e commit e5f215c

File tree

4 files changed

+30
-70
lines changed

4 files changed

+30
-70
lines changed

utils/phpstan-baseline/assign.propertyType.neon

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ parameters:
88
path: ../../system/Controller.php
99

1010
-
11-
message: '#^Property class@anonymous/tests/system/API/ResponseTraitTest\.php\:639\:\:\$format \(''html''\|''json''\|''xml''\|null\) does not accept ''txt''\.$#'
11+
message: '#^Property class@anonymous/tests/system/API/ResponseTraitTest\.php\:627\:\:\$format \(''html''\|''json''\|''xml''\|null\) does not accept ''txt''\.$#'
1212
count: 1
1313
path: ../../tests/system/API/ResponseTraitTest.php
1414

utils/phpstan-baseline/missingType.iterableValue.neon

+18-18
Original file line numberDiff line numberDiff line change
@@ -6568,92 +6568,92 @@ parameters:
65686568
path: ../../tests/system/API/ResponseTraitTest.php
65696569

65706570
-
6571-
message: '#^Method class@anonymous/tests/system/API/ResponseTraitTest\.php\:177\:\:fail\(\) has parameter \$messages with no value type specified in iterable type array\.$#'
6571+
message: '#^Method class@anonymous/tests/system/API/ResponseTraitTest\.php\:173\:\:fail\(\) has parameter \$messages with no value type specified in iterable type array\.$#'
65726572
count: 1
65736573
path: ../../tests/system/API/ResponseTraitTest.php
65746574

65756575
-
6576-
message: '#^Method class@anonymous/tests/system/API/ResponseTraitTest\.php\:177\:\:format\(\) has parameter \$data with no value type specified in iterable type array\.$#'
6576+
message: '#^Method class@anonymous/tests/system/API/ResponseTraitTest\.php\:173\:\:format\(\) has parameter \$data with no value type specified in iterable type array\.$#'
65776577
count: 1
65786578
path: ../../tests/system/API/ResponseTraitTest.php
65796579

65806580
-
6581-
message: '#^Method class@anonymous/tests/system/API/ResponseTraitTest\.php\:177\:\:respond\(\) has parameter \$data with no value type specified in iterable type array\.$#'
6581+
message: '#^Method class@anonymous/tests/system/API/ResponseTraitTest\.php\:173\:\:respond\(\) has parameter \$data with no value type specified in iterable type array\.$#'
65826582
count: 1
65836583
path: ../../tests/system/API/ResponseTraitTest.php
65846584

65856585
-
6586-
message: '#^Method class@anonymous/tests/system/API/ResponseTraitTest\.php\:177\:\:respondCreated\(\) has parameter \$data with no value type specified in iterable type array\.$#'
6586+
message: '#^Method class@anonymous/tests/system/API/ResponseTraitTest\.php\:173\:\:respondCreated\(\) has parameter \$data with no value type specified in iterable type array\.$#'
65876587
count: 1
65886588
path: ../../tests/system/API/ResponseTraitTest.php
65896589

65906590
-
6591-
message: '#^Method class@anonymous/tests/system/API/ResponseTraitTest\.php\:177\:\:respondDeleted\(\) has parameter \$data with no value type specified in iterable type array\.$#'
6591+
message: '#^Method class@anonymous/tests/system/API/ResponseTraitTest\.php\:173\:\:respondDeleted\(\) has parameter \$data with no value type specified in iterable type array\.$#'
65926592
count: 1
65936593
path: ../../tests/system/API/ResponseTraitTest.php
65946594

65956595
-
6596-
message: '#^Method class@anonymous/tests/system/API/ResponseTraitTest\.php\:177\:\:respondUpdated\(\) has parameter \$data with no value type specified in iterable type array\.$#'
6596+
message: '#^Method class@anonymous/tests/system/API/ResponseTraitTest\.php\:173\:\:respondUpdated\(\) has parameter \$data with no value type specified in iterable type array\.$#'
65976597
count: 1
65986598
path: ../../tests/system/API/ResponseTraitTest.php
65996599

66006600
-
6601-
message: '#^Method class@anonymous/tests/system/API/ResponseTraitTest\.php\:299\:\:fail\(\) has parameter \$messages with no value type specified in iterable type array\.$#'
6601+
message: '#^Method class@anonymous/tests/system/API/ResponseTraitTest\.php\:291\:\:fail\(\) has parameter \$messages with no value type specified in iterable type array\.$#'
66026602
count: 1
66036603
path: ../../tests/system/API/ResponseTraitTest.php
66046604

66056605
-
6606-
message: '#^Method class@anonymous/tests/system/API/ResponseTraitTest\.php\:299\:\:format\(\) has parameter \$data with no value type specified in iterable type array\.$#'
6606+
message: '#^Method class@anonymous/tests/system/API/ResponseTraitTest\.php\:291\:\:format\(\) has parameter \$data with no value type specified in iterable type array\.$#'
66076607
count: 1
66086608
path: ../../tests/system/API/ResponseTraitTest.php
66096609

66106610
-
6611-
message: '#^Method class@anonymous/tests/system/API/ResponseTraitTest\.php\:299\:\:respond\(\) has parameter \$data with no value type specified in iterable type array\.$#'
6611+
message: '#^Method class@anonymous/tests/system/API/ResponseTraitTest\.php\:291\:\:respond\(\) has parameter \$data with no value type specified in iterable type array\.$#'
66126612
count: 1
66136613
path: ../../tests/system/API/ResponseTraitTest.php
66146614

66156615
-
6616-
message: '#^Method class@anonymous/tests/system/API/ResponseTraitTest\.php\:299\:\:respondCreated\(\) has parameter \$data with no value type specified in iterable type array\.$#'
6616+
message: '#^Method class@anonymous/tests/system/API/ResponseTraitTest\.php\:291\:\:respondCreated\(\) has parameter \$data with no value type specified in iterable type array\.$#'
66176617
count: 1
66186618
path: ../../tests/system/API/ResponseTraitTest.php
66196619

66206620
-
6621-
message: '#^Method class@anonymous/tests/system/API/ResponseTraitTest\.php\:299\:\:respondDeleted\(\) has parameter \$data with no value type specified in iterable type array\.$#'
6621+
message: '#^Method class@anonymous/tests/system/API/ResponseTraitTest\.php\:291\:\:respondDeleted\(\) has parameter \$data with no value type specified in iterable type array\.$#'
66226622
count: 1
66236623
path: ../../tests/system/API/ResponseTraitTest.php
66246624

66256625
-
6626-
message: '#^Method class@anonymous/tests/system/API/ResponseTraitTest\.php\:299\:\:respondUpdated\(\) has parameter \$data with no value type specified in iterable type array\.$#'
6626+
message: '#^Method class@anonymous/tests/system/API/ResponseTraitTest\.php\:291\:\:respondUpdated\(\) has parameter \$data with no value type specified in iterable type array\.$#'
66276627
count: 1
66286628
path: ../../tests/system/API/ResponseTraitTest.php
66296629

66306630
-
6631-
message: '#^Method class@anonymous/tests/system/API/ResponseTraitTest\.php\:639\:\:fail\(\) has parameter \$messages with no value type specified in iterable type array\.$#'
6631+
message: '#^Method class@anonymous/tests/system/API/ResponseTraitTest\.php\:627\:\:fail\(\) has parameter \$messages with no value type specified in iterable type array\.$#'
66326632
count: 1
66336633
path: ../../tests/system/API/ResponseTraitTest.php
66346634

66356635
-
6636-
message: '#^Method class@anonymous/tests/system/API/ResponseTraitTest\.php\:639\:\:format\(\) has parameter \$data with no value type specified in iterable type array\.$#'
6636+
message: '#^Method class@anonymous/tests/system/API/ResponseTraitTest\.php\:627\:\:format\(\) has parameter \$data with no value type specified in iterable type array\.$#'
66376637
count: 1
66386638
path: ../../tests/system/API/ResponseTraitTest.php
66396639

66406640
-
6641-
message: '#^Method class@anonymous/tests/system/API/ResponseTraitTest\.php\:639\:\:respond\(\) has parameter \$data with no value type specified in iterable type array\.$#'
6641+
message: '#^Method class@anonymous/tests/system/API/ResponseTraitTest\.php\:627\:\:respond\(\) has parameter \$data with no value type specified in iterable type array\.$#'
66426642
count: 1
66436643
path: ../../tests/system/API/ResponseTraitTest.php
66446644

66456645
-
6646-
message: '#^Method class@anonymous/tests/system/API/ResponseTraitTest\.php\:639\:\:respondCreated\(\) has parameter \$data with no value type specified in iterable type array\.$#'
6646+
message: '#^Method class@anonymous/tests/system/API/ResponseTraitTest\.php\:627\:\:respondCreated\(\) has parameter \$data with no value type specified in iterable type array\.$#'
66476647
count: 1
66486648
path: ../../tests/system/API/ResponseTraitTest.php
66496649

66506650
-
6651-
message: '#^Method class@anonymous/tests/system/API/ResponseTraitTest\.php\:639\:\:respondDeleted\(\) has parameter \$data with no value type specified in iterable type array\.$#'
6651+
message: '#^Method class@anonymous/tests/system/API/ResponseTraitTest\.php\:627\:\:respondDeleted\(\) has parameter \$data with no value type specified in iterable type array\.$#'
66526652
count: 1
66536653
path: ../../tests/system/API/ResponseTraitTest.php
66546654

66556655
-
6656-
message: '#^Method class@anonymous/tests/system/API/ResponseTraitTest\.php\:639\:\:respondUpdated\(\) has parameter \$data with no value type specified in iterable type array\.$#'
6656+
message: '#^Method class@anonymous/tests/system/API/ResponseTraitTest\.php\:627\:\:respondUpdated\(\) has parameter \$data with no value type specified in iterable type array\.$#'
66576657
count: 1
66586658
path: ../../tests/system/API/ResponseTraitTest.php
66596659

utils/phpstan-baseline/missingType.parameter.neon

+8-8
Original file line numberDiff line numberDiff line change
@@ -128,42 +128,42 @@ parameters:
128128
path: ../../tests/system/API/ResponseTraitTest.php
129129

130130
-
131-
message: '#^Method class@anonymous/tests/system/API/ResponseTraitTest\.php\:177\:\:__construct\(\) has parameter \$formatter with no type specified\.$#'
131+
message: '#^Method class@anonymous/tests/system/API/ResponseTraitTest\.php\:173\:\:__construct\(\) has parameter \$formatter with no type specified\.$#'
132132
count: 1
133133
path: ../../tests/system/API/ResponseTraitTest.php
134134

135135
-
136-
message: '#^Method class@anonymous/tests/system/API/ResponseTraitTest\.php\:177\:\:__construct\(\) has parameter \$request with no type specified\.$#'
136+
message: '#^Method class@anonymous/tests/system/API/ResponseTraitTest\.php\:173\:\:__construct\(\) has parameter \$request with no type specified\.$#'
137137
count: 1
138138
path: ../../tests/system/API/ResponseTraitTest.php
139139

140140
-
141-
message: '#^Method class@anonymous/tests/system/API/ResponseTraitTest\.php\:177\:\:__construct\(\) has parameter \$response with no type specified\.$#'
141+
message: '#^Method class@anonymous/tests/system/API/ResponseTraitTest\.php\:173\:\:__construct\(\) has parameter \$response with no type specified\.$#'
142142
count: 1
143143
path: ../../tests/system/API/ResponseTraitTest.php
144144

145145
-
146-
message: '#^Method class@anonymous/tests/system/API/ResponseTraitTest\.php\:299\:\:__construct\(\) has parameter \$formatter with no type specified\.$#'
146+
message: '#^Method class@anonymous/tests/system/API/ResponseTraitTest\.php\:291\:\:__construct\(\) has parameter \$formatter with no type specified\.$#'
147147
count: 1
148148
path: ../../tests/system/API/ResponseTraitTest.php
149149

150150
-
151-
message: '#^Method class@anonymous/tests/system/API/ResponseTraitTest\.php\:299\:\:__construct\(\) has parameter \$request with no type specified\.$#'
151+
message: '#^Method class@anonymous/tests/system/API/ResponseTraitTest\.php\:291\:\:__construct\(\) has parameter \$request with no type specified\.$#'
152152
count: 1
153153
path: ../../tests/system/API/ResponseTraitTest.php
154154

155155
-
156-
message: '#^Method class@anonymous/tests/system/API/ResponseTraitTest\.php\:299\:\:__construct\(\) has parameter \$response with no type specified\.$#'
156+
message: '#^Method class@anonymous/tests/system/API/ResponseTraitTest\.php\:291\:\:__construct\(\) has parameter \$response with no type specified\.$#'
157157
count: 1
158158
path: ../../tests/system/API/ResponseTraitTest.php
159159

160160
-
161-
message: '#^Method class@anonymous/tests/system/API/ResponseTraitTest\.php\:639\:\:__construct\(\) has parameter \$request with no type specified\.$#'
161+
message: '#^Method class@anonymous/tests/system/API/ResponseTraitTest\.php\:627\:\:__construct\(\) has parameter \$request with no type specified\.$#'
162162
count: 1
163163
path: ../../tests/system/API/ResponseTraitTest.php
164164

165165
-
166-
message: '#^Method class@anonymous/tests/system/API/ResponseTraitTest\.php\:639\:\:__construct\(\) has parameter \$response with no type specified\.$#'
166+
message: '#^Method class@anonymous/tests/system/API/ResponseTraitTest\.php\:627\:\:__construct\(\) has parameter \$response with no type specified\.$#'
167167
count: 1
168168
path: ../../tests/system/API/ResponseTraitTest.php
169169

utils/phpstan-baseline/missingType.property.neon

+3-43
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# total 135 errors
1+
# total 127 errors
22

33
parameters:
44
ignoreErrors:
@@ -148,55 +148,15 @@ parameters:
148148
path: ../../tests/system/API/ResponseTraitTest.php
149149

150150
-
151-
message: '#^Property class@anonymous/tests/system/API/ResponseTraitTest\.php\:116\:\:\$request has no type specified\.$#'
152-
count: 1
153-
path: ../../tests/system/API/ResponseTraitTest.php
154-
155-
-
156-
message: '#^Property class@anonymous/tests/system/API/ResponseTraitTest\.php\:116\:\:\$response has no type specified\.$#'
157-
count: 1
158-
path: ../../tests/system/API/ResponseTraitTest.php
159-
160-
-
161-
message: '#^Property class@anonymous/tests/system/API/ResponseTraitTest\.php\:177\:\:\$formatter has no type specified\.$#'
151+
message: '#^Property class@anonymous/tests/system/API/ResponseTraitTest\.php\:173\:\:\$formatter has no type specified\.$#'
162152
count: 2
163153
path: ../../tests/system/API/ResponseTraitTest.php
164154

165155
-
166-
message: '#^Property class@anonymous/tests/system/API/ResponseTraitTest\.php\:177\:\:\$request has no type specified\.$#'
167-
count: 1
168-
path: ../../tests/system/API/ResponseTraitTest.php
169-
170-
-
171-
message: '#^Property class@anonymous/tests/system/API/ResponseTraitTest\.php\:177\:\:\$response has no type specified\.$#'
172-
count: 1
173-
path: ../../tests/system/API/ResponseTraitTest.php
174-
175-
-
176-
message: '#^Property class@anonymous/tests/system/API/ResponseTraitTest\.php\:299\:\:\$formatter has no type specified\.$#'
156+
message: '#^Property class@anonymous/tests/system/API/ResponseTraitTest\.php\:291\:\:\$formatter has no type specified\.$#'
177157
count: 2
178158
path: ../../tests/system/API/ResponseTraitTest.php
179159

180-
-
181-
message: '#^Property class@anonymous/tests/system/API/ResponseTraitTest\.php\:299\:\:\$request has no type specified\.$#'
182-
count: 1
183-
path: ../../tests/system/API/ResponseTraitTest.php
184-
185-
-
186-
message: '#^Property class@anonymous/tests/system/API/ResponseTraitTest\.php\:299\:\:\$response has no type specified\.$#'
187-
count: 1
188-
path: ../../tests/system/API/ResponseTraitTest.php
189-
190-
-
191-
message: '#^Property class@anonymous/tests/system/API/ResponseTraitTest\.php\:639\:\:\$request has no type specified\.$#'
192-
count: 1
193-
path: ../../tests/system/API/ResponseTraitTest.php
194-
195-
-
196-
message: '#^Property class@anonymous/tests/system/API/ResponseTraitTest\.php\:639\:\:\$response has no type specified\.$#'
197-
count: 1
198-
path: ../../tests/system/API/ResponseTraitTest.php
199-
200160
-
201161
message: '#^Property CodeIgniter\\Config\\Factory@anonymous/tests/system/Config/FactoriesTest\.php\:89\:\:\$widgets has no type specified\.$#'
202162
count: 1

0 commit comments

Comments
 (0)