-
Notifications
You must be signed in to change notification settings - Fork 453
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
php-cs-fixer not working on win10 #1515
Comments
same here ...
Everything is setup and configured, but same error message, I even tried manually downloading PHP-CS-FIXER and adding its path to Atom Beautify Settings but nothing |
I have a similar issue Still waiting for a possible solution |
i have the same issue. Could not find 'php'. The program may not be installed.
|
I really want to focus on improving the installation experience for users. I have created a new Issue, #1687, to target this problem. Please provide your feedback! Thanks in advance. |
#1687 has been published to v0.30.0. You should now be able to configure the executable/script path in Atom-Beautify package settings: |
See https://github.com/FriendsOfPHP/PHP-CS-Fixer for program installation instructions. Your program is properly installed if running 'where.exe php' in your CMD prompt returns an absolute path to the executable. If this does not work then you have not installed the program correctly and so Atom Beautify will not find the program. Atom Beautify requires that the program be found in your PATH environment variable. Note that this is not an Atom Beautify issue if beautification does not work and the above command also does not work: this is expected behaviour, since you have not properly installed your program. Please properly setup the program and search through existing Atom Beautify issues before creating a new issue. See https://github.com/Glavin001/atom-beautify/search?q=php&type=Issues for related Issues and https://github.com/Glavin001/atom-beautify/tree/master/docs for documentation. If you are still unable to resolve this issue on your own then please create a new issue and ask for help.
This is the error output. I am not sure how to properly install this php-cs-fixer on a win10 PC, the installation guide given in the github page are all for linux. I tired to download the php-cs-fixer.phar and the archive files, set "path to php-cs-fixer" in atom to these files, and it did not work. All the researches I have done lead to linux or osx. Can someone tell me how do deal with it on win10. Thanks
The text was updated successfully, but these errors were encountered: