Skip to content

Commit f9131bd

Browse files
committed
fix: recreate baseline
1 parent 9cff2c0 commit f9131bd

File tree

1 file changed

+28
-52
lines changed

1 file changed

+28
-52
lines changed

phpstan-baseline.neon

Lines changed: 28 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,5 @@
11
parameters:
22
ignoreErrors:
3-
-
4-
message: '#^Method tests\\FunctionalTester\:\:amOnRoute\(\) has parameter \$params with no value type specified in iterable type array\.$#'
5-
identifier: missingType.iterableValue
6-
count: 1
7-
path: tests/_support/FunctionalTester.php
8-
93
-
104
message: '#^Method tests\\FunctionalTester\:\:assertArrayHasKey\(\) has no return type specified\.$#'
115
identifier: missingType.return
@@ -1201,13 +1195,7 @@ parameters:
12011195
path: tests/_support/FunctionalTester.php
12021196

12031197
-
1204-
message: '#^Method tests\\FunctionalTester\:\:getInternalDomains\(\) return type has no value type specified in iterable type array\.$#'
1205-
identifier: missingType.iterableValue
1206-
count: 1
1207-
path: tests/_support/FunctionalTester.php
1208-
1209-
-
1210-
message: '#^Method tests\\FunctionalTester\:\:getInternalDomains\(\) should return array but returns mixed\.$#'
1198+
message: '#^Method tests\\FunctionalTester\:\:getInternalDomains\(\) should return non\-empty\-list\<string\> but returns mixed\.$#'
12111199
identifier: return.type
12121200
count: 1
12131201
path: tests/_support/FunctionalTester.php
@@ -1218,44 +1206,32 @@ parameters:
12181206
count: 1
12191207
path: tests/_support/FunctionalTester.php
12201208

1221-
-
1222-
message: '#^Method tests\\FunctionalTester\:\:grabComponent\(\) should return object\|null but returns mixed\.$#'
1223-
identifier: return.type
1224-
count: 1
1225-
path: tests/_support/FunctionalTester.php
1226-
12271209
-
12281210
message: '#^Method tests\\FunctionalTester\:\:grabCookie\(\) has parameter \$params with no value type specified in iterable type array\.$#'
12291211
identifier: missingType.iterableValue
12301212
count: 1
12311213
path: tests/_support/FunctionalTester.php
12321214

12331215
-
1234-
message: '#^Method tests\\FunctionalTester\:\:grabFixture\(\) has parameter \$index with no type specified\.$#'
1235-
identifier: missingType.parameter
1236-
count: 1
1237-
path: tests/_support/FunctionalTester.php
1238-
1239-
-
1240-
message: '#^Method tests\\FunctionalTester\:\:grabFixture\(\) has parameter \$name with no type specified\.$#'
1241-
identifier: missingType.parameter
1216+
message: '#^Method tests\\FunctionalTester\:\:grabFixture\(\) should return yii\\db\\ActiveRecord\|yii\\test\\Fixture\|null but returns mixed\.$#'
1217+
identifier: return.type
12421218
count: 1
12431219
path: tests/_support/FunctionalTester.php
12441220

12451221
-
1246-
message: '#^Method tests\\FunctionalTester\:\:grabFixtures\(\) return type has no value type specified in iterable type array\.$#'
1247-
identifier: missingType.iterableValue
1222+
message: '#^Method tests\\FunctionalTester\:\:grabFixtures\(\) has invalid return type tests\\_generated\\Fixture\.$#'
1223+
identifier: class.notFound
12481224
count: 1
12491225
path: tests/_support/FunctionalTester.php
12501226

12511227
-
1252-
message: '#^Method tests\\FunctionalTester\:\:grabFixtures\(\) should return array but returns mixed\.$#'
1228+
message: '#^Method tests\\FunctionalTester\:\:grabFixtures\(\) should return array\<string, tests\\_generated\\Fixture\> but returns mixed\.$#'
12531229
identifier: return.type
12541230
count: 1
12551231
path: tests/_support/FunctionalTester.php
12561232

12571233
-
1258-
message: '#^Method tests\\FunctionalTester\:\:grabLastSentEmail\(\) should return object but returns mixed\.$#'
1234+
message: '#^Method tests\\FunctionalTester\:\:grabLastSentEmail\(\) should return yii\\mail\\BaseMessage\|null but returns mixed\.$#'
12591235
identifier: return.type
12601236
count: 1
12611237
path: tests/_support/FunctionalTester.php
@@ -1278,44 +1254,50 @@ parameters:
12781254
count: 1
12791255
path: tests/_support/FunctionalTester.php
12801256

1257+
-
1258+
message: '#^Method tests\\FunctionalTester\:\:grabRecord\(\) has invalid return type tests\\_generated\\ActiveRecordInterface\.$#'
1259+
identifier: class.notFound
1260+
count: 1
1261+
path: tests/_support/FunctionalTester.php
1262+
12811263
-
12821264
message: '#^Method tests\\FunctionalTester\:\:grabRecord\(\) return type has no value type specified in iterable type array\.$#'
12831265
identifier: missingType.iterableValue
12841266
count: 1
12851267
path: tests/_support/FunctionalTester.php
12861268

12871269
-
1288-
message: '#^Method tests\\FunctionalTester\:\:grabRecord\(\) should return array\|yii\\db\\ActiveRecord\|null but returns mixed\.$#'
1270+
message: '#^Method tests\\FunctionalTester\:\:grabRecord\(\) should return array\|yii\\db\\ActiveRecordInterface\|null but returns mixed\.$#'
12891271
identifier: return.type
12901272
count: 1
12911273
path: tests/_support/FunctionalTester.php
12921274

12931275
-
1294-
message: '#^Method tests\\FunctionalTester\:\:grabSentEmails\(\) return type has no value type specified in iterable type array\.$#'
1295-
identifier: missingType.iterableValue
1276+
message: '#^Method tests\\FunctionalTester\:\:grabSentEmails\(\) has invalid return type tests\\_generated\\BaseMessage\.$#'
1277+
identifier: class.notFound
12961278
count: 1
12971279
path: tests/_support/FunctionalTester.php
12981280

12991281
-
1300-
message: '#^Method tests\\FunctionalTester\:\:grabSentEmails\(\) should return array but returns mixed\.$#'
1301-
identifier: return.type
1282+
message: '#^Method tests\\FunctionalTester\:\:grabSentEmails\(\) has invalid return type tests\\_generated\\MessageInterface\.$#'
1283+
identifier: class.notFound
13021284
count: 1
13031285
path: tests/_support/FunctionalTester.php
13041286

13051287
-
1306-
message: '#^Method tests\\FunctionalTester\:\:grabTextFrom\(\) has parameter \$cssOrXPathOrRegex with no type specified\.$#'
1307-
identifier: missingType.parameter
1288+
message: '#^Method tests\\FunctionalTester\:\:grabSentEmails\(\) should return list\<tests\\_generated\\BaseMessage&tests\\_generated\\MessageInterface\> but returns mixed\.$#'
1289+
identifier: return.type
13081290
count: 1
13091291
path: tests/_support/FunctionalTester.php
13101292

13111293
-
1312-
message: '#^Method tests\\FunctionalTester\:\:grabValueFrom\(\) has parameter \$field with no type specified\.$#'
1294+
message: '#^Method tests\\FunctionalTester\:\:grabTextFrom\(\) has parameter \$cssOrXPathOrRegex with no type specified\.$#'
13131295
identifier: missingType.parameter
13141296
count: 1
13151297
path: tests/_support/FunctionalTester.php
13161298

13171299
-
1318-
message: '#^Method tests\\FunctionalTester\:\:haveFixtures\(\) has parameter \$fixtures with no type specified\.$#'
1300+
message: '#^Method tests\\FunctionalTester\:\:grabValueFrom\(\) has parameter \$field with no type specified\.$#'
13191301
identifier: missingType.parameter
13201302
count: 1
13211303
path: tests/_support/FunctionalTester.php
@@ -1458,18 +1440,6 @@ parameters:
14581440
count: 1
14591441
path: tests/_support/FunctionalTester.php
14601442

1461-
-
1462-
message: '#^Method tests\\FunctionalTester\:\:setCookie\(\) has no return type specified\.$#'
1463-
identifier: missingType.return
1464-
count: 1
1465-
path: tests/_support/FunctionalTester.php
1466-
1467-
-
1468-
message: '#^Method tests\\FunctionalTester\:\:setCookie\(\) has parameter \$params with no value type specified in iterable type array\.$#'
1469-
identifier: missingType.iterableValue
1470-
count: 1
1471-
path: tests/_support/FunctionalTester.php
1472-
14731443
-
14741444
message: '#^Method tests\\FunctionalTester\:\:setServerParameters\(\) has parameter \$params with no value type specified in iterable type array\.$#'
14751445
identifier: missingType.iterableValue
@@ -1494,6 +1464,12 @@ parameters:
14941464
count: 1
14951465
path: tests/_support/FunctionalTester.php
14961466

1467+
-
1468+
message: '#^PHPDoc tag @return with type array\<string, mixed\>\|tests\\_generated\\ActiveRecordInterface\|null is not subtype of native type array\|yii\\db\\ActiveRecordInterface\|null\.$#'
1469+
identifier: return.phpDocType
1470+
count: 1
1471+
path: tests/_support/FunctionalTester.php
1472+
14971473
-
14981474
message: '#^Parameter \#2 \$arguments of class Codeception\\Step\\Action constructor expects array\<string\>, list\<mixed\> given\.$#'
14991475
identifier: argument.type

0 commit comments

Comments
 (0)