-
Notifications
You must be signed in to change notification settings - Fork 454
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 Error: Error: Could not find 'php-cs-fixer'. The program may not be installed. #1324
Comments
Since I came from other editors, I'm kind of new with Atom. Can anyone help me with this please? |
Atom-Beautify uses PHP-CS-Fixer for beautifying PHP. There are a number of related issues: https://github.com/Glavin001/atom-beautify/search?q=Error%3A+Could+not+find+%27php-cs-fixer%27.+The+program+may+not+be+installed.&type=Issues&utf8=%E2%9C%93 See https://github.com/FriendsOfPHP/PHP-CS-Fixer for their installation instructions. |
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. |
I fixed this. You need uninstall atom-beautify |
Still having issue...uninstall atom-beautify...but no luck. Not able to beautify php. |
If you've installed php-cs-fixer, make sure you set the path to it in atom beautify. Open Atom Beautify's settings and expand "Executables". Under that, expand "PHP-CS-Fixer" and set the path to it. |
Description
The results of beautification are not what I expect.
Expected Results
The beautified code should have looked like:
Steps to Reproduce
Atom Beautify: Beautify Editor
Debug
Here is a link to the
debug.md
Gist: https://gist.github.com/fe8188e9aecd79601afea771e2803edeChecklist
so I know this is not a duplicate issue
debug.md
Gist to this issueThe text was updated successfully, but these errors were encountered: