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 a2e8852 commit 6285e7cCopy full SHA for 6285e7c
src/Driver/Xdebug.php
@@ -26,6 +26,11 @@ class Xdebug implements Driver
26
*/
27
private $cacheNumLines = [];
28
29
+ /**
30
+ * @var bool
31
+ */
32
+ private $hasSupportForWhitelistFiltering = false;
33
+
34
/**
35
* Constructor.
36
@@ -41,6 +46,8 @@ public function __construct()
41
46
'xdebug.coverage_enable=On has to be set in php.ini'
42
47
);
43
48
}
49
50
+ $this->hasSupportForWhitelistFiltering = function_exists('xdebug_set_filter');
44
51
45
52
53
@@ -75,7 +82,7 @@ public function stop()
75
82
76
83
public function supportsWhitelistFiltering()
77
84
{
78
- return false;
85
+ return $this->hasSupportForWhitelistFiltering;
79
86
80
87
81
88
0 commit comments