The results of beautification are not what I expect.
The beautified code should have looked like:
<INSERT CODE HERE>
Atom Beautify: Beautify EditorHere is a link to the debug.md Gist: https://gist.github.com/e9b1ea1349ffa8d0fbf2035fb49fe1fc
debug.md Gist to this issue2016-10-10T12:31:44.158Z - debug: [beautifiers/beautifier.coffee] spawn /usr/local/bin/php-cs-fixer 0=fix, 1=/tmp/temp116910-1931-cm1hra
2016-10-10T12:31:44.189Z - debug: [beautifiers/beautifier.coffee] error Error: spawn EACCES
The error is Error: spawn EACCES and you may need to change the file permissions so it is executable: http://stackoverflow.com/a/19026627/2578205
sudo chmod -R a+rwx /usr/local/bin/php-cs-fixer
Changing file permissions did not resolve this for me. I continued to get this message until I realized that I needed to specify the full file path for php-cs-fixer in the atom-beautify package settings. Before, I was just specifying the directory path (e.g. I was specifying the executable path as /Users/me/.composer/vendor/bin instead of /Users/me/.composer/vendor/bin/php-cs-fixer).
Silly me, but maybe someone else will make the same mistake and see this.
@trevorhreed What OS are you on?
MacOS (High Sierra)
Most helpful comment
Changing file permissions did not resolve this for me. I continued to get this message until I realized that I needed to specify the full file path for php-cs-fixer in the
atom-beautifypackage settings. Before, I was just specifying the directory path (e.g. I was specifying the executable path as/Users/me/.composer/vendor/bininstead of/Users/me/.composer/vendor/bin/php-cs-fixer).Silly me, but maybe someone else will make the same mistake and see this.