Skip to content

[TwigBridge] Fix casing of getCurrentRoute/getCurrentRouteParameters methods #48434

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 2, 2022
Merged

[TwigBridge] Fix casing of getCurrentRoute/getCurrentRouteParameters methods #48434

merged 1 commit into from
Dec 2, 2022

Conversation

Kocal
Copy link
Member

@Kocal Kocal commented Dec 1, 2022

Q A
Branch? 6.2
Bug fix? yes
New feature? no
Deprecations? no
Tickets Fix #...
License MIT
Doc PR -

Following of #47535, those two methods were named like this in order to get app.current_route and app.current_route_parameters, however PHPStorm autocomplete for app.current_Route and app.current_Route_Parameters.

I'm not sure if this is a PHPStorm-only issue or not.

Before:
image

After:
image

@carsonbot
Copy link

Hey!

Thanks for your PR. You are targeting branch "6.2" but it seems your PR description refers to branch "6.3 for features / 5.4, 6.0, 6.1, or 6.2 for bug fixes ".
Could you update the PR description or change target branch? This helps core maintainers a lot.

Cheers!

Carsonbot

@Kocal Kocal changed the title [TwigBridge] Fix casing of currentRoute/currentRouteParameters methods [TwigBridge] Fix casing of getCurrentRoute/getCurrentRouteParameters methods Dec 1, 2022
@Kocal Kocal marked this pull request as draft December 1, 2022 23:12
@Kocal Kocal marked this pull request as ready for review December 1, 2022 23:12
@Kocal
Copy link
Member Author

Kocal commented Dec 1, 2022

Well, looks like I broke Carson... 😬

@fabpot
Copy link
Member

fabpot commented Dec 2, 2022

Thank you @Kocal.

@fabpot fabpot merged commit 3444c1e into symfony:6.2 Dec 2, 2022
@Kocal Kocal deleted the fix/twig-bridge-route-methods branch December 2, 2022 09:48
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.

5 participants