diff --git a/phpunit.xml.dist b/phpunit.xml.dist index 31ddaf9..5b0901f 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -19,6 +19,12 @@ tests + + tests + tests/Internal/NativeAdapter/AdapterCompatibilityTest.php + tests/TyphoonReflectorMemoryTest.php + + tests/Internal/Inheritance/TypeResolversTest.php tests/Internal/PhpDoc/PhpDocTypeReflectorTest.php diff --git a/src/Internal/NativeAdapter/EnumBackedCaseAdapter.php b/src/Internal/NativeAdapter/EnumBackedCaseAdapter.php index 348acae..e11dbda 100644 --- a/src/Internal/NativeAdapter/EnumBackedCaseAdapter.php +++ b/src/Internal/NativeAdapter/EnumBackedCaseAdapter.php @@ -104,11 +104,10 @@ public function hasType(): bool /** * @psalm-suppress PossiblyUnusedMethod - * @TODO */ public function isDeprecated(): bool { - return false; + return $this->constant->isDeprecated(); } public function isEnumCase(): bool