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
+72Lines changed: 72 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -750,12 +750,30 @@ parameters:
750
750
count:1
751
751
path:src/Testing/LevelsTestCase.php
752
752
753
+
-
754
+
message:'#^Catching internal class PHPUnit\\Framework\\AssertionFailedError\.$#'
755
+
identifier:catch.internalClass
756
+
count:2
757
+
path:src/Testing/LevelsTestCase.php
758
+
759
+
-
760
+
message:'#^Return type references internal class PHPUnit\\Framework\\AssertionFailedError\.$#'
761
+
identifier:return.internalClass
762
+
count:1
763
+
path:src/Testing/LevelsTestCase.php
764
+
753
765
-
754
766
message:'#^Anonymous function has an unused use \$container\.$#'
755
767
identifier:closure.unusedUse
756
768
count:1
757
769
path:src/Testing/PHPStanTestCase.php
758
770
771
+
-
772
+
message:'#^Catching internal class PHPUnit\\Framework\\ExpectationFailedException\.$#'
773
+
identifier:catch.internalClass
774
+
count:1
775
+
path:src/Testing/PHPStanTestCase.php
776
+
759
777
-
760
778
message:'#^Doing instanceof PHPStan\\Type\\ConstantScalarType is error\-prone and deprecated\. Use Type\:\:isConstantScalarValue\(\) or Type\:\:getConstantScalarTypes\(\) or Type\:\:getConstantScalarValues\(\) instead\.$#'
761
779
identifier:phpstanApi.instanceofType
@@ -1470,6 +1488,12 @@ parameters:
1470
1488
count:4
1471
1489
path:src/Type/ObjectWithoutClassType.php
1472
1490
1491
+
-
1492
+
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\.$#'
message:'#^Creating new PHPStan\\Php8StubsMap is not covered by backward compatibility promise\. The class might change in a minor PHPStan version\.$#'
message:'#^Call to method getComparisonFailure\(\) of internal class PHPUnit\\Framework\\ExpectationFailedException from outside its root namespace PHPUnit\.$#'
message:'#^PHPDoc tag @var assumes the expression with type PHPStan\\Type\\Generic\\TemplateType is always PHPStan\\Type\\Generic\\TemplateMixedType but it''s error\-prone and dangerous\.$#'
0 commit comments