Skip to content

Commit f51a00c

Browse files
committed
Fix build
1 parent 3a83f6b commit f51a00c

File tree

1 file changed

+0
-32
lines changed

1 file changed

+0
-32
lines changed

Diff for: phpstan-baseline.neon

-32
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,6 @@ parameters:
2828
count: 2
2929
path: src/Analyser/MutatingScope.php
3030

31-
-
32-
message: """
33-
#^Call to deprecated method getTypeFromValue\\(\\) of class PHPStan\\\\Type\\\\ConstantTypeHelper\\:
34-
Use PHPStan\\\\Reflection\\\\InitializerExprTypeResolver$#
35-
"""
36-
count: 1
37-
path: src/Analyser/MutatingScope.php
38-
3931
-
4032
message: "#^Casting to string something that's already string\\.$#"
4133
count: 3
@@ -257,14 +249,6 @@ parameters:
257249
count: 1
258250
path: src/Reflection/BetterReflection/BetterReflectionProvider.php
259251

260-
-
261-
message: """
262-
#^Call to deprecated method getTypeFromValue\\(\\) of class PHPStan\\\\Type\\\\ConstantTypeHelper\\:
263-
Use PHPStan\\\\Reflection\\\\InitializerExprTypeResolver$#
264-
"""
265-
count: 1
266-
path: src/Reflection/BetterReflection/SourceLocator/AutoloadSourceLocator.php
267-
268252
-
269253
message: "#^Creating new ReflectionClass is a runtime reflection concept that might not work in PHPStan because it uses fully static reflection engine\\. Use objects retrieved from ReflectionProvider instead\\.$#"
270254
count: 1
@@ -360,14 +344,6 @@ parameters:
360344
count: 1
361345
path: src/Reflection/InitializerExprTypeResolver.php
362346

363-
-
364-
message: """
365-
#^Call to deprecated method getTypeFromValue\\(\\) of class PHPStan\\\\Type\\\\ConstantTypeHelper\\:
366-
Use PHPStan\\\\Reflection\\\\InitializerExprTypeResolver$#
367-
"""
368-
count: 1
369-
path: src/Reflection/InitializerExprTypeResolver.php
370-
371347
-
372348
message: "#^Doing instanceof PHPStan\\\\Type\\\\ConstantScalarType is error\\-prone and deprecated\\. Use Type\\:\\:isConstantScalarValue\\(\\) or Type\\:\\:getConstantScalarTypes\\(\\) or Type\\:\\:getConstantScalarValues\\(\\) instead\\.$#"
373349
count: 22
@@ -1399,14 +1375,6 @@ parameters:
13991375
count: 2
14001376
path: src/Type/Php/IsSubclassOfFunctionTypeSpecifyingExtension.php
14011377

1402-
-
1403-
message: """
1404-
#^Call to deprecated method getTypeFromValue\\(\\) of class PHPStan\\\\Type\\\\ConstantTypeHelper\\:
1405-
Use PHPStan\\\\Reflection\\\\InitializerExprTypeResolver$#
1406-
"""
1407-
count: 1
1408-
path: src/Type/Php/JsonThrowOnErrorDynamicReturnTypeExtension.php
1409-
14101378
-
14111379
message: "#^Doing instanceof PHPStan\\\\Type\\\\ConstantScalarType is error\\-prone and deprecated\\. Use Type\\:\\:isConstantScalarValue\\(\\) or Type\\:\\:getConstantScalarTypes\\(\\) or Type\\:\\:getConstantScalarValues\\(\\) instead\\.$#"
14121380
count: 1

0 commit comments

Comments
 (0)