-
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
Warning about "php cs fixer" #1732
Comments
The solution is in the error message:
I will elaborate. Go into Atom-Beautify package settings. Before (currently what you have):^ Delete it from there. After (new correct way):Does this help? How would you recommend I change this error message so it would be clear what to do? |
@nicholas-ooi, you had the same question from #1725 (comment) How would you recommend I change this error message to be more clear? |
@Glavin001 Thank you. |
@LIANGWEIBIAO what do you think would make this message clearer and more self explanatory? |
Perhaps we could change:
To:
|
Thank you for your feedback @ryanpcmcquen! Before:
After:
I think this is an improvement. Let's go even further, how about the following:
I'm not sure about Please keep the feedback coming! I will make this change in the next couple days and publish. |
I like near the top! I just found the wording confusing, although I am not sure |
Awesome! Changing it to the following now:
Will be in the next release. |
How do you get the menu "PHP-CS-FIXER" below PHP? |
@peterstavrou |
Published to v0.30.4 The error message should now be:
|
it is so difficult to find the PHP-CS-Fixer under the Executables ~~ |
@treasu is it? This is what it looks like: Any recommendations for how it could be improved? |
Just a small add on, for those who is confuse and cannot find the "PHP-CS-Fixer" |
This is a mess really. I have tried everything to update the php cs fixer path, in executables section, in php cs fixer path ,removed one of them to keep the other , nothing works. The warning continues. |
@Samnan the applicable line of code can be found at https://github.com/Glavin001/atom-beautify/blob/master/src/beautifiers/php-cs-fixer.coffee#L92-L93 if options.cs_fixer_path
@deprecateOptionForExecutable("PHP-CS-Fixer", "PHP - PHP-CS-Fixer Path (cs_fixer_path)", "Path") Where If you find there is an issue, I recommend creating a @treasu and @k2levin if you have recommendations for how to improve the deprecation message, please let me know and preferably submit a Pull Request changing the code found at https://github.com/Glavin001/atom-beautify/blob/master/src/beautifiers/beautifier.coffee#L99-L101 |
Description
An alert appears after updating to version 0.30.2.
The "PHP - PHP-CS-Fixer Path (cs_fixer_path)" configuration option has been deprecated. Please switch to using the option named "Executables - PHP-CS-Fixer - Path" in Atom-Beautify package settings now.
There was no problem in previous versions.
How should we solve it?
The text was updated successfully, but these errors were encountered: