All notable changes of the PHPUnit 8.5 release series are documented in this file using the Keep a CHANGELOG principles.
8.5.9 - 2020-MM-DD
- #4470: Infinite recursion when
--static-backup --strict-global-state
is used
8.5.8 - 2020-06-22
8.5.7 - 2020-06-21
- #4299: "No tests executed" does not always result in exit code
1
- #4306: Exceptions during code coverage driver initialization are not handled correctly
8.5.6 - 2020-06-15
- #4211:
phpdbg_*()
functions are scoped toPHPUnit\phpdbg_*()
8.5.5 - 2020-05-22
- #4033: Unexpected behaviour when
$GLOBALS
is deleted
8.5.4 - 2020-04-23
- Changed how
PHPUnit\TextUI\Command
passes warnings toPHPUnit\TextUI\TestRunner
8.5.3 - 2020-03-31
- #4017: Do not suggest refactoring to something that is also deprecated
- #4133:
expectExceptionMessageRegExp()
has been removed in PHPUnit 9 without a deprecation warning being given in PHPUnit 8 - #4139: Cannot double interfaces that declare a constructor with PHP 8
- #4144: Empty objects are converted to empty arrays in JSON comparison failure diff
8.5.2 - 2020-01-08
eval-stdin.php
has been removed, it was not used anymore since PHPUnit 7.2.7
8.5.1 - 2019-12-25
eval-stdin.php
can now only be executed withcli
andphpdbg
- #3983: Deprecation warning given too eagerly
8.5.0 - 2019-12-06
- #3911: Support combined use of
addMethods()
andonlyMethods()
- #3949: Introduce specialized assertions
assertFileEqualsCanonicalizing()
,assertFileEqualsIgnoringCase()
,assertStringEqualsFileCanonicalizing()
,assertStringEqualsFileIgnoringCase()
,assertFileNotEqualsCanonicalizing()
,assertFileNotEqualsIgnoringCase()
,assertStringNotEqualsFileCanonicalizing()
, andassertStringNotEqualsFileIgnoringCase()
as alternative to usingassertFileEquals()
etc. with optional parameters