Atom-beautify: PHP-CS-Fixer Path configuration option has been deprecated

Created on 30 Aug 2017  路  11Comments  路  Source: Glavin001/atom-beautify

I'm a PHP developer, One day, I used atom-beautify, There's a problem, The error of a yellow toolbox was reported.
_The "PHP - PHP-CS-Fixer Path (cs_fixer_path)" configuration option has been deprecated. Please switch to using the option in section "Executables" (near the top) in subsection "PHP-CS-Fixer" labelled "Path" in Atom-Beautify package settings._
It's all available before.
So, I wonder what the reason is?How do I do that?
thinks

stale

Most helpful comment

It's in the Atom preferences -> Atom Beautify settings. If you click on Executables it will list a bunch of languages and packages. Click on PHP-CS-Fixer and it will have one text box for the path.

screen shot 2017-09-05 at 2 59 37 pm

All 11 comments

ok,I meet the same problem too
But the problem does not seem to prevent atom-beautify formatting our php code锛孖f that can solve the problem that is the best :D
oh,my english is not very good 锛宻o i can see you mean ,but i dont know how to say, i have to need
google help me ,sry my friend

Have the same problem...

It's in the Atom preferences -> Atom Beautify settings. If you click on Executables it will list a bunch of languages and packages. Click on PHP-CS-Fixer and it will have one text box for the path.

screen shot 2017-09-05 at 2 59 37 pm

@tangzhibo317 @MorrowindAJi @Axel186 Did those directions fix the deprecation warning?

Still getting this error - I think I have to reinstall my Atom. Maybe it's some OS issues (I am using Linux)...

But any way, you can see that PHP-CS-Fixer path is there, and the file is really exists and works.

screenshot from 2017-09-12 19-15-25

Or maybe I missing something else?

@Axel186 Try putting the path in the Executables setting PHP-CS-Fixer (like screenshot from my previous comment) and not under the PHP setting where you have it.

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.

@szeck87, You're right! That was confusing...

The issue fixed for me, thank you!

I have the same issue in windows and i tried all the options above

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.

it was to enter the path (C: / user / ....) in the executables option PHP-CS-FIXER and not in settings-PHP

Was this page helpful?
0 / 5 - 0 ratings