diff --git a/composer-dependency-analyser.php b/composer-dependency-analyser.php index 03c391b99..e9fd6f437 100644 --- a/composer-dependency-analyser.php +++ b/composer-dependency-analyser.php @@ -37,6 +37,7 @@ $config 'phpstan/phpstan-symfony', 'psr/http-client', 'psr/http-factory', + 'rector/rector', 'scheb/2fa-trusted-device', 'shipmonk/composer-dependency-analyser', 'symfony/asset', diff --git a/composer.json b/composer.json index 45cdaf1cc..fd95d1d4a 100644 --- a/composer.json +++ b/composer.json @@ -173,6 +173,7 @@ "phpstan/phpstan-phpunit": "^1.4.2", "phpstan/phpstan-symfony": "^1.4.13", "phpunit/phpunit": "^9.6.22", + "rector/rector": "^1.2", "shipmonk/composer-dependency-analyser": "^1.8.2", "symfony/css-selector": "^5.4.45", "symfony/debug-bundle": "^5.4.45", diff --git a/composer.lock b/composer.lock index 880448c57..b648b40c5 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "df71f834528625c49553a128ca93e4aa", + "content-hash": "00b8f95df6ec0572c06ad6f34847405c", "packages": [ { "name": "babdev/pagerfanta-bundle", @@ -17856,6 +17856,65 @@ ], "time": "2024-06-11T12:45:25+00:00" }, + { + "name": "rector/rector", + "version": "1.2.10", + "source": { + "type": "git", + "url": "https://github.com/rectorphp/rector.git", + "reference": "40f9cf38c05296bd32f444121336a521a293fa61" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/rectorphp/rector/zipball/40f9cf38c05296bd32f444121336a521a293fa61", + "reference": "40f9cf38c05296bd32f444121336a521a293fa61", + "shasum": "" + }, + "require": { + "php": "^7.2|^8.0", + "phpstan/phpstan": "^1.12.5" + }, + "conflict": { + "rector/rector-doctrine": "*", + "rector/rector-downgrade-php": "*", + "rector/rector-phpunit": "*", + "rector/rector-symfony": "*" + }, + "suggest": { + "ext-dom": "To manipulate phpunit.xml via the custom-rule command" + }, + "bin": [ + "bin/rector" + ], + "type": "library", + "autoload": { + "files": [ + "bootstrap.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "Instant Upgrade and Automated Refactoring of any PHP code", + "keywords": [ + "automation", + "dev", + "migration", + "refactoring" + ], + "support": { + "issues": "https://github.com/rectorphp/rector/issues", + "source": "https://github.com/rectorphp/rector/tree/1.2.10" + }, + "funding": [ + { + "url": "https://github.com/tomasvotruba", + "type": "github" + } + ], + "time": "2024-11-08T13:59:10+00:00" + }, { "name": "sebastian/cli-parser", "version": "1.0.2",