upgrade icon indicating copy to clipboard operation
upgrade copied to clipboard

Upgrade tools for CakePHP meant to facilitate migrating from one version of the framework to another

Results 12 upgrade issues
Sort by recently updated
recently updated
newest added

I have done the steps derscribed in https://book.cakephp.org/4/en/appendices/4-0-upgrade-guide.html#use-the-upgrade-tool without upgrading cakephp to 4.x. ``` # Install the upgrade tool git clone https://github.com/cakephp/upgrade cd upgrade git checkout 4.x composer install --no-dev...

In test cases protected $fixtures = [ should be protected array $fixtures = [

enhancement

Hi - I am trying to upgrade from CakePHP 4.4 to 5, however as I'm running the migration code I get the following: ``` ➜ upgrade git:(5.x) bin/cake upgrade rector...

bug

As title, when I use the `php-7.2` and using `make install-dev` to install dev-dependencies for my development, I get following warning message: ```Bash Class Cake\Composer\Installer\PluginInstaller is not autoloadable, can not...

- **Table** `Table->newEntity()` should be migrated to `Table->newEmptyEntity()`, validating that `newEntity()` did not originally contain any arguments / data for entity creation - **Paginator** `$this->Paginator->counter(['format' => __('format text')])` should be...

I get the error `Call to undefined method PhpParser\Comment\Doc::getStartTokenPos()` When executing the following command: `bin/cake upgrade rector --rules phpunit80 ` Probably related to: https://github.com/rectorphp/rector/issues/3160

280/771 [▓▓▓▓▓▓▓▓▓▓░░░░ [ERROR] Could not process 520/771 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░░░░░░░░░] 67% "/var/www/html/upgrade/vendor/rector/rector/vendor/symplify/easy-parall el/src/ValueObject/ParallelProcess.php" file, due to: 711/771 [▓▓▓▓▓▓▓▓▓▓▓▓� "Child process timed out after 120 seconds". On line: 108 751/771 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░] 97% [ERROR]...

Just adding them as note for now, if someone wants to tackle those ```diff use Cake\Routing\RouteBuilder; -Router::prefix('Admin', function (RouteBuilder $routes) { +$routes->prefix('Admin', function (RouteBuilder $routes) { $routes->plugin('Management', function (RouteBuilder $routes)...

enhancement

> Migrations\BaseMigration, and seeds Migrations\BaseSeed. Refs https://github.com/cakephp/migrations/releases/tag/4.5.0

enhancement