mirror of https://github.com/rectorphp/rector.git
Updated Rector to commit 4a3137cf6e5d0e0e71ee93e6f9b82ae9726603e6
4a3137cf6e
remove cached fixture
This commit is contained in:
parent
8e5eb93b0b
commit
b0b2790db0
|
@ -1679,12 +1679,12 @@
|
|||
"source": {
|
||||
"type": "git",
|
||||
"url": "https:\/\/github.com\/rectorphp\/rector-doctrine.git",
|
||||
"reference": "0858ab3d83ed66e57869c30ed4e577c8e028643b"
|
||||
"reference": "ad55a2801458551168b37f6905998944f9a4f2a5"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https:\/\/api.github.com\/repos\/rectorphp\/rector-doctrine\/zipball\/0858ab3d83ed66e57869c30ed4e577c8e028643b",
|
||||
"reference": "0858ab3d83ed66e57869c30ed4e577c8e028643b",
|
||||
"url": "https:\/\/api.github.com\/repos\/rectorphp\/rector-doctrine\/zipball\/ad55a2801458551168b37f6905998944f9a4f2a5",
|
||||
"reference": "ad55a2801458551168b37f6905998944f9a4f2a5",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
|
@ -1709,7 +1709,7 @@
|
|||
"tomasvotruba\/unused-public": "^0.3",
|
||||
"tracy\/tracy": "^2.10"
|
||||
},
|
||||
"time": "2024-02-14T16:57:40+00:00",
|
||||
"time": "2024-02-14T19:43:49+00:00",
|
||||
"default-branch": true,
|
||||
"type": "rector-extension",
|
||||
"extra": {
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -9,7 +9,7 @@ namespace Rector\RectorInstaller;
|
|||
*/
|
||||
final class GeneratedConfig
|
||||
{
|
||||
public const EXTENSIONS = array('rector/rector-doctrine' => array('install_path' => '/home/runner/work/rector-src/rector-src/rector-build/vendor/rector/rector-doctrine', 'relative_install_path' => '../../rector-doctrine', 'extra' => NULL, 'version' => 'dev-main 0858ab3'), 'rector/rector-downgrade-php' => array('install_path' => '/home/runner/work/rector-src/rector-src/rector-build/vendor/rector/rector-downgrade-php', 'relative_install_path' => '../../rector-downgrade-php', 'extra' => NULL, 'version' => 'dev-main 8d1aab2'), 'rector/rector-phpunit' => array('install_path' => '/home/runner/work/rector-src/rector-src/rector-build/vendor/rector/rector-phpunit', 'relative_install_path' => '../../rector-phpunit', 'extra' => NULL, 'version' => 'dev-main cdbe390'), 'rector/rector-symfony' => array('install_path' => '/home/runner/work/rector-src/rector-src/rector-build/vendor/rector/rector-symfony', 'relative_install_path' => '../../rector-symfony', 'extra' => NULL, 'version' => 'dev-main 59edb62'));
|
||||
public const EXTENSIONS = array('rector/rector-doctrine' => array('install_path' => '/home/runner/work/rector-src/rector-src/rector-build/vendor/rector/rector-doctrine', 'relative_install_path' => '../../rector-doctrine', 'extra' => NULL, 'version' => 'dev-main ad55a28'), 'rector/rector-downgrade-php' => array('install_path' => '/home/runner/work/rector-src/rector-src/rector-build/vendor/rector/rector-downgrade-php', 'relative_install_path' => '../../rector-downgrade-php', 'extra' => NULL, 'version' => 'dev-main 8d1aab2'), 'rector/rector-phpunit' => array('install_path' => '/home/runner/work/rector-src/rector-src/rector-build/vendor/rector/rector-phpunit', 'relative_install_path' => '../../rector-phpunit', 'extra' => NULL, 'version' => 'dev-main cdbe390'), 'rector/rector-symfony' => array('install_path' => '/home/runner/work/rector-src/rector-src/rector-build/vendor/rector/rector-symfony', 'relative_install_path' => '../../rector-symfony', 'extra' => NULL, 'version' => 'dev-main 59edb62'));
|
||||
private function __construct()
|
||||
{
|
||||
}
|
||||
|
|
|
@ -19,7 +19,7 @@ return static function (RectorConfig $rectorConfig) : void {
|
|||
]);
|
||||
$rectorConfig->ruleWithConfiguration(AnnotationToAttributeRector::class, [
|
||||
// class
|
||||
new AnnotationToAttribute('Doctrine\\ORM\\Mapping\\Entity'),
|
||||
new AnnotationToAttribute('Doctrine\\ORM\\Mapping\\Entity', null, ['repositoryClass']),
|
||||
new AnnotationToAttribute('Doctrine\\ORM\\Mapping\\Column'),
|
||||
new AnnotationToAttribute('Doctrine\\ORM\\Mapping\\UniqueConstraint'),
|
||||
// id
|
||||
|
@ -27,20 +27,20 @@ return static function (RectorConfig $rectorConfig) : void {
|
|||
new AnnotationToAttribute('Doctrine\\ORM\\Mapping\\GeneratedValue'),
|
||||
new AnnotationToAttribute('Doctrine\\ORM\\Mapping\\SequenceGenerator'),
|
||||
new AnnotationToAttribute('Doctrine\\ORM\\Mapping\\Index'),
|
||||
new AnnotationToAttribute('Doctrine\\ORM\\Mapping\\CustomIdGenerator'),
|
||||
new AnnotationToAttribute('Doctrine\\ORM\\Mapping\\CustomIdGenerator', null, ['class']),
|
||||
// relations
|
||||
new AnnotationToAttribute('Doctrine\\ORM\\Mapping\\OneToOne'),
|
||||
new AnnotationToAttribute('Doctrine\\ORM\\Mapping\\OneToMany'),
|
||||
new AnnotationToAttribute('Doctrine\\ORM\\Mapping\\ManyToMany'),
|
||||
new AnnotationToAttribute('Doctrine\\ORM\\Mapping\\OneToOne', null, ['targetEntity']),
|
||||
new AnnotationToAttribute('Doctrine\\ORM\\Mapping\\OneToMany', null, ['targetEntity']),
|
||||
new AnnotationToAttribute('Doctrine\\ORM\\Mapping\\ManyToMany', null, ['targetEntity']),
|
||||
new AnnotationToAttribute('Doctrine\\ORM\\Mapping\\JoinTable'),
|
||||
new AnnotationToAttribute('Doctrine\\ORM\\Mapping\\ManyToOne'),
|
||||
new AnnotationToAttribute('Doctrine\\ORM\\Mapping\\ManyToOne', null, ['targetEntity']),
|
||||
new AnnotationToAttribute('Doctrine\\ORM\\Mapping\\OrderBy'),
|
||||
new AnnotationToAttribute('Doctrine\\ORM\\Mapping\\JoinColumn'),
|
||||
// embed
|
||||
new AnnotationToAttribute('Doctrine\\ORM\\Mapping\\Embeddable'),
|
||||
new AnnotationToAttribute('Doctrine\\ORM\\Mapping\\Embedded'),
|
||||
new AnnotationToAttribute('Doctrine\\ORM\\Mapping\\Embedded', null, ['class']),
|
||||
// inheritance
|
||||
new AnnotationToAttribute('Doctrine\\ORM\\Mapping\\MappedSuperclass'),
|
||||
new AnnotationToAttribute('Doctrine\\ORM\\Mapping\\MappedSuperclass', null, ['repositoryClass']),
|
||||
new AnnotationToAttribute('Doctrine\\ORM\\Mapping\\InheritanceType'),
|
||||
new AnnotationToAttribute('Doctrine\\ORM\\Mapping\\DiscriminatorColumn'),
|
||||
new AnnotationToAttribute('Doctrine\\ORM\\Mapping\\DiscriminatorMap'),
|
||||
|
|
Loading…
Reference in New Issue