Skip to content

Add missing View and TestSuite property renames for CakePHP 6.0#386

Open
dereuromark wants to merge 1 commit into6.xfrom
add-view-testsuite-property-renames
Open

Add missing View and TestSuite property renames for CakePHP 6.0#386
dereuromark wants to merge 1 commit into6.xfrom
add-view-testsuite-property-renames

Conversation

@dereuromark
Copy link
Member

@dereuromark dereuromark commented Feb 6, 2026

Summary

Adds property rename rules for packages that were missing from the CakePHP 6.0 rector configuration:

  • View package: View, ViewBuilder, ViewBlock, Cell, Helper, FormHelper, HtmlHelper, TextHelper, UrlHelper, StringTemplate, WidgetLocator, various widgets, form contexts
  • TestSuite package: IntegrationTestTrait, TestCase, StringCompareTrait, EventFired constraints
  • Validation: ValidatorAwareTrait
  • Log: SyslogLog._levelMap

These properties follow the PSR naming convention change from underscore-prefixed to non-prefixed names (e.g., $_helpers$helpers).

This ensures user code that extends these classes will be automatically updated when running the upgrade tool.

Note:
│ I18n*::$_toStringFormat │ Conflicts with Chronos parent │ Left unchanged

Adds property rename rules for:
- View package: View, ViewBuilder, ViewBlock, Cell, Helper, FormHelper,
  HtmlHelper, TextHelper, UrlHelper, StringTemplate, WidgetLocator,
  various widgets, form contexts
- TestSuite package: IntegrationTestTrait, TestCase, StringCompareTrait,
  EventFired constraints
- Validation: ValidatorAwareTrait
- Log: SyslogLog._levelMap

These properties follow the PSR naming convention change from
underscore-prefixed to non-prefixed names.
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