Skip to content

Commit 66fdf25

Browse files
committed
Merge remote-tracking branch 'origin/1.12.x' into 2.0.x
2 parents 83e8c1d + f51a00c commit 66fdf25

File tree

1 file changed

+0
-32
lines changed

1 file changed

+0
-32
lines changed

phpstan-baseline.neon

Lines changed: 0 additions & 32 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 getTypeFromValue\\(\\) of class PHPStan\\\\Type\\\\ConstantTypeHelper\\:
21-
Use PHPStan\\\\Reflection\\\\InitializerExprTypeResolver$#
22-
"""
23-
count: 1
24-
path: src/Analyser/MutatingScope.php
25-
2618
-
2719
message: "#^Casting to string something that's already string\\.$#"
2820
count: 3
@@ -203,14 +195,6 @@ parameters:
203195
count: 1
204196
path: src/Reflection/BetterReflection/BetterReflectionProvider.php
205197

206-
-
207-
message: """
208-
#^Call to deprecated method getTypeFromValue\\(\\) of class PHPStan\\\\Type\\\\ConstantTypeHelper\\:
209-
Use PHPStan\\\\Reflection\\\\InitializerExprTypeResolver$#
210-
"""
211-
count: 1
212-
path: src/Reflection/BetterReflection/SourceLocator/AutoloadSourceLocator.php
213-
214198
-
215199
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\\.$#"
216200
count: 1
@@ -301,14 +285,6 @@ parameters:
301285
count: 1
302286
path: src/Reflection/InitializerExprTypeResolver.php
303287

304-
-
305-
message: """
306-
#^Call to deprecated method getTypeFromValue\\(\\) of class PHPStan\\\\Type\\\\ConstantTypeHelper\\:
307-
Use PHPStan\\\\Reflection\\\\InitializerExprTypeResolver$#
308-
"""
309-
count: 1
310-
path: src/Reflection/InitializerExprTypeResolver.php
311-
312288
-
313289
message: "#^Doing instanceof PHPStan\\\\Type\\\\ConstantScalarType is error\\-prone and deprecated\\. Use Type\\:\\:isConstantScalarValue\\(\\) or Type\\:\\:getConstantScalarTypes\\(\\) or Type\\:\\:getConstantScalarValues\\(\\) instead\\.$#"
314290
count: 22
@@ -1264,14 +1240,6 @@ parameters:
12641240
count: 2
12651241
path: src/Type/Php/IsSubclassOfFunctionTypeSpecifyingExtension.php
12661242

1267-
-
1268-
message: """
1269-
#^Call to deprecated method getTypeFromValue\\(\\) of class PHPStan\\\\Type\\\\ConstantTypeHelper\\:
1270-
Use PHPStan\\\\Reflection\\\\InitializerExprTypeResolver$#
1271-
"""
1272-
count: 1
1273-
path: src/Type/Php/JsonThrowOnErrorDynamicReturnTypeExtension.php
1274-
12751243
-
12761244
message: "#^Doing instanceof PHPStan\\\\Type\\\\ConstantScalarType is error\\-prone and deprecated\\. Use Type\\:\\:isConstantScalarValue\\(\\) or Type\\:\\:getConstantScalarTypes\\(\\) or Type\\:\\:getConstantScalarValues\\(\\) instead\\.$#"
12771245
count: 1

0 commit comments

Comments
 (0)