File tree Expand file tree Collapse file tree
src/Reflection/BetterReflection/SourceLocator Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -17,3 +17,8 @@ parameters:
1717 message : ' #^Class CustomDeprecations\\MyDeprecatedEnum not found\.$#'
1818 paths :
1919 - ../tests/PHPStan/Reflection/Deprecation/DeprecationProviderTest.php
20+
21+ -
22+ rawMessage : " Value 'ReflectionFiber' in the haystack passed to in_array() can never be identical to the needle type class-string."
23+ paths :
24+ - ../src/Rules/Api/RuntimeReflectionInstantiationRule.php
Original file line number Diff line number Diff line change @@ -56,3 +56,13 @@ parameters:
5656 rawMessage : ' Strict comparison using === between class-string and ' ' UnitEnum' ' will always evaluate to false.'
5757 count : 1
5858 path : ../src/Reflection/Php/PhpClassReflectionExtension.php
59+
60+ -
61+ rawMessage : " Value 'ReflectionEnumBacke…' in the haystack passed to in_array() can never be identical to the needle type class-string."
62+ paths :
63+ - ../src/Rules/Api/RuntimeReflectionInstantiationRule.php
64+
65+ -
66+ rawMessage : " Value 'ReflectionEnum' in the haystack passed to in_array() can never be identical to the needle type class-string."
67+ paths :
68+ - ../src/Rules/Api/RuntimeReflectionInstantiationRule.php
Original file line number Diff line number Diff line change 1515use PHPStan \BetterReflection \SourceLocator \Ast \Strategy \NodeToReflection ;
1616use PHPStan \BetterReflection \SourceLocator \Type \SourceLocator ;
1717use PHPStan \Cache \ArenaCache ;
18- use PHPStan \File \FileContentHasher ;
1918use PHPStan \Cache \Cache ;
2019use PHPStan \File \CouldNotReadFileException ;
20+ use PHPStan \File \FileContentHasher ;
2121use PHPStan \Internal \ComposerHelper ;
2222use PHPStan \Php \PhpVersion ;
2323use PHPStan \Reflection \ConstantNameHelper ;
You can’t perform that action at this time.
0 commit comments