Commit 0f923114 authored by Felix Flor's avatar Felix Flor

Merge branch '13-bug-spaces-in-line' into 'master'

Resolve "BUG/spaces in line"

Closes #13

See merge request code-mesa/aphpbreakdown!10
parents 838eb8e9 fe2f0163
# PHP Storm Directory
\ No newline at end of file
......@@ -20,8 +20,10 @@ $filesToCheck = searchDirectoryForFiles($path);
$ignoredModulesFile = $path.'/.aphpbreakdown-ignored-modules';
$GLOBALS['ignored_php_modules'] = array();
if(\file_exists($ignoredModulesFile) && \is_readable($ignoredModulesFile))
if(\file_exists($ignoredModulesFile) && \is_readable($ignoredModulesFile)){
$GLOBALS['ignored_php_modules'] = \file($ignoredModulesFile, FILE_IGNORE_NEW_LINES|FILE_SKIP_EMPTY_LINES);
$GLOBALS['ignored_php_modules'] = \array_map('trim', $GLOBALS['ignored_php_modules']);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment