diff --git a/develop/spellchecker.php b/develop/spellchecker.php index 593b1c68..d0d9aa19 100644 --- a/develop/spellchecker.php +++ b/develop/spellchecker.php @@ -20,7 +20,7 @@ foreach ($iterator as $file_info) { $file_path = $file_info->getPath(); $file = $file_info->getFilename(); - if ($file === 'spellchecker.php') + if ($file === 'spellchecker.php' || strpos(realpath($file_path), 'board3/portal/develop') !== false || strpos(realpath($file_path), 'board3/portal/vendor') !== false) { continue; } @@ -111,3 +111,7 @@ if (strlen($output) > 0) { exit(1); } +else +{ + echo("Done. Tests passed." . ((PHP_SAPI == 'cli') ? "\n" : '
')); +}