Skip to content

Commit fc2b2b6

Browse files
committed
regenerate phpstan baseline
1 parent 994aa11 commit fc2b2b6

6 files changed

Lines changed: 17 additions & 195 deletions

‎utils/phpstan-baseline/argument.type.neon‎

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# total 78 errors
1+
# total 76 errors
22

33
parameters:
44
ignoreErrors:
@@ -177,21 +177,11 @@ parameters:
177177
count: 1
178178
path: ../../tests/system/Log/Handlers/ChromeLoggerHandlerTest.php
179179

180-
-
181-
message: '#^Parameter \#1 \$row of method CodeIgniter\\BaseModel\:\:save\(\) expects array\<int\|string, bool\|float\|int\|object\|string\|null\>\|object, array\<string, array\<int, string\>\> given\.$#'
182-
count: 1
183-
path: ../../tests/system/Models/DataConverterModelTest.php
184-
185180
-
186181
message: '#^Parameter \#1 \$row of method CodeIgniter\\Model\:\:insert\(\) expects array\<int\|string, bool\|float\|int\|object\|string\|null\>\|object\|null, array\<string, list\<string\>\|string\> given\.$#'
187182
count: 3
188183
path: ../../tests/system/Models/DataConverterModelTest.php
189184

190-
-
191-
message: '#^Parameter \#2 \$row of method CodeIgniter\\Model\:\:update\(\) expects array\<int\|string, bool\|float\|int\|object\|string\|null\>\|object\|null, array\<string, array\<int, string\>\> given\.$#'
192-
count: 1
193-
path: ../../tests/system/Models/DataConverterModelTest.php
194-
195185
-
196186
message: '#^Parameter \#1 \$format of method CodeIgniter\\RESTful\\ResourceController\:\:setFormat\(\) expects ''json''\|''xml'', ''Nonsense'' given\.$#'
197187
count: 1

‎utils/phpstan-baseline/codeigniter.getReassignArray.neon‎

Lines changed: 0 additions & 18 deletions
This file was deleted.

‎utils/phpstan-baseline/codeigniter.superglobalAccess.neon‎

Lines changed: 0 additions & 123 deletions
This file was deleted.

‎utils/phpstan-baseline/codeigniter.superglobalAccessAssign.neon‎

Lines changed: 0 additions & 28 deletions
This file was deleted.

‎utils/phpstan-baseline/loader.neon‎

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
1-
# total 2012 errors
1+
# total 2035 errors
22

33
includes:
44
- argument.type.neon
55
- arguments.count.neon
66
- assign.propertyType.neon
7-
- codeigniter.getReassignArray.neon
87
- codeigniter.modelArgumentType.neon
9-
- codeigniter.superglobalAccess.neon
10-
- codeigniter.superglobalAccessAssign.neon
8+
- codeigniter.superglobalsGlobalAssign.neon
9+
- codeigniter.superglobalsOffsetAccess.neon
10+
- codeigniter.superglobalsOffsetAssign.neon
11+
- codeigniter.superglobalsOffsetUnset.neon
1112
- deadCode.unreachable.neon
1213
- empty.notAllowed.neon
1314
- function.resultUnused.neon

‎utils/phpstan-baseline/property.nonObject.neon‎

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -28,57 +28,57 @@ parameters:
2828
path: ../../tests/system/Database/Live/GetTest.php
2929

3030
-
31-
message: '#^Cannot access property \$id on array\.$#'
31+
message: '#^Cannot access property \$id on array\<string, mixed\>\.$#'
3232
count: 2
3333
path: ../../tests/system/Models/FindModelTest.php
3434

3535
-
36-
message: '#^Cannot access property \$created_at on array\.$#'
36+
message: '#^Cannot access property \$created_at on array\<string, mixed\>\.$#'
3737
count: 3
3838
path: ../../tests/system/Models/InsertModelTest.php
3939

4040
-
41-
message: '#^Cannot access property \$created_at on array\.$#'
41+
message: '#^Cannot access property \$created_at on array\<string, mixed\>\.$#'
4242
count: 1
4343
path: ../../tests/system/Models/MiscellaneousModelTest.php
4444

4545
-
46-
message: '#^Cannot access property \$description on array\.$#'
46+
message: '#^Cannot access property \$description on array\<string, mixed\>\.$#'
4747
count: 1
4848
path: ../../tests/system/Models/SaveModelTest.php
4949

5050
-
51-
message: '#^Cannot access property \$country on array\.$#'
51+
message: '#^Cannot access property \$country on array\<string, mixed\>\.$#'
5252
count: 2
5353
path: ../../tests/system/Models/TimestampModelTest.php
5454

5555
-
56-
message: '#^Cannot access property \$created_at on array\.$#'
56+
message: '#^Cannot access property \$created_at on array\<string, mixed\>\.$#'
5757
count: 2
5858
path: ../../tests/system/Models/TimestampModelTest.php
5959

6060
-
61-
message: '#^Cannot access property \$id on array\.$#'
61+
message: '#^Cannot access property \$id on array\<string, mixed\>\.$#'
6262
count: 2
6363
path: ../../tests/system/Models/TimestampModelTest.php
6464

6565
-
66-
message: '#^Cannot access property \$updated_at on array\.$#'
66+
message: '#^Cannot access property \$updated_at on array\<string, mixed\>\.$#'
6767
count: 2
6868
path: ../../tests/system/Models/TimestampModelTest.php
6969

7070
-
71-
message: '#^Cannot access property \$value on list\<array\>\.$#'
71+
message: '#^Cannot access property \$value on array\<int\<0, max\>\|string, mixed\>\.$#'
7272
count: 1
7373
path: ../../tests/system/Models/UpdateModelTest.php
7474

7575
-
76-
message: '#^Cannot access property \$key on array\.$#'
76+
message: '#^Cannot access property \$key on array\<string, mixed\>\.$#'
7777
count: 7
7878
path: ../../tests/system/Models/WhenWhenNotModelTest.php
7979

8080
-
81-
message: '#^Cannot access property \$value on array\.$#'
81+
message: '#^Cannot access property \$value on array\<string, mixed\>\.$#'
8282
count: 1
8383
path: ../../tests/system/Models/WhenWhenNotModelTest.php
8484

0 commit comments

Comments
 (0)