Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions build/enums.neon
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,8 @@ parameters:
message: '#^Class CustomDeprecations\\MyDeprecatedEnum not found\.$#'
paths:
- ../tests/PHPStan/Reflection/Deprecation/DeprecationProviderTest.php

-
rawMessage: "Value 'ReflectionFiber' in the haystack passed to in_array() can never be identical to the needle type class-string."
paths:
- ../src/Rules/Api/RuntimeReflectionInstantiationRule.php
10 changes: 10 additions & 0 deletions build/more-enum-adapter-errors.neon
Original file line number Diff line number Diff line change
Expand Up @@ -56,3 +56,13 @@ parameters:
rawMessage: 'Strict comparison using === between class-string and ''UnitEnum'' will always evaluate to false.'
count: 1
path: ../src/Reflection/Php/PhpClassReflectionExtension.php

-
rawMessage: "Value 'ReflectionEnumBacke…' in the haystack passed to in_array() can never be identical to the needle type class-string."
paths:
- ../src/Rules/Api/RuntimeReflectionInstantiationRule.php

-
rawMessage: "Value 'ReflectionEnum' in the haystack passed to in_array() can never be identical to the needle type class-string."
paths:
- ../src/Rules/Api/RuntimeReflectionInstantiationRule.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
use PHPStan\BetterReflection\SourceLocator\Ast\Strategy\NodeToReflection;
use PHPStan\BetterReflection\SourceLocator\Type\SourceLocator;
use PHPStan\Cache\ArenaCache;
use PHPStan\File\FileContentHasher;
use PHPStan\Cache\Cache;
use PHPStan\File\CouldNotReadFileException;
use PHPStan\File\FileContentHasher;
use PHPStan\Internal\ComposerHelper;
use PHPStan\Php\PhpVersion;
use PHPStan\Reflection\ConstantNameHelper;
Expand Down
Loading