Skip to content

Commit 65019b2

Browse files
committed
Update baseline
1 parent 1c44510 commit 65019b2

File tree

1 file changed

+2
-36
lines changed

1 file changed

+2
-36
lines changed

phpstan-baseline.neon

Lines changed: 2 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,6 @@ parameters:
1515
count: 1
1616
path: src/Analyser/Ignore/IgnoredErrorHelperResult.php
1717

18-
-
19-
message: """
20-
#^Call to deprecated method getAnyArrays\\(\\) of class PHPStan\\\\Type\\\\TypeUtils\\:
21-
Use PHPStan\\\\Type\\\\Type\\:\\:getArrays\\(\\) instead\\.$#
22-
"""
23-
count: 2
24-
path: src/Analyser/MutatingScope.php
25-
2618
-
2719
message: """
2820
#^Call to deprecated method getTypeFromValue\\(\\) of class PHPStan\\\\Type\\\\ConstantTypeHelper\\:
@@ -1278,22 +1270,6 @@ parameters:
12781270
count: 1
12791271
path: src/Type/Php/ImplodeFunctionReturnTypeExtension.php
12801272

1281-
-
1282-
message: """
1283-
#^Call to deprecated method getConstantScalars\\(\\) of class PHPStan\\\\Type\\\\TypeUtils\\:
1284-
Use Type\\:\\:isConstantScalarValue\\(\\) or Type\\:\\:getConstantScalarTypes\\(\\) or Type\\:\\:getConstantScalarValues\\(\\)$#
1285-
"""
1286-
count: 2
1287-
path: src/Type/Php/InArrayFunctionTypeSpecifyingExtension.php
1288-
1289-
-
1290-
message: """
1291-
#^Call to deprecated method getEnumCaseObjects\\(\\) of class PHPStan\\\\Type\\\\TypeUtils\\:
1292-
Use Type\\:\\:getEnumCases\\(\\)$#
1293-
"""
1294-
count: 2
1295-
path: src/Type/Php/InArrayFunctionTypeSpecifyingExtension.php
1296-
12971273
-
12981274
message: "#^Doing instanceof PHPStan\\\\Type\\\\Constant\\\\ConstantStringType is error\\-prone and deprecated\\. Use Type\\:\\:getConstantStrings\\(\\) instead\\.$#"
12991275
count: 1
@@ -1522,24 +1498,14 @@ parameters:
15221498
count: 1
15231499
path: src/Type/TypeCombinator.php
15241500

1525-
-
1526-
message: "#^Doing instanceof PHPStan\\\\Type\\\\ArrayType is error\\-prone and deprecated\\. Use Type\\:\\:isArray\\(\\) or Type\\:\\:getArrays\\(\\) instead\\.$#"
1527-
count: 3
1528-
path: src/Type/TypeUtils.php
1529-
15301501
-
15311502
message: "#^Doing instanceof PHPStan\\\\Type\\\\Constant\\\\ConstantArrayType is error\\-prone and deprecated\\. Use Type\\:\\:getConstantArrays\\(\\) instead\\.$#"
1532-
count: 5
1503+
count: 2
15331504
path: src/Type/TypeUtils.php
15341505

15351506
-
15361507
message: "#^Doing instanceof PHPStan\\\\Type\\\\IntersectionType is error\\-prone and deprecated\\.$#"
1537-
count: 5
1538-
path: src/Type/TypeUtils.php
1539-
1540-
-
1541-
message: "#^Doing instanceof PHPStan\\\\Type\\\\TypeWithClassName is error\\-prone and deprecated\\. Use Type\\:\\:getObjectClassNames\\(\\) or Type\\:\\:getObjectClassReflections\\(\\) instead\\.$#"
1542-
count: 1
1508+
count: 3
15431509
path: src/Type/TypeUtils.php
15441510

15451511
-

0 commit comments

Comments
 (0)