Das ist die Checkliste, welche berücksichtigt werden muss, wenn ein Projekt von CakePHP 4.x zu 5.x geupgraded wird.
git clone https://github.com/cakephp/upgrade composer install --no-dev
bin/cake upgrade rector --rules cakephp50 <path/to/app/(src, tests, config, templates, plugins)>
bin/cake upgrade rector --rules cakephp51 <path/to/app/(src, tests, config, templates, plugins)>
bin/cake upgrade rector --rules cakephp52 <path/to/app/(src, tests, config, templates, plugins)>
bin/cake upgrade rector --rules cakephp53 <path/to/app/(src, tests, config, templates, plugins)>
bin/cake upgrade rector --rules cakephp54 <path/to/app/(src, tests, config, templates, plugins)>
bin/cake upgrade rector --rules migrations50 <path/to/app/config>
composer install
'errorLevel' => E_ALL & ~E_DEPRECATED
zu
'errorLevel' => E_ALL