-
-
Notifications
You must be signed in to change notification settings - Fork 338
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Privatization] Skip Entity and Embeddable Attribute Doctrine\ORM\Map…
…ping on FinalizeClassesWithoutChildrenRector (#155) Co-authored-by: Sebastian Schreiber <me@schreibersebastian.de> Co-authored-by: Tomas Votruba <tomas.vot@gmail.com>
- Loading branch information
1 parent
8151fd8
commit 4e71338
Showing
4 changed files
with
56 additions
and
4 deletions.
There are no files selected for viewing
11 changes: 11 additions & 0 deletions
11
...lass_/FinalizeClassesWithoutChildrenRector/Fixture/skip_embeddable_with_attribute.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,11 @@ | ||
<?php | ||
|
||
namespace Rector\Tests\Privatization\Rector\Class_\FinalizeClassesWithoutChildrenRector\Fixture; | ||
|
||
use Doctrine\ORM\Mapping\Embeddable; | ||
|
||
#[Embeddable] | ||
class People | ||
{ | ||
|
||
} |
11 changes: 11 additions & 0 deletions
11
...or/Class_/FinalizeClassesWithoutChildrenRector/Fixture/skip_entity_with_attribute.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,11 @@ | ||
<?php | ||
|
||
namespace Rector\Tests\Privatization\Rector\Class_\FinalizeClassesWithoutChildrenRector\Fixture; | ||
|
||
use Doctrine\ORM\Mapping\Entity; | ||
|
||
#[Entity] | ||
class People | ||
{ | ||
|
||
} |
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