Updated Rector to commit 4a3137cf6e5d0e0e71ee93e6f9b82ae9726603e6

4a3137cf6e remove cached fixture
This commit is contained in:
Tomas Votruba 2024-02-14 19:46:39 +00:00
parent 8e5eb93b0b
commit b0b2790db0
4 changed files with 14 additions and 14 deletions

View File

@ -1679,12 +1679,12 @@
"source": { "source": {
"type": "git", "type": "git",
"url": "https:\/\/github.com\/rectorphp\/rector-doctrine.git", "url": "https:\/\/github.com\/rectorphp\/rector-doctrine.git",
"reference": "0858ab3d83ed66e57869c30ed4e577c8e028643b" "reference": "ad55a2801458551168b37f6905998944f9a4f2a5"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https:\/\/api.github.com\/repos\/rectorphp\/rector-doctrine\/zipball\/0858ab3d83ed66e57869c30ed4e577c8e028643b", "url": "https:\/\/api.github.com\/repos\/rectorphp\/rector-doctrine\/zipball\/ad55a2801458551168b37f6905998944f9a4f2a5",
"reference": "0858ab3d83ed66e57869c30ed4e577c8e028643b", "reference": "ad55a2801458551168b37f6905998944f9a4f2a5",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -1709,7 +1709,7 @@
"tomasvotruba\/unused-public": "^0.3", "tomasvotruba\/unused-public": "^0.3",
"tracy\/tracy": "^2.10" "tracy\/tracy": "^2.10"
}, },
"time": "2024-02-14T16:57:40+00:00", "time": "2024-02-14T19:43:49+00:00",
"default-branch": true, "default-branch": true,
"type": "rector-extension", "type": "rector-extension",
"extra": { "extra": {

File diff suppressed because one or more lines are too long

View File

@ -9,7 +9,7 @@ namespace Rector\RectorInstaller;
*/ */
final class GeneratedConfig 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() private function __construct()
{ {
} }

View File

@ -19,7 +19,7 @@ return static function (RectorConfig $rectorConfig) : void {
]); ]);
$rectorConfig->ruleWithConfiguration(AnnotationToAttributeRector::class, [ $rectorConfig->ruleWithConfiguration(AnnotationToAttributeRector::class, [
// 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\\Column'),
new AnnotationToAttribute('Doctrine\\ORM\\Mapping\\UniqueConstraint'), new AnnotationToAttribute('Doctrine\\ORM\\Mapping\\UniqueConstraint'),
// id // id
@ -27,20 +27,20 @@ return static function (RectorConfig $rectorConfig) : void {
new AnnotationToAttribute('Doctrine\\ORM\\Mapping\\GeneratedValue'), new AnnotationToAttribute('Doctrine\\ORM\\Mapping\\GeneratedValue'),
new AnnotationToAttribute('Doctrine\\ORM\\Mapping\\SequenceGenerator'), new AnnotationToAttribute('Doctrine\\ORM\\Mapping\\SequenceGenerator'),
new AnnotationToAttribute('Doctrine\\ORM\\Mapping\\Index'), new AnnotationToAttribute('Doctrine\\ORM\\Mapping\\Index'),
new AnnotationToAttribute('Doctrine\\ORM\\Mapping\\CustomIdGenerator'), new AnnotationToAttribute('Doctrine\\ORM\\Mapping\\CustomIdGenerator', null, ['class']),
// relations // relations
new AnnotationToAttribute('Doctrine\\ORM\\Mapping\\OneToOne'), new AnnotationToAttribute('Doctrine\\ORM\\Mapping\\OneToOne', null, ['targetEntity']),
new AnnotationToAttribute('Doctrine\\ORM\\Mapping\\OneToMany'), new AnnotationToAttribute('Doctrine\\ORM\\Mapping\\OneToMany', null, ['targetEntity']),
new AnnotationToAttribute('Doctrine\\ORM\\Mapping\\ManyToMany'), new AnnotationToAttribute('Doctrine\\ORM\\Mapping\\ManyToMany', null, ['targetEntity']),
new AnnotationToAttribute('Doctrine\\ORM\\Mapping\\JoinTable'), 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\\OrderBy'),
new AnnotationToAttribute('Doctrine\\ORM\\Mapping\\JoinColumn'), new AnnotationToAttribute('Doctrine\\ORM\\Mapping\\JoinColumn'),
// embed // embed
new AnnotationToAttribute('Doctrine\\ORM\\Mapping\\Embeddable'), new AnnotationToAttribute('Doctrine\\ORM\\Mapping\\Embeddable'),
new AnnotationToAttribute('Doctrine\\ORM\\Mapping\\Embedded'), new AnnotationToAttribute('Doctrine\\ORM\\Mapping\\Embedded', null, ['class']),
// inheritance // 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\\InheritanceType'),
new AnnotationToAttribute('Doctrine\\ORM\\Mapping\\DiscriminatorColumn'), new AnnotationToAttribute('Doctrine\\ORM\\Mapping\\DiscriminatorColumn'),
new AnnotationToAttribute('Doctrine\\ORM\\Mapping\\DiscriminatorMap'), new AnnotationToAttribute('Doctrine\\ORM\\Mapping\\DiscriminatorMap'),