From 7625c260cf6298ad9a3002a77bb2cc4a63c992ee Mon Sep 17 00:00:00 2001 From: Craig Davis Date: Sun, 12 Jan 2014 15:23:20 -0700 Subject: [PATCH] Update sniff violations --- src/Resume/Command/HtmlCommand.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/Resume/Command/HtmlCommand.php b/src/Resume/Command/HtmlCommand.php index 1e70928..a52e1c1 100644 --- a/src/Resume/Command/HtmlCommand.php +++ b/src/Resume/Command/HtmlCommand.php @@ -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())); }