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

Running php-cs-fixer fix #28

Merged
merged 2 commits into from
Feb 22, 2016

Conversation

Sam-Burns
Copy link
Member

Ran php-cs-fixer fix src/ --level=psr2 and php-cs-fixer fix tests/ --level=psr2.

@Sam-Burns Sam-Burns force-pushed the php-cs-fixer branch 3 times, most recently from 164895b to 6d0a070 Compare February 22, 2016 22:27
Sam-Burns added a commit that referenced this pull request Feb 22, 2016
@Sam-Burns Sam-Burns merged commit 0f575e8 into AcclimateContainer:master Feb 22, 2016
@Sam-Burns Sam-Burns deleted the php-cs-fixer branch February 22, 2016 22:46
@GrahamCampbell
Copy link
Contributor

Maybe setup https://styleci.io/?

@Sam-Burns
Copy link
Member Author

@GrahamCampbell that's a good idea, I'll look into it. Maybe with Scrutinizer checks already running, we should be able to spot any issues in future PRs though? I'll find out more about what styleci can offer.

@GrahamCampbell
Copy link
Contributor

StyleCI can offer full automation for CS fixing including sending and merging PRs both at request, or, automatically on push.

It's good to separate this from scrutinzier so StyleCI can focus on the cs, travis on the tests, and scrutinizer on the static analysis and code inspection. I find that scrutinizer does a poor job of dealing with cs.


NB I'm maybe biased because I'm lead dev for StyleCI.

@GrahamCampbell
Copy link
Contributor

StyleCI is particularly good when it comes to merging external PRs with cs issues. If you've got auto sending/merging turned on, after you merge a PR, StyleCI can merge the fixes straight after. This means contributors don't need to worry about cs anymore, and people can focus on the code, not the cs. This is very useful in Laravel for example.

@shrikeh
Copy link
Contributor

shrikeh commented Jul 10, 2017

@Sam-Burns would you like a hand with this?

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