Page MenuHomeSealhub

space-after-control-keywords.lint-test
No OneTemporary

Authored By
Unknown
Size
684 B
Referenced Files
None
Subscribers
None

space-after-control-keywords.lint-test

<?php
if($x) {}
else{}
for(;;) {}
foreach($x as $y) {}
while($x) {}
do{} while($x);
switch($x) {}
if ($x) {}
else if ($y) {}
else if ($z) {}
if ($x) {}
if
($x) {}
if ($x) {
echo 100;
} else {
echo 10;
}
do {
echo 1;
} while(true);
~~~~~~~~~~
warning:2:1
warning:2:10
warning:3:1
warning:4:1
warning:5:1
warning:6:1
warning:7:1
warning:7:6
warning:8:1
warning:9:11
warning:10:16
warning:13:3
warning:14:3
warning:24:3
~~~~~~~~~~
<?php
if ($x) {} else {}
for (;;) {}
foreach ($x as $y) {}
while ($x) {}
do {} while ($x);
switch ($x) {}
if ($x) {} else if ($y) {} else if ($z) {}
if ($x) {}
if ($x) {}
if ($x) {
echo 100;
} else {
echo 10;
}
do {
echo 1;
} while (true);

File Metadata

Mime Type
text/x-php
Expires
Sat, Nov 28, 02:19 (1 d, 16 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1218083
Default Alt Text
space-after-control-keywords.lint-test (684 B)

Event Timeline