Skip to content
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 beautify: PHP-CS-Fixer not working #753

Closed
ghost opened this issue Jan 17, 2016 · 6 comments
Closed

PHP beautify: PHP-CS-Fixer not working #753

ghost opened this issue Jan 17, 2016 · 6 comments

Comments

@ghost
Copy link

ghost commented Jan 17, 2016

I cannot use for PHP files since I always get the error message:
Could not find 'php-cs-fixer'. The program may not be installed.

Then I added PHP-CS-Fixer path where php-cs-fixer.phar file is being located and then gave a test to get alternative error message:
Could not find 'php'. The program may not be installed.

That all happens on Windows 10 OS while I was on Ubuntu I managed to install PHP-CS-Fixer successfully and everything was just fine.

I hope anyone could offer fix for this issue soon.

@superDuperCyberTechno
Copy link

Sounds like you need to install PHP: https://www.youtube.com/watch?v=6Y6lOHov3Bk

@ghost
Copy link
Author

ghost commented Jan 19, 2016

What that mean?, I use Wamp Server.

@superDuperCyberTechno
Copy link

If I'm right, you need to install PHP which makes Windows able to execute PHP programs. Using WAMP doesn't install PHP on Windows as you might think (as far as I know). The video should be pretty self-explanatory.

I have PHP installed in this manner and I haven't gotten this error.

@ghost
Copy link
Author

ghost commented Jan 21, 2016

@superDuperCyberTechno I followed this tutorial on Installing PHP on Windows. It is all about to ensure Windows can find PHP, I had to change the path environment variable to my PHP directory.

Thanks for sharing the idea. No atom beautify can do PHP files 👍

@Glavin001
Copy link
Owner

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.

@sutato
Copy link

sutato commented Jan 7, 2018

when I run the code of Python with beautify ,the system shows 'connet ECONNREFUSED 127.0.0.1:36805. I can't fix it . May I ask for help ? My system is Ubuntu

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants