Skip to content

feat(formatter): add preserve_breaking_conditional_expression option #482

feat(formatter): add preserve_breaking_conditional_expression option

feat(formatter): add preserve_breaking_conditional_expression option #482

Triggered via pull request March 9, 2025 02:00
Status Success
Total duration 5m 52s
Artifacts

ci.yml

on: pull_request
Matrix: build-and-test
Fit to window
Zoom out
Zoom in

Annotations

4 warnings and 5 notices
best-practices/no-boolean-literal-comparison: 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.
best-practices/no-boolean-literal-comparison: 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.
best-practices/no-boolean-literal-comparison: 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.
strictness/no-shorthand-ternary: composer/MagoPlugin.php#L84
Use of the elvis operator. Help: Use null coalesce operator (`??`) or ternary operator with explicit strict comparison.
best-practices/no-else-clause: 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
best-practices/no-else-clause: 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
best-practices/no-else-clause: 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
best-practices/no-else-clause: 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
best-practices/no-else-clause: 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