Skip to content
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

MethodChainingIndentation - fix priority with Braces #4084

Conversation

dmvdbrugge
Copy link
Contributor

Fixes #3854

@SpacePossum SpacePossum changed the title Priority: Braces before MethodChainingIndentation MethodChainingIndentation - fix priority with Braces Nov 12, 2018
@SpacePossum SpacePossum added this to the 2.12.5 milestone Nov 12, 2018
@keradus
Copy link
Member

keradus commented Nov 12, 2018

Thank you @dmvdbrugge.

@keradus keradus merged commit c0358e8 into PHP-CS-Fixer:2.12 Nov 12, 2018
keradus added a commit that referenced this pull request Nov 12, 2018
…rugge)

This PR was merged into the 2.12 branch.

Discussion
----------

MethodChainingIndentation - fix priority with Braces

Fixes #3854

Commits
-------

c0358e8 Priority: Braces before MethodChainingIndentation
@dmvdbrugge dmvdbrugge deleted the 3854-prio-braces-before-method_chaining_indentation branch November 13, 2018 09:26
keradus added a commit that referenced this pull request Feb 3, 2019
… priority issue (dmvdbrugge)

This PR was merged into the 2.12 branch.

Discussion
----------

MethodChainingIndentationFixer, ArrayIndentationFixer - Fix priority issue

Fixes #4271.

Pre-2.12.5 `MethodChainingIndentationFixer` had no priority, I introduced it in #4084. It now needs to be upped because it needs to keep running before `ArrayIndentationFixer`.

Lowering `ArrayIndentationFixer` was not an option as it already has multiple fixers running after it (which are in the `FixerFactoryTest`, but not in its comments, however the comments are already being fixed in #4245).

Commits
-------

a6bd13c MethodChainingIndentationFixer should run before ArrayIndentationFixer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants