From cf9457eb131531d0e4360ab78dfe77d568ff5fea Mon Sep 17 00:00:00 2001 From: Sebastian Bergmann Date: Wed, 16 Mar 2022 17:23:42 +0100 Subject: [PATCH] Closes #4934 --- ChangeLog-8.5.md | 7 +++++++ build/config/php-scoper.php | 3 +++ 2 files changed, 10 insertions(+) diff --git a/ChangeLog-8.5.md b/ChangeLog-8.5.md index 8e9d0490d2e..b6c11bfcb28 100644 --- a/ChangeLog-8.5.md +++ b/ChangeLog-8.5.md @@ -2,6 +2,12 @@ All notable changes of the PHPUnit 8.5 release series are documented in this file using the [Keep a CHANGELOG](https://keepachangelog.com/) principles. +## [8.5.25] - 2022-MM-DD + +### Fixed + +* [#4934](https://github.com/sebastianbergmann/phpunit/issues/4934): Code Coverage does not work with PHPUnit 8.5.24 PHAR on PHP 7 + ## [8.5.24] - 2022-03-05 - #StandWithUkraine ### Changed @@ -207,6 +213,7 @@ All notable changes of the PHPUnit 8.5 release series are documented in this fil * [#3967](https://github.com/sebastianbergmann/phpunit/issues/3967): Cannot double interface that extends interface that extends `\Throwable` * [#3968](https://github.com/sebastianbergmann/phpunit/pull/3968): Test class run in a separate PHP process are passing when `exit` called inside +[8.5.25]: https://github.com/sebastianbergmann/phpunit/compare/8.5.24...8.5 [8.5.24]: https://github.com/sebastianbergmann/phpunit/compare/8.5.23...8.5.24 [8.5.23]: https://github.com/sebastianbergmann/phpunit/compare/8.5.22...8.5.23 [8.5.22]: https://github.com/sebastianbergmann/phpunit/compare/8.5.21...8.5.22 diff --git a/build/config/php-scoper.php b/build/config/php-scoper.php index c783a25f5d2..14609a8e054 100644 --- a/build/config/php-scoper.php +++ b/build/config/php-scoper.php @@ -13,6 +13,9 @@ 'PHPUnit', 'Prophecy' ], + 'expose-classes' => [ + '/^PHP_Token.*$/' + ], 'expose-constants' => [ '/^__PHPUNIT_.+$/' ],