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

Add support for php-cs-fixer v3 #16

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

gerardroche
Copy link
Contributor

The --diff-format was removed in v3, all diffs are now udiff. The
--diff flag can be used to let the fixer output all the changes it
makes in udiff format.
https://github.com/FriendsOfPHP/PHP-CS-Fixer/blob/master/UPGRADE-v3.md

By default the plugin is now configured for PHP-CS-Fixer V3. To enable
V2 configure the phpcsfixer linter. Open SublimeLinter settings e.g. via
the command palette Preferences: Sublime Linter: Settings:

"phpcsfixer": {
    "version": 2
}

Re #13
Close #14

The `--diff-format` was removed in v3, all diffs are now udiff.  The
`--diff flag` can be used to let the fixer output all the changes it
makes in udiff format.
https://github.com/FriendsOfPHP/PHP-CS-Fixer/blob/master/UPGRADE-v3.md

By default the plugin is now configured for PHP-CS-Fixer V3. To enable
V2 configure the phpcsfixer linter. Open SublimeLinter settings e.g. via
the command palette *Preferences: Sublime Linter: Settings*:

```
"phpcsfixer": {
    "version": 2
}
```

Re jhoff#13
Close jhoff#14
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

1 participant