Skip to content

[2.6] CS Fixes And Removed An Unused Import #12872

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

Closed
wants to merge 2 commits into from
Closed

[2.6] CS Fixes And Removed An Unused Import #12872

wants to merge 2 commits into from

Conversation

GrahamCampbell
Copy link
Contributor

Q A
Bug fix? no
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets N/A
License MIT
Doc PR N/A
This pull request fixes some cs issues in symfony 2.6.

This is the sequel to #12856.

{
return $this->name;
}
public function getName()
Copy link
Member

Choose a reason for hiding this comment

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

This also needs to be applied to the constructor.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

That's odd. I'll report this bug to the php-cs-fixer repo.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Manually fixed this. Thanks for pointing this out @xabbuh.

See PHP-CS-Fixer/PHP-CS-Fixer#797.

@keradus
Copy link
Member

keradus commented Dec 6, 2014

👍

@fabpot
Copy link
Member

fabpot commented Dec 7, 2014

Thank you @GrahamCampbell.

fabpot added a commit that referenced this pull request Dec 7, 2014
…ell)

This PR was squashed before being merged into the 2.6 branch (closes #12872).

Discussion
----------

[2.6] CS Fixes And Removed An Unused Import

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | N/A
| License       | MIT
| Doc PR        | N/A

##### This pull request fixes some cs issues in symfony 2.6.

This is the sequel to #12856.

Commits
-------

2f10a0a [2.6] CS Fixes And Removed An Unused Import
@fabpot fabpot closed this Dec 7, 2014
@GrahamCampbell GrahamCampbell deleted the 2.6-cs branch December 7, 2014 20:37
@GrahamCampbell
Copy link
Contributor Author

@fabpot Is there any chance you could do a 2.6 -> 2.7 merge please?

@fabpot
Copy link
Member

fabpot commented Dec 8, 2014

done

@GrahamCampbell
Copy link
Contributor Author

Thanks. I probably won't have time to do this now though. Will send a pull to the 2.7 branch on tuesday morning.

xabbuh added a commit to xabbuh/symfony that referenced this pull request Dec 8, 2014
Modify the expected line value which was affected by the move of the
`__LINE__` constant in symfony#12872 to make tests pass again.
@GrahamCampbell
Copy link
Contributor Author

@fabpot There are actually no more cs fixes to be made to 2.7 that weren't already done in 2.6, so there will be no pull from me. :)

@@ -196,7 +196,7 @@ protected function getDriver(ContainerBuilder $container)
* @return string a service definition name
*
* @throws ParameterNotFoundException if none of the managerParameters has a
* non-empty value.
* non-empty value.

Choose a reason for hiding this comment

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

looks weird?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Well, that's now it's meant to look? Either that, or we shunt it all onto one line?

fabpot added a commit that referenced this pull request Dec 12, 2014
…(xabbuh)

This PR was merged into the 2.6 branch.

Discussion
----------

[HttpKernel] fix DumpDataCollectorTest after CS changes

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets |
| License       | MIT
| Doc PR        |

Modify the expected line value which was affected by the move of the
`__LINE__` constant in #12872 to make tests pass again.

Commits
-------

1917b70 fix DumpDataCollectorTest after CS changes
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.

5 participants