Skip to content

Fixing line length to avoid horizontal scrolling in DI component #1744

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 2 commits into from
Oct 7, 2012

Conversation

richardmiller-zz
Copy link
Contributor

No description provided.

@@ -128,14 +128,24 @@ custom tag::
{
public function process(ContainerBuilder $container)
{
if (false === $container->hasDefinition('acme_mailer.transport_chain')) {
if (false === $container->hasDefinition(
Copy link
Member

Choose a reason for hiding this comment

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

you could change it to if (!container->hasDefinition()) { instead of false ===. It would follow the Sf2 CS and save 9 chars in the line

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good point, updated, thanks.

weaverryan added a commit that referenced this pull request Oct 7, 2012
Fixing line length to avoid horizontal scrolling in DI component
@weaverryan weaverryan merged commit c712fdf into symfony:2.0 Oct 7, 2012
@weaverryan
Copy link
Member

Love it!

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.

3 participants