Skip to content

Modernize Laravel route style - #4157

Merged
williamjallen merged 1 commit into
Kitware:masterfrom
williamjallen:route-style
Oct 28, 2026
Merged

williamjallen merged 1 commit into
Kitware:masterfrom
williamjallen:route-style

Conversation

@williamjallen

Copy link
Copy Markdown
Member

Routes were historically specified by class@method strings, which not all IDEs can detect. This changes the format to [class, method] callable arrays for all controllers without an __invoke method.

@josephsnyder josephsnyder left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here. LGTM and will merge after rebase!

@josephsnyder
josephsnyder added this pull request to the merge queue Oct 28, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to a conflict with the base branch Oct 28, 2026
Routes were historically specified by `class@method` strings, which not all IDEs can detect.  This changes the format to `[class, method]` callable arrays for all controllers without an `__invoke` method.
@williamjallen
williamjallen added this pull request to the merge queue Oct 28, 2026
Merged via the queue into Kitware:master with commit 2d92070 Oct 28, 2026
15 of 16 checks passed
@williamjallen
williamjallen deleted the route-style branch October 28, 2026 17:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants