Skip to content

Document missing CakePHP 6.0 changes in the migration guide - #8395

Open
LordSimal wants to merge 1 commit into
6.xfrom
docs/6.x-migration-guide-gaps
Open

LordSimal wants to merge 1 commit into
6.xfrom
docs/6.x-migration-guide-gaps

Conversation

@LordSimal

Copy link
Copy Markdown
Member

Adds the 6.0 changes that the migration guide didn't cover yet. I found them by comparing cakephp/cakephp 6.x against 5.next, then checked each item against the 6.x source.

Besides the migration guide, this PR:

  • replaces "To be defined" in the upgrade guide with a list of the most-used removed deprecated APIs,
  • fixes the outdated Text::parseFileSize() and HtmlHelper::tableCells() signatures,
  • updates the PHPUnit version in the testing docs.

Source changes

Behavior changes / dependencies

Renames / removals

Method signatures

Console / Command

Core / Event

Database

Error

Http

I18n / Utility

ORM

Router

Validation

View

Mailer

New features

Notes for reviewers

  • The typed-constants bullet says subclasses that redefine a core constant must declare a compatible type. That wasn't tested on PHP here, so please double-check the wording.
  • Not changed here: src/I18n/composer.json in cakephp still requires cakephp/chronos: ^3.3, while the root composer.json requires 4.x.

🤖 Generated with Claude Code

Add undocumented breaking changes, behavior changes and new features found
by comparing the cakephp 6.x branch against 5.next, list impactful removed
deprecations in the upgrade guide, and update stale signatures for
Text::parseFileSize(), HtmlHelper::tableCells() and the PHPUnit version.
@LordSimal
LordSimal force-pushed the docs/6.x-migration-guide-gaps branch from aab72d1 to 2ebd939 Compare November 29, 2026 11:51
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.

1 participant