You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I saw it, this felt off, but the presence of that testcase convinced me it was the correct behaviour 😞 thanks for confirming my doubts and fixing it 😄👍
It is a test case from ExplicitStringVariableFixer: https://github.com/FriendsOfPHP/PHP-CS-Fixer/blob/1c9553ac16b1d10ea891c6f739aa9215d16de024/tests/Fixer/StringNotation/ExplicitStringVariableFixerTest.php#L117-L118
But it is wrong,
MY_CONSTANT
is not a constant in that case (see #3913), so it needs quotes in the explicit style.The text was updated successfully, but these errors were encountered: