-
Notifications
You must be signed in to change notification settings - Fork 7
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
Support for php-cs-fixer 2 #76
Comments
TBH, upgrading this package to the new styleci rules and php-cs-fixer will be hard, because there are 26 virtual fixers that don't exist in php-cs-fixer, and the mappings are closed source for now. |
I'm toying with the idea of exposing a config file styleci to php-cs-fixer converter on the API. |
Ok, I've done that then, similar to the "validate" endpoint, just pass the config file as the "config" parameter. For example: https://api.styleci.io/rules?config=preset:%20psr2. Unlike the validate endpoint, empty config is supported. The design decision with not permitting this on the other endpoint was because it was targeted at validation, so we wanted to be sure people weren't accidently passing nothing. On this endpoint, nothing is treated like the empty config file, you get all the rules generated from the recommended preset with risky enabled. |
Just added a wrapper list for version 2: soullivaneuh/styleci-fixers#14 This list must be implemented after merging. |
@core23 Anything better? |
Just tried the latest master versions and the error(s) still occur Btw: There was an other update some days ago: https://styleci.readme.io/docs/change-log |
What is the status on this issue? @core23 have you given up? |
Not working on this anymore, sorry |
Replaced by https://github.com/StyleCI/CLI. |
Are there any plans for supporting the new major release?
Using this config produces some warnings
Are you planing to wrap the old name to the new syntax?
The text was updated successfully, but these errors were encountered: