-
-
Notifications
You must be signed in to change notification settings - Fork 340
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Php81] Skip anonymous class on FinalizePublicClassConstantRector (#1970
- Loading branch information
1 parent
82656ad
commit 4562f4f
Showing
2 changed files
with
10 additions
and
7 deletions.
There are no files selected for viewing
7 changes: 7 additions & 0 deletions
7
.../Rector/ClassConst/FinalizePublicClassConstantRector/Fixture/skip_anonymous_class.php.inc
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<?php | ||
|
||
namespace Rector\Tests\Php81\Rector\ClassConst\FinalizePublicClassConstantRector\Fixture; | ||
|
||
new class { | ||
public const NAME = 'value'; | ||
}; |
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