You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: phpstan-baseline.neon
+28-52Lines changed: 28 additions & 52 deletions
Original file line number
Diff line number
Diff line change
@@ -1,11 +1,5 @@
1
1
parameters:
2
2
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
-
9
3
-
10
4
message:'#^Method tests\\FunctionalTester\:\:assertArrayHasKey\(\) has no return type specified\.$#'
11
5
identifier:missingType.return
@@ -1201,13 +1195,7 @@ parameters:
1201
1195
path:tests/_support/FunctionalTester.php
1202
1196
1203
1197
-
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\.$#'
1211
1199
identifier:return.type
1212
1200
count:1
1213
1201
path:tests/_support/FunctionalTester.php
@@ -1218,44 +1206,32 @@ parameters:
1218
1206
count:1
1219
1207
path:tests/_support/FunctionalTester.php
1220
1208
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
-
1227
1209
-
1228
1210
message:'#^Method tests\\FunctionalTester\:\:grabCookie\(\) has parameter \$params with no value type specified in iterable type array\.$#'
1229
1211
identifier:missingType.iterableValue
1230
1212
count:1
1231
1213
path:tests/_support/FunctionalTester.php
1232
1214
1233
1215
-
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
1242
1218
count:1
1243
1219
path:tests/_support/FunctionalTester.php
1244
1220
1245
1221
-
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
1248
1224
count:1
1249
1225
path:tests/_support/FunctionalTester.php
1250
1226
1251
1227
-
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\.$#'
1253
1229
identifier:return.type
1254
1230
count:1
1255
1231
path:tests/_support/FunctionalTester.php
1256
1232
1257
1233
-
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\.$#'
1259
1235
identifier:return.type
1260
1236
count:1
1261
1237
path:tests/_support/FunctionalTester.php
@@ -1278,44 +1254,50 @@ parameters:
1278
1254
count:1
1279
1255
path:tests/_support/FunctionalTester.php
1280
1256
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
+
1281
1263
-
1282
1264
message:'#^Method tests\\FunctionalTester\:\:grabRecord\(\) return type has no value type specified in iterable type array\.$#'
1283
1265
identifier:missingType.iterableValue
1284
1266
count:1
1285
1267
path:tests/_support/FunctionalTester.php
1286
1268
1287
1269
-
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\.$#'
1289
1271
identifier:return.type
1290
1272
count:1
1291
1273
path:tests/_support/FunctionalTester.php
1292
1274
1293
1275
-
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
1296
1278
count:1
1297
1279
path:tests/_support/FunctionalTester.php
1298
1280
1299
1281
-
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
1302
1284
count:1
1303
1285
path:tests/_support/FunctionalTester.php
1304
1286
1305
1287
-
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
1308
1290
count:1
1309
1291
path:tests/_support/FunctionalTester.php
1310
1292
1311
1293
-
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\.$#'
1313
1295
identifier:missingType.parameter
1314
1296
count:1
1315
1297
path:tests/_support/FunctionalTester.php
1316
1298
1317
1299
-
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\.$#'
1319
1301
identifier:missingType.parameter
1320
1302
count:1
1321
1303
path:tests/_support/FunctionalTester.php
@@ -1458,18 +1440,6 @@ parameters:
1458
1440
count:1
1459
1441
path:tests/_support/FunctionalTester.php
1460
1442
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
-
1473
1443
-
1474
1444
message:'#^Method tests\\FunctionalTester\:\:setServerParameters\(\) has parameter \$params with no value type specified in iterable type array\.$#'
1475
1445
identifier:missingType.iterableValue
@@ -1494,6 +1464,12 @@ parameters:
1494
1464
count:1
1495
1465
path:tests/_support/FunctionalTester.php
1496
1466
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
+
1497
1473
-
1498
1474
message:'#^Parameter \#2 \$arguments of class Codeception\\Step\\Action constructor expects array\<string\>, list\<mixed\> given\.$#'
0 commit comments