diff --git a/build/config/php-scoper.php b/build/config/php-scoper.php index 14609a8e054..99d637c7a40 100644 --- a/build/config/php-scoper.php +++ b/build/config/php-scoper.php @@ -13,9 +13,11 @@ 'PHPUnit', 'Prophecy' ], + 'expose-classes' => [ '/^PHP_Token.*$/' ], + 'expose-constants' => [ '/^__PHPUNIT_.+$/' ],