From 6ee8d473a0322430e79f4c6e6c71d68d91c21aa1 Mon Sep 17 00:00:00 2001 From: Matt Brown Date: Wed, 14 Dec 2016 12:53:11 -0500 Subject: [PATCH] Fix support for includeFiles --- src/Psalm/Config.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Psalm/Config.php b/src/Psalm/Config.php index 942bc8784..b8fdaa21e 100644 --- a/src/Psalm/Config.php +++ b/src/Psalm/Config.php @@ -258,6 +258,10 @@ class Config if (isset($issue_handler->excludeFiles)) { $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); + } } }