Skip to content

Commit 0edc9f8

Browse files
Merge branch '8.5' into 9.3
2 parents 514f355 + bc968ed commit 0edc9f8

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

ChangeLog-8.5.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22

33
All notable changes of the PHPUnit 8.5 release series are documented in this file using the [Keep a CHANGELOG](https://keepachangelog.com/) principles.
44

5+
## [8.5.9] - 2020-MM-DD
6+
7+
### Fixed
8+
9+
* [#4470](https://github.com/sebastianbergmann/phpunit/pull/4470): Infinite recursion when `--static-backup --strict-global-state` is used
10+
511
## [8.5.8] - 2020-06-22
612

713
### Fixed
@@ -77,6 +83,7 @@ All notable changes of the PHPUnit 8.5 release series are documented in this fil
7783
* [#3967](https://github.com/sebastianbergmann/phpunit/issues/3967): Cannot double interface that extends interface that extends `\Throwable`
7884
* [#3968](https://github.com/sebastianbergmann/phpunit/pull/3968): Test class run in a separate PHP process are passing when `exit` called inside
7985

86+
[8.5.9]: https://github.com/sebastianbergmann/phpunit/compare/8.5.8...8.5
8087
[8.5.8]: https://github.com/sebastianbergmann/phpunit/compare/8.5.7...8.5.8
8188
[8.5.7]: https://github.com/sebastianbergmann/phpunit/compare/8.5.6...8.5.7
8289
[8.5.6]: https://github.com/sebastianbergmann/phpunit/compare/8.5.5...8.5.6

src/Framework/TestCase.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2298,6 +2298,7 @@ private function createGlobalStateSnapshot(bool $backupGlobals): Snapshot
22982298
$excludeList->addClassNamePrefix('Symfony');
22992299
$excludeList->addClassNamePrefix('Doctrine\Instantiator');
23002300
$excludeList->addClassNamePrefix('Prophecy');
2301+
$excludeList->addStaticAttribute(ComparatorFactory::class, 'instance');
23012302

23022303
foreach ($this->backupStaticAttributesExcludeList as $class => $attributes) {
23032304
foreach ($attributes as $attribute) {

0 commit comments

Comments
 (0)