File "ForLoopShouldBeWhileLoopUnitTest.inc"
Full Path: /home/warrior1/public_html/languages/wp-content/themes/storefront/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/CodeAnalysis/ForLoopShouldBeWhileLoopUnitTest.inc
File size: 239 bytes
MIME-type: text/x-php
Charset: utf-8
<?php
for ($i = 0; $i < 10; $i++) {
// Everything is fine
}
for (; $it->valid();) {
$it->next();
}
for (;(($it1->valid() && $foo) || (!$it2->value && ($bar || false)));/*Could be ignored*/) {
$it1->next();
$it2->next();
}