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 composer script "format-win" for Windows users #85

Closed
wants to merge 2 commits into from
Closed

Add composer script "format-win" for Windows users #85

wants to merge 2 commits into from

Conversation

jotaelesalinas
Copy link
Contributor

On Windows sytems, composer format fails because the commands diff and patch do not exist.

Script "format-win" allows phpcbf to work properly on Windows by adding the switch --no-patch as suggested here: squizlabs/PHP_CodeSniffer#458 .

Fixes #84.

Script "format-win" allows `phpcbf` to work on Windows systems, where
the commands `diff` and `patch` are not available.
@jotaelesalinas jotaelesalinas changed the title Add composer script "format-win" Add composer script "format-win" for Windows users Aug 20, 2016
@jotaelesalinas
Copy link
Contributor Author

jotaelesalinas commented Apr 20, 2017

This change is not needed any more. composer fix-style works on Windows.

@jotaelesalinas jotaelesalinas deleted the format-win branch April 20, 2017 21:40
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.

1 participant