-
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 path is not defined #2140
Comments
Please follow the issue template provided. More specifically, update the original comment for this issue by adding a link to the required debug.md gist which includes debugging information that answers our most commonly asked questions. Thank you. |
@Aporie I see the specific issue with the path, that definitely needs to be fixed. But it looks like you are installing it globally. Can you try running |
Hi @szeck87, No I haven't installed it globally (and I don't really want to) :
Whereas :
|
I'm surprised it even got that far. I thought it would error out when checking PHPCBF's version. I have a PR ready to fix this. |
I've tested your PR and it did the trick :) thanks. |
Fixed with v0.32.5. |
Description
Was trying to setup drupal standard for phpcbf so I've made a new global install of it with composer. After entering the new path in the executable, running beautify result in "error path is not defined".
Input Before Beautification
Not relevant
Expected Output
Not relevant
Actual Output
Not relevant
Steps to Reproduce
Setting up path to phpcbf in atom beautify settings
Optionally setting up phpcbf standard to Drupal,DrupalPractice (neither works with PEAR).
Debug
Here is a link to the
debug.md
Gist: https://gist.github.com/Aporie/2e43838a1a2d1af321dd44487862e97cChecklist
I have:
so I know this is not a duplicate issue
Atom Beautify: Help Debug Editor
command in Atom and added link fordebug.md
Gist to this issueThe text was updated successfully, but these errors were encountered: