Skip to content

Commit c9f25ee

Browse files
Merge branch '9.3'
2 parents 4f62d10 + b77f2da commit c9f25ee

File tree

3 files changed

+15
-0
lines changed

3 files changed

+15
-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

ChangeLog-9.3.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 9.3 release series are documented in this file using the [Keep a CHANGELOG](https://keepachangelog.com/) principles.
44

5+
## [9.3.12] - 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
## [9.3.11] - 2020-09-24
612

713
* No changes; `phpunit.phar` rebuilt with updated dependencies
@@ -243,6 +249,7 @@ If you have an XML configuration file that validates against [PHPUnit 9.2's XML
243249
* [#4396](https://github.com/sebastianbergmann/phpunit/issues/4396): Deprecate confusing parameter options for XML assertions
244250
* The `cacheTokens` attribute is no longer supported in XML configuration files
245251

252+
[9.3.12]: https://github.com/sebastianbergmann/phpunit/compare/9.3.11...9.3
246253
[9.3.11]: https://github.com/sebastianbergmann/phpunit/compare/9.3.10...9.3.11
247254
[9.3.10]: https://github.com/sebastianbergmann/phpunit/compare/9.3.9...9.3.10
248255
[9.3.9]: https://github.com/sebastianbergmann/phpunit/compare/9.3.8...9.3.9

src/Framework/TestCase.php

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

23042305
foreach ($this->backupStaticAttributesExcludeList as $class => $attributes) {
23052306
foreach ($attributes as $attribute) {

0 commit comments

Comments
 (0)