We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e9eb271 commit 7dda60aCopy full SHA for 7dda60a
src/Driver/XdebugDriver.php
@@ -37,9 +37,15 @@ public function __construct(Filter $filter)
37
}
38
39
if ($filter->hasWhitelist()) {
40
+ if (\defined('XDEBUG_PATH_WHITELIST')) {
41
+ $listType = \XDEBUG_PATH_WHITELIST;
42
+ } else {
43
+ $listType = \XDEBUG_PATH_INCLUDE;
44
+ }
45
+
46
\xdebug_set_filter(
47
\XDEBUG_FILTER_CODE_COVERAGE,
- \XDEBUG_PATH_WHITELIST,
48
+ $listType,
49
$filter->getWhitelist()
50
);
51
0 commit comments