forked from infection/infection
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update ProtectedVisibility/PublicVisibility to guard against missing …
…reflection (infection#502) * Update ProtectedVisibility/PublicVisibility to guard against missing reflection It seems that PHP-Parser can't provide reflection for anonymous classes yet. Fixes infection#501 for time being until nikic/PHP-Parser#543 gets fixed. * PublicVisibility: test for presence of reflection in one place * Update type hint to include null
- Loading branch information
1 parent
c3faa3f
commit e53f86e
Showing
4 changed files
with
49 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters