-
-
Notifications
You must be signed in to change notification settings - Fork 351
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[NodeTypeResolver] Clean up unnecessary scope attribute set on Class_…
…/Interface_/Enum_ (#6316) * [NodeTypeResolver] Clean up unnecessary attribute set on Class_/Interface_/Enum_ * add test * Reduce instanceof check
- Loading branch information
1 parent
71a0da8
commit 886efb0
Showing
2 changed files
with
10 additions
and
3 deletions.
There are no files selected for viewing
8 changes: 8 additions & 0 deletions
8
...ests/Php81/Rector/Array_/FirstClassCallableRector/Fixture/skip_in_attribute_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,8 @@ | ||
<?php | ||
|
||
namespace Rector\Tests\Php81\Rector\Array_\FirstClassCallableRector\Fixture; | ||
|
||
#[SomeAttribute(['array-argument'])] | ||
class SkipInAttributeClass | ||
{ | ||
} |
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