feat(formatter): add preserve_breaking_conditional_expression
option
#481
Annotations
4 warnings and 5 notices
Lint composer code:
composer/InstallMagoBinaryCommand.php#L226
Avoid comparing the boolean literal `false`.
Comparisons with a boolean literal can be error-prone.
Help: Review and adjust the logic to remove the boolean literal comparison.
|
Lint composer code:
composer/InstallMagoBinaryCommand.php#L235
Avoid comparing the boolean literal `false`.
Comparisons with a boolean literal can be error-prone.
Help: Review and adjust the logic to remove the boolean literal comparison.
|
Lint composer code:
composer/InstallMagoBinaryCommand.php#L257
Avoid comparing the boolean literal `false`.
Comparisons with a boolean literal can be error-prone.
Help: Review and adjust the logic to remove the boolean literal comparison.
|
Lint composer code:
composer/MagoPlugin.php#L84
Use of the elvis operator.
Help: Use null coalesce operator (`??`) or ternary operator with explicit strict comparison.
|
Lint composer code:
composer/InstallMagoBinaryCommand.php#L267
Avoid else clauses for simpler control flow
Else clauses can usually be removed by using early returns or splitting the logic into smaller functions
Help: Refactor your code to remove the else branch and simplify control flow
|
Lint composer code:
composer/InstallMagoBinaryCommand.php#L244
Avoid else clauses for simpler control flow
Else clauses can usually be removed by using early returns or splitting the logic into smaller functions
Help: Refactor your code to remove the else branch and simplify control flow
|
Lint composer code:
composer/InstallMagoBinaryCommand.php#L237
Avoid else clauses for simpler control flow
Else clauses can usually be removed by using early returns or splitting the logic into smaller functions
Help: Refactor your code to remove the else branch and simplify control flow
|
Lint composer code:
composer/InstallMagoBinaryCommand.php#L259
Avoid else clauses for simpler control flow
Else clauses can usually be removed by using early returns or splitting the logic into smaller functions
Help: Refactor your code to remove the else branch and simplify control flow
|
Lint composer code:
composer/MagoPlugin.php#L96
Avoid else-if clauses for clearer control flow
Else-if clauses often indicate that multiple paths can be handled with early returns or separate functions
Help: Consider refactoring to eliminate the else-if branch
|
Loading