-
-
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.
[PHP 8.0] Add class support to NestedAnnotationToAttributeRector (#2782)
* [PHP 8.0] Add class support to AnnotationToAttributeRector * cleanup * remove unwrappable check, make it explicit on configuration
- Loading branch information
1 parent
b8549f5
commit 69b625c
Showing
22 changed files
with
74 additions
and
535 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
11 changes: 0 additions & 11 deletions
11
packages/PhpAttribute/Exception/InvalidNestedAttributeException.php
This file was deleted.
Oops, something went wrong.
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 was deleted.
Oops, something went wrong.
32 changes: 0 additions & 32 deletions
32
...0/Rector/Class_/AnnotationToAttributeRector/Fixture/Doctrine/multi_nested_indexes.php.inc
This file was deleted.
Oops, something went wrong.
19 changes: 19 additions & 0 deletions
19
...s_/AnnotationToAttributeRector/Fixture/Doctrine/skip_table_and_unique_constraints.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,19 @@ | ||
<?php | ||
|
||
namespace Rector\Tests\Php80\Rector\Class_\AnnotationToAttributeRector\Fixture\Doctrine; | ||
|
||
use Doctrine\ORM\Mapping as ORM; | ||
|
||
/** | ||
* @ORM\Table(name="user_account_role", | ||
* uniqueConstraints={ | ||
* @ORM\UniqueConstraint(name="user_account_role_unique", columns={"user_account_id", "list_user_role_id"}) | ||
* }, | ||
* indexes={ | ||
* @ORM\Index(name="some_name") | ||
* } | ||
* ) | ||
*/ | ||
final class SkipTableAndUniqueConstraints | ||
{ | ||
} |
33 changes: 0 additions & 33 deletions
33
...onToAttributeRector/Fixture/Doctrine/table_and_nested_index_and_uniqueconstraints.php.inc
This file was deleted.
Oops, something went wrong.
30 changes: 0 additions & 30 deletions
30
.../Class_/AnnotationToAttributeRector/Fixture/Doctrine/table_and_unique_constraints.php.inc
This file was deleted.
Oops, something went wrong.
49 changes: 0 additions & 49 deletions
49
.../Class_/AnnotationToAttributeRector/Fixture/skip_unwrap_symfony_nested_validators.php.inc
This file was deleted.
Oops, something went wrong.
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
Oops, something went wrong.