Skip to content

Add BreadcrumbsHelper title to content rector rule for CakePHP 6.0#385

Open
dereuromark wants to merge 1 commit into6.xfrom
rector/breadcrumbs-title-to-content
Open

Add BreadcrumbsHelper title to content rector rule for CakePHP 6.0#385
dereuromark wants to merge 1 commit into6.xfrom
rector/breadcrumbs-title-to-content

Conversation

@dereuromark
Copy link
Member

Summary

Adds a rector rule for the BreadcrumbsHelper 'title' to 'content' rename in CakePHP 6.0.

This rule transforms:

  • Array keys: ['title' => 'Home']['content' => 'Home']
  • Named parameters: add(title: 'Home')add(content: 'Home')
  • matchingTitle parameter → matchingContent for insertBefore/insertAfter

Affected methods

  • add()
  • addMany()
  • prepend()
  • prependMany()
  • insertAt()
  • insertBefore()
  • insertAfter()

Refs cakephp/cakephp#18334

@dereuromark dereuromark changed the base branch from 5.x to 6.x February 5, 2026 07:22
@dereuromark dereuromark added this to the 6.x milestone Feb 5, 2026
@dereuromark dereuromark force-pushed the rector/breadcrumbs-title-to-content branch from 8ed4a95 to 9d85774 Compare February 5, 2026 07:40
@dereuromark dereuromark force-pushed the rector/breadcrumbs-title-to-content branch from 9d85774 to 0d6ecee Compare February 5, 2026 08:58
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