We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
As it was decided on Developers Chat (Feb 20, 2023) we need create new PHPCS rule for ternary operators.
Split long condition onto several lines, keeping the question mark and the colon at the front
$b = $condition3 && $condition4 ? $foo_man_this_is_too_long_what_should_i_do : $bar;
There is currently no rule for formatting.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
As it was decided on Developers Chat (Feb 20, 2023) we need create new PHPCS rule for ternary operators.
Expected Behavior
Split long condition onto several lines, keeping the question mark and the colon at the front
Current Behavior
There is currently no rule for formatting.
The text was updated successfully, but these errors were encountered: