Skip to content
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

Open
wants to merge 2 commits into
base: 4.next
Choose a base branch
from
Open

Update 4-0-upgrade-guide.rst #7912

wants to merge 2 commits into from

Conversation

yosus
Copy link
Contributor

@yosus yosus commented Sep 3, 2024

More skeleton-files need to be updated during 3.x to 4.x upgrade

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.
Copy link
Contributor

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.

Copy link
Contributor

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

Copy link
Contributor Author

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.

Copy link
Member

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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants