-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update 4-0-upgrade-guide.rst #7912
base: 4.next
Are you sure you want to change the base?
Conversation
More skeleton-files need to be updated during 3.x to 4.x upgrade
Next, ensure your files has been updated to have the same | ||
method signatures as those found in cakephp/app. | ||
|
||
#. ``src/Application.php`` at `Application.php <https://github.com/cakephp/app/blob/4.x/src/Application.php>`__ on GitHub. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please use links to the 4.0.4 tag, not 4.x
4.x is current CakePHP 4.5 which should not be used as a base to upgrade Cake 3 to.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You could also just reference the whole app template as it is done in the 5.0 upgrade guide instead of manually listing all the files
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should the links for 4.0.0 tag be used, or 4.0.4 ?
Since it is only a few files that needs to be updated, I thought referencing them directly would be faster for users to upgrade.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree that using concrete files will make them outdated and then lying over a short amount of time.
Better to stay more agnostic here.
has -> have Co-authored-by: Mark Story <[email protected]>
More skeleton-files need to be updated during 3.x to 4.x upgrade