tests/resources/files/Rule/CleanCode/IfStatementAssignment/testRuleAppliesMultipleIfConditions.php 1 location
|
@@ 23-25 (lines=3) @@
|
| 20 |
|
if (1 || 0) { // not applied |
| 21 |
|
// ... |
| 22 |
|
} |
| 23 |
|
if (1 == 1 || 1 && 0 and 4 % 2 || ($foo = 1) xor 5 * 4 * 3 * 2 * 1) { // applied |
| 24 |
|
// ... |
| 25 |
|
} |
| 26 |
|
} |
| 27 |
|
|
tests/resources/files/Rule/CleanCode/IfStatementAssignment/testRuleAppliesToMultilevelIfConditions.php 1 location
|
@@ 47-49 (lines=3) @@
|
| 44 |
|
} |
| 45 |
|
} |
| 46 |
|
} |
| 47 |
|
if (1 == 1 || 1 && 0 and 4 % 2 || ($foo = 1) xor 5 * 4 * 3 * 2 * 1) { // applied |
| 48 |
|
// ... |
| 49 |
|
} |
| 50 |
|
} |
| 51 |
|
|