1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-27 04:45:20 +01:00

Fix support for includeFiles

This commit is contained in:
Matt Brown 2016-12-14 12:53:11 -05:00
parent 154d023a9d
commit 6ee8d473a0

View File

@ -258,6 +258,10 @@ class Config
if (isset($issue_handler->excludeFiles)) { if (isset($issue_handler->excludeFiles)) {
$config->issue_handlers[$key] = FileFilter::loadFromXML($issue_handler->excludeFiles, false); $config->issue_handlers[$key] = FileFilter::loadFromXML($issue_handler->excludeFiles, false);
} }
if (isset($issue_handler->includeFiles)) {
$config->issue_handlers[$key] = FileFilter::loadFromXML($issue_handler->includeFiles, true);
}
} }
} }