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

New ruleset "@PhpCsFixer" #3916

Merged
merged 1 commit into from Dec 28, 2018
Merged

Conversation

gharlan
Copy link
Contributor

@gharlan gharlan commented Jul 14, 2018

I suggest to add new rulesets "@PhpCsFixer" and "@PhpCsFixer:risky".

Reason: I would like to use the standards recommended by this org.

I would only add fixers to these rulesets, that are really recommended by this org, not fixers you are using because of your min php version (like list_syntax=long).

@gharlan gharlan force-pushed the ruleset-phpcsfixer branch 2 times, most recently from 2997388 to 7899c1c Compare July 14, 2018 11:46
@localheinz
Copy link
Member

@gharlan

I think it would be great if rulesets could be concrete classes, perhaps for 3.0?

@SpacePossum
Copy link
Contributor

👍 for this :)

@keradus
Copy link
Member

keradus commented Dec 28, 2018

sounds interesting and I see ppl like it.
(i didn't added it myself for a reason of what @localheinz is asking for)

yet, we have already some conflicts here,
@gharlan , can you target 2.12 branch, please ?
it would easier the maintainance

@gharlan gharlan changed the base branch from master to 2.12 December 28, 2018 16:37
# Conflicts:
#	.php_cs.dist
#	README.rst
@gharlan
Copy link
Contributor Author

gharlan commented Dec 28, 2018

@gharlan , can you target 2.12 branch, please ?

done.

@keradus keradus added this to the 2.12.5 milestone Dec 28, 2018
@keradus
Copy link
Member

keradus commented Dec 28, 2018

Thank you @gharlan.

@keradus keradus merged commit d3c2ac9 into PHP-CS-Fixer:2.12 Dec 28, 2018
keradus added a commit that referenced this pull request Dec 28, 2018
This PR was merged into the 2.12 branch.

Discussion
----------

New ruleset "@PhpCsFixer"

I suggest to add new rulesets "@PhpCsFixer" and "@PhpCsFixer:risky".

Reason: I would like to use the standards recommended by this org.

I would only add fixers to these rulesets, that are really recommended by this org, not fixers you are using because of your min php version (like list_syntax=long).

Commits
-------

d3c2ac9 New ruleset "@PhpCsFixer"
@keradus
Copy link
Member

keradus commented Dec 28, 2018

I propagated the idea up to 3.0, considering changes we done in config file on those branches

@gharlan gharlan deleted the ruleset-phpcsfixer branch December 28, 2018 20:54
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.

None yet

4 participants