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

Revert to php-cs-fixer 1.x and run fixer #927

Merged
merged 1 commit into from May 8, 2017

Conversation

robfrawley
Copy link
Collaborator

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

The move to php-cs-fixer 2.x was done without migrating the .styleci.yml rules. This pull request reverts our require-dev dependency back to 1.x, amends the .php_cs.dist file for simplicity, and includes fixes from a php-cs-fixer run.

We'll be stuck with this version until the following are fixed:

@robfrawley robfrawley added Level: Bug 🐞 This item involves a legitimate regression (bug) to existing functionality. State: Reviewing This item is being reviewed to determine if it should be accepted. labels May 8, 2017
@robfrawley robfrawley added this to the 1.8.0 milestone May 8, 2017
@cedricziel
Copy link
Collaborator

We should think about using the phar instead of pulling it in our dependency tree.

@cedricziel cedricziel merged commit 610d4f5 into liip:1.0 May 8, 2017
@lsmith77 lsmith77 removed the State: Reviewing This item is being reviewed to determine if it should be accepted. label May 8, 2017
@robfrawley robfrawley mentioned this pull request May 8, 2017
@shakaran
Copy link

@robfrawley it seems that Style CI has given up with upgrade to 2.x php-cs-fixer, so probably it is better rewrite the .php_cs file instead and use new version and forget about .styleci.yml

@robfrawley
Copy link
Collaborator Author

@shakaran Yes, I know the state of Style CI integration with php-cs-fixer is stalled. This was simply a quick fix; a more long-term solution needs to be implemented, for sure.

@shakaran
Copy link

@robfrawley would you accept a PR where I implement the exact same filters/fixers, etc in the .php_cs file? So php-cs-fixer 2.x version could be used again?

@robfrawley
Copy link
Collaborator Author

robfrawley commented Aug 30, 2017

Sure would. ;-)

@shakaran
Copy link

@robfrawley Done PR #992

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Level: Bug 🐞 This item involves a legitimate regression (bug) to existing functionality.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants