1.2.413. Empty Instructions¶
Empty instructions are part of the code that have no instructions.
This may be trailing semi-colon or empty blocks for if-then structures.
Comments that explains the reason of the situation are not taken into account.
<?php
$condition = 3;;;;
if ($condition) { }
?>
1.2.413.1. Suggestions¶
Remove the empty lines
Fill the empty lines
1.2.413.2. Specs¶
Short name |
Structures/EmptyLines |
Rulesets |
|
Exakat since |
0.8.4 |
PHP Version |
All |
Severity |
Minor |
Time To Fix |
Instant (5 mins) |
Precision |
High |
Examples |
|
Available in |