diff --git a/README.md b/README.md index 442068206c7..1b55d8bb87c 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ Rector instantly upgrades and refactors the PHP code of your application. It ca ### 1. Instant Upgrades -Rector now supports upgrades from PHP 5.3 to 8.1 and major open-source projects like [Symfony](https://github.com/rectorphp/rector-symfony), [PHPUnit](https://github.com/rectorphp/rector-phpunit), [Laravel](https://github.com/rectorphp/rector-laravel), [CakePHP](https://github.com/rectorphp/rector-cakephp) and [Doctrine](https://github.com/rectorphp/rector-doctrine). Do you want to **be constantly on the latest PHP and Framework without effort**? +Rector now supports upgrades from PHP 5.3 to 8.1 and major open-source projects like [Symfony](https://github.com/rectorphp/rector-symfony), [PHPUnit](https://github.com/rectorphp/rector-phpunit), [Laravel](https://github.com/rectorphp/rector-laravel), and [Doctrine](https://github.com/rectorphp/rector-doctrine). Do you want to **be constantly on the latest PHP and Framework without effort**? Use Rector to handle **instant upgrades** for you. @@ -148,6 +148,7 @@ Among there projects belong: * [Sylius/SyliusRector](https://github.com/Sylius/SyliusRector) * [CoditoNet/rector-money](https://github.com/CoditoNet/rector-money) * [laminas/laminas-servicemanager-migration](https://github.com/laminas/laminas-servicemanager-migration) +* [cakephp/upgrade](https://github.com/cakephp/upgrade)
diff --git a/composer.json b/composer.json index fc345195432..fd0a5b2f271 100644 --- a/composer.json +++ b/composer.json @@ -23,10 +23,10 @@ "rector/rector-phpunit": "*", "rector/rector-symfony": "*", "rector/rector-doctrine": "*", - "rector/rector-cakephp": "*", "rector/rector-laravel": "*", "rector/rector-phpoffice": "*", - "rector/rector-php-parser": "*" + "rector/rector-php-parser": "*", + "rectorphp/rector-downgrade-php": "*" }, "minimum-stability": "dev", "prefer-stable": true diff --git a/src/Application/VersionResolver.php b/src/Application/VersionResolver.php index 35363459406..65d17bcda7f 100644 --- a/src/Application/VersionResolver.php +++ b/src/Application/VersionResolver.php @@ -17,12 +17,12 @@ final class VersionResolver * @api * @var string */ - public const PACKAGE_VERSION = '70ac514c3075288cbdec1c24848e124c5c948865'; + public const PACKAGE_VERSION = '04a1cfbac770f4602b3458a7916dad90660ed34b'; /** * @api * @var string */ - public const RELEASE_DATE = '2022-10-02 23:46:40'; + public const RELEASE_DATE = '2022-10-03 09:20:57'; /** * @var int */ diff --git a/vendor/autoload.php b/vendor/autoload.php index b3861240278..440922b8895 100644 --- a/vendor/autoload.php +++ b/vendor/autoload.php @@ -9,4 +9,4 @@ if (PHP_VERSION_ID < 50600) { require_once __DIR__ . '/composer/autoload_real.php'; -return ComposerAutoloaderInit71cb4a94aa093ad874f360981c348ba3::getLoader(); +return ComposerAutoloaderInit1b4ceebc7c4a69131a39e94ae56e3e33::getLoader(); diff --git a/vendor/composer/autoload_real.php b/vendor/composer/autoload_real.php index ccea0315c98..7d157d2a40c 100644 --- a/vendor/composer/autoload_real.php +++ b/vendor/composer/autoload_real.php @@ -2,7 +2,7 @@ // autoload_real.php @generated by Composer -class ComposerAutoloaderInit71cb4a94aa093ad874f360981c348ba3 +class ComposerAutoloaderInit1b4ceebc7c4a69131a39e94ae56e3e33 { private static $loader; @@ -22,19 +22,19 @@ class ComposerAutoloaderInit71cb4a94aa093ad874f360981c348ba3 return self::$loader; } - spl_autoload_register(array('ComposerAutoloaderInit71cb4a94aa093ad874f360981c348ba3', 'loadClassLoader'), true, true); + spl_autoload_register(array('ComposerAutoloaderInit1b4ceebc7c4a69131a39e94ae56e3e33', 'loadClassLoader'), true, true); self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__)); - spl_autoload_unregister(array('ComposerAutoloaderInit71cb4a94aa093ad874f360981c348ba3', 'loadClassLoader')); + spl_autoload_unregister(array('ComposerAutoloaderInit1b4ceebc7c4a69131a39e94ae56e3e33', 'loadClassLoader')); require __DIR__ . '/autoload_static.php'; - call_user_func(\Composer\Autoload\ComposerStaticInit71cb4a94aa093ad874f360981c348ba3::getInitializer($loader)); + call_user_func(\Composer\Autoload\ComposerStaticInit1b4ceebc7c4a69131a39e94ae56e3e33::getInitializer($loader)); $loader->setClassMapAuthoritative(true); $loader->register(true); - $includeFiles = \Composer\Autoload\ComposerStaticInit71cb4a94aa093ad874f360981c348ba3::$files; + $includeFiles = \Composer\Autoload\ComposerStaticInit1b4ceebc7c4a69131a39e94ae56e3e33::$files; foreach ($includeFiles as $fileIdentifier => $file) { - composerRequire71cb4a94aa093ad874f360981c348ba3($fileIdentifier, $file); + composerRequire1b4ceebc7c4a69131a39e94ae56e3e33($fileIdentifier, $file); } return $loader; @@ -46,7 +46,7 @@ class ComposerAutoloaderInit71cb4a94aa093ad874f360981c348ba3 * @param string $file * @return void */ -function composerRequire71cb4a94aa093ad874f360981c348ba3($fileIdentifier, $file) +function composerRequire1b4ceebc7c4a69131a39e94ae56e3e33($fileIdentifier, $file) { if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) { $GLOBALS['__composer_autoload_files'][$fileIdentifier] = true; diff --git a/vendor/composer/autoload_static.php b/vendor/composer/autoload_static.php index b0f919a9471..95025e2746f 100644 --- a/vendor/composer/autoload_static.php +++ b/vendor/composer/autoload_static.php @@ -4,7 +4,7 @@ namespace Composer\Autoload; -class ComposerStaticInit71cb4a94aa093ad874f360981c348ba3 +class ComposerStaticInit1b4ceebc7c4a69131a39e94ae56e3e33 { public static $files = array ( 'ad155f8f1cf0d418fe49e248db8c661b' => __DIR__ . '/..' . '/react/promise/src/functions_include.php', @@ -3087,9 +3087,9 @@ class ComposerStaticInit71cb4a94aa093ad874f360981c348ba3 public static function getInitializer(ClassLoader $loader) { return \Closure::bind(function () use ($loader) { - $loader->prefixLengthsPsr4 = ComposerStaticInit71cb4a94aa093ad874f360981c348ba3::$prefixLengthsPsr4; - $loader->prefixDirsPsr4 = ComposerStaticInit71cb4a94aa093ad874f360981c348ba3::$prefixDirsPsr4; - $loader->classMap = ComposerStaticInit71cb4a94aa093ad874f360981c348ba3::$classMap; + $loader->prefixLengthsPsr4 = ComposerStaticInit1b4ceebc7c4a69131a39e94ae56e3e33::$prefixLengthsPsr4; + $loader->prefixDirsPsr4 = ComposerStaticInit1b4ceebc7c4a69131a39e94ae56e3e33::$prefixDirsPsr4; + $loader->classMap = ComposerStaticInit1b4ceebc7c4a69131a39e94ae56e3e33::$classMap; }, null, ClassLoader::class); }