-
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
Can't get PHPCBF to work #1768
Comments
This indicates they are not properly installed. It should at least work in your CMD prompt before Atom-Beautify is able to pick it up. I see in your logs you have the following
Your PHPCBF executable is installed at So first things first, you should fix your |
Okay, I have installed it to both my system and user PATH variable. The user one seems to be the right one, because after I did that and executed 'where.exe phpcbf', it gave me the path c:\Users\Jordan\PHP_CodeSniffer\bin\phpcbf and c:\Users\Jordan\PHP_CodeSniffer\bin\phpcbf.bat. So I think it's installed correctly, however it still does not work in Atom. Please see gist https://gist.github.com/jordan-webdev/8d8132d395203c00d26ef63dcdebcfd0 |
Your Path looks good now:
Did you restart Atom after changing? I see in your logs the following error:
Could you try running the following in your CMD Prompt?
What is the result? I think you should configure Atom-Beautify's path to be |
Yes, I restarted. Result = """@php_bin@" is not recognized as an internal or external command, operable program or batch file. |
After running Did you try the following? I expect this one to work.
And did you read and try my next recommendation?
|
This issue has been automatically marked as stale because it has not had recent activity. If this is still an issue, please add a comment. It will be closed if no further activity occurs. Thank you for your contributions. |
Description
I've been having trouble getting PHP-CS-Fixer to work, so now I am trying PHPCBF, but that won't even find the executable. I followed the steps on https://github.com/Glavin001/atom-beautify#beautifiers and https://github.com/squizlabs/PHP_CodeSniffer#installation. I tried the CURL and git clone methods, however, if I run "where.exe phpcbf" in my CMD prompt, I get no result, even though I actually see the file on my computer.
Debug
Here is a link to the
debug.md
Gist: https://gist.github.com/jordan-webdev/a3c24b4ff895f4b77037e4194bb10f83The text was updated successfully, but these errors were encountered: