Skip to content

Commit d4f823e

Browse files
Update PHP-Scoper configuration
1 parent 0e631be commit d4f823e

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

build/config/php-scoper.php

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,11 @@
99
*/
1010

1111
return [
12-
'whitelist' => [
13-
'PHPUnit\*',
14-
'Prophecy\*',
12+
'exclude-namespaces' => [
13+
'PHPUnit',
14+
'Prophecy'
15+
],
16+
'expose-constants' => [
17+
'/^__PHPUNIT_.+$/'
1518
],
1619
];

0 commit comments

Comments
 (0)