8000 Standardize the name of the container builder variable 5.4 by alamirault · Pull Request #17683 · symfony/symfony-docs · GitHub
[go: up one dir, main page]

Skip to content

Standardize the name of the container builder variable 5.4 #17683

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

Conversation

alamirault
Copy link
Contributor

Like ContainerConfigurator $containerConfigurator, use always ContainerBuilder $containerBuilder.

I think $container can be confusing

@carsonbot carsonbot added this to the 5.4 milestone Jan 7, 2023
@alamirault alamirault force-pushed the feature/standardize-container-builder-variable-54 branch from 5985d52 to 745f9db Compare January 7, 2023 15:13
Copy link
Contributor
@OskarStark OskarStark left a comment

Choose a reason for hiding this comment

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

🙏

@javiereguiluz
Copy link
Member

Nice! Thanks Antoine

@javiereguiluz javiereguiluz merged commit ae687ab into symfony:5.4 Jan 7, 2023
javiereguiluz added a commit that referenced this pull request Jan 9, 2023
….1 (alamirault)

This PR was merged into the 6.1 branch.

Discussion
----------

Standardize the name of the container builder variable 6.1

#17683 For 6.1 branch (6.0 is ok)

Commits
-------

bfa6910 Standardize the name of the container builder variable 6.1
@alamirault alamirault deleted the feature/standardize-container-builder-variable-54 branch May 9, 2023 11:11
OskarStark added a commit that referenced this pull request May 19, 2023
This PR was merged into the 5.4 branch.

Discussion
----------

Use "$container" consistently

Takes the other road from #17683 as discussed in #18295

Using `$containerBuilder` and `$containerConfigurator` is unnecessarily long, consuming horizontal space without adding any clarity.

This also aligns the name `$container` with existing practice in the code and in recipes.

Commits
-------

26d021c Use "$container" consistently
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.

4 participants
0