forked from cakephp/upgrade
-
Notifications
You must be signed in to change notification settings - Fork 5
Tips
Mark Scherer edited this page Apr 12, 2023
·
8 revisions
Use all commands in the documented order
Mainly run "skeleton" task using -o (overwrite) if you have version control, as this will
outline any updates you want to put into your application.
Don't forget to sync files like app.php which are not necessarily under version control.
Apply rector set cakephp
Apply first everything up to latest 3.x upgrade. Then jump over to 4.x.
- Apply rector set
cakephp - Rector phpunit8 etc can already also be quite helpful
- See how manual commands via sed tool etc can also be quite powerful for upgrading
- ... add yours!
You can check awesome list and which ones can still be upgraded.