From 13d95ac1d64d09cbb5449fa6c21090fa68ffbc47 Mon Sep 17 00:00:00 2001 From: yosus <5551430+yosus@users.noreply.github.com> Date: Tue, 3 Sep 2024 21:53:32 +0800 Subject: [PATCH 1/2] Update 4-0-upgrade-guide.rst More skeleton-files need to be updated during 3.x to 4.x upgrade --- en/appendices/4-0-upgrade-guide.rst | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/en/appendices/4-0-upgrade-guide.rst b/en/appendices/4-0-upgrade-guide.rst index 28cbd6cf89..a156ad3ddd 100644 --- a/en/appendices/4-0-upgrade-guide.rst +++ b/en/appendices/4-0-upgrade-guide.rst @@ -89,13 +89,17 @@ composer commands: php composer.phar require --dev --update-with-dependencies "phpunit/phpunit:^8.0" php composer.phar require --update-with-dependencies "cakephp/cakephp:4.0.*" -Application.php +Others =============== -Next, ensure your ``src/Application.php`` has been updated to have the same -method signatures as the one found in cakephp/app. You can find the current -`Application.php -`__ on GitHub. +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 `__ on GitHub. +#. ``config/app.php`` at `app.php `__ on GitHub. +#. ``config/bootstrap.php`` at `bootstrap.php `__ on GitHub. +#. ``config/paths.php`` at `paths.php `__ on GitHub, where ``RESOURCES`` needs to be defined. +#. ``config/routes.php`` at `routes.php `__ on GitHub. If you are providing some kind of REST API, don't forget to include the :ref:`body-parser-middleware`. Finally, you should consider upgrading to the new From 9f841e71c16924005d9de123741ffb7d619642da Mon Sep 17 00:00:00 2001 From: yosus <5551430+yosus@users.noreply.github.com> Date: Thu, 5 Sep 2024 11:43:21 +0800 Subject: [PATCH 2/2] Update en/appendices/4-0-upgrade-guide.rst has -> have Co-authored-by: Mark Story --- en/appendices/4-0-upgrade-guide.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/en/appendices/4-0-upgrade-guide.rst b/en/appendices/4-0-upgrade-guide.rst index a156ad3ddd..a0a69a8a1e 100644 --- a/en/appendices/4-0-upgrade-guide.rst +++ b/en/appendices/4-0-upgrade-guide.rst @@ -92,7 +92,7 @@ composer commands: Others =============== -Next, ensure your files has been updated to have the same +Next, ensure your files have been updated to have the same method signatures as those found in cakephp/app. #. ``src/Application.php`` at `Application.php `__ on GitHub.