Update sniff violations

This commit is contained in:
Craig Davis 2014-01-12 15:23:20 -07:00
parent f4c5f62807
commit 7625c260cf

View File

@ -107,8 +107,9 @@ class HtmlCommand extends Command
// Our PHAR deployment can't handle the GlobAsset typically used here
foreach (new \DirectoryIterator($cssAssetPath) as $fileInfo) {
if ($fileInfo->isDot()) continue;
if (!$fileInfo->isFile()) continue;
if ($fileInfo->isDot() || !$fileInfo->isFile()) {
continue;
}
array_push($cssAssets, new FileAsset($fileInfo->getPathname()));
}