-
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
PHPCBF stopped working altogether after v0.30.1. Throws 'Could not find 'PHPCBF'. The program may not be installed' #1730
Comments
@prasadfutballer please subscribe to this Issue. From #1725 (comment)
|
@avivais Thanks for reporting. I will be fixing this ASAP (likely tonight). Please downgrade to last working version, |
@Glavin001 thank you for the (very) fast response! I just updated PHPCBF via composer to 2.9.1 (stable) by Squiz (And not 3.0.1 as you mentioned).
How do you suggest I downgrade? Won't it (Beautify package that is) keep being updated automatically? |
I'm not familiar with any auto-updating package functionality in Atom. Maybe I missed it -- I manually choose when to update my packages. Downgrading Atom-Beautify would be:
The quote block above was from another user, who has the exact same issue, on another PHPCBF version. Atom-Beautify is having troubles parsing the version. It expects |
@avivais I actually upgraded PHPcode_sniffer to 3.0.0, then it stopped working, then tried downgrading to 2.9.0 and still had this issue. So right now i am running PHPcode_sniffer 2.6.0 whicch works perfectly with atom beautify 0.29.26 As glavin001 suggested, to download atom beautify use the command |
Published fixes to v0.30.2 |
* master: (79 commits) Update changelog [skip ci] Prepare 0.30.2 release Fixes Glavin001#1030. Add support for alpha versions of autopep8 Fixes Glavin001#1725. Fix version parsing of PHP executable Fixes Glavin001#1730. Correctly parse PHPCBF version and improve handling of Executable See Glavin001#1708. Re-generate documentation for Fortran file extension changes Prepare 0.30.1 release Prepare changelog for v0.30.1 See Glavin001#1725. Update changelog Fixes Glavin001#1725. Improve PHP-CS-Fixer support with handling script path Update changelog. See Glavin001#1030. Fix Glavin001#1030. Autopep8 Executable did not handle older and newer versions Prepare 0.30.0 release See Glavin001#1687. Update README, remove note about Executables now that it is supported See Glavin001#1687. Update Changelog with info about Executables Add Greenkeeper badge See Glavin001#1687. Update README docs to include details about Executables and Docker support Add more dependencies to next-update and greenkeep ignore list See Glavin001#1687. Fix typos in Travis CI config See Glavin001#1687. Install Sass-convert and Uncrustify beautifiers via Docker for Linux Travis CI build ... # Conflicts: # README.md
@Glavin001 updated to v0.30.2 and still get the "Error parsing PHPCS response". This is my updated debug.md |
Looks like I have an error: https://github.com/Glavin001/atom-beautify/blob/master/src/beautifiers/phpcbf.coffee#L63 @avivais Pull requests welcome, by the way 😄 . May be quicker than me patching and retrying, since your system setup is likely differently than my own. |
@Glavin001 point taken :) Actually that error message was the linter, not the beautifier - Sorry on that (Though it did help discovering the path issue ;) ). Thanks again |
After last update I cannot beautify using PHPCBF anymore.
Previously, it worked "out-of-the-box", now even when setting the path explicitly it still complains about not finding the executable
Running on latest macOS Sierra (10.12.5)
debug.md
The text was updated successfully, but these errors were encountered: