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.
2 parents 2227851 + 0704328 commit 97142f6Copy full SHA for 97142f6
1 file changed
src/AspectMock/Kernel.php
@@ -19,6 +19,8 @@ public function init(array $options = [])
19
{
20
if (!isset($options['excludePaths'])) {
21
$options['excludePaths'] = [];
22
+ } elseif (!is_array($options['excludePaths'])) {
23
+ $options['excludePaths'] = [ $options['excludePaths'] ];
24
}
25
$options['debug'] = true;
26
$options['excludePaths'][] = __DIR__;
0 commit comments