fix(formatter): correct argument printing and member access chain logic #477
Annotations
4 warnings and 5 notices
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-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.
|
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
|
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
|