Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
vudaltsov committed Oct 2, 2024
1 parent 8b488f6 commit 507db9a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
6 changes: 6 additions & 0 deletions phpunit.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,12 @@
<directory>tests</directory>
</testsuite>

<testsuite name="php84">
<directory>tests</directory>
<exclude>tests/Internal/NativeAdapter/AdapterCompatibilityTest.php</exclude>
<exclude>tests/TyphoonReflectorMemoryTest.php</exclude>
</testsuite>

<testsuite name="infection">
<file>tests/Internal/Inheritance/TypeResolversTest.php</file>
<file>tests/Internal/PhpDoc/PhpDocTypeReflectorTest.php</file>
Expand Down
3 changes: 1 addition & 2 deletions src/Internal/NativeAdapter/EnumBackedCaseAdapter.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 507db9a

Please sign in to comment.