-
-
Notifications
You must be signed in to change notification settings - Fork 337
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Php83] Early check private method in child before check parent on Ad…
…dOverrideAttributeToOverriddenMethodsRector (#5622) * [Php83] Early check private method in child before check parent on AddOverrideAttributeToOverriddenMethodsRector * [Php83] Early check private method in child before check parent on AddOverrideAttributeToOverriddenMethodsRector
- Loading branch information
1 parent
c4dd05e
commit 39d9c32
Showing
2 changed files
with
18 additions
and
0 deletions.
There are no files selected for viewing
14 changes: 14 additions & 0 deletions
14
...sMethod/AddOverrideAttributeToOverriddenMethodsRector/Fixture/skip_private_method.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,14 @@ | ||
<?php | ||
|
||
namespace Rector\Tests\Php83\Rector\ClassMethod\AddOverrideAttributeToOverriddenMethodsRector\Fixture; | ||
|
||
use Rector\Tests\Php83\Rector\ClassMethod\AddOverrideAttributeToOverriddenMethodsRector\Source\ExampleParentClass; | ||
|
||
class SkipPrivateMethod extends ExampleParentClass | ||
{ | ||
private function bar() | ||
{ | ||
} | ||
} | ||
|
||
?> |
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