diff --git a/ChangeLog-9.3.md b/ChangeLog-9.3.md index 3c213c182db..8ecd7917555 100644 --- a/ChangeLog-9.3.md +++ b/ChangeLog-9.3.md @@ -13,6 +13,7 @@ All notable changes of the PHPUnit 9.3 release series are documented in this fil ### Fixed * [#4405](https://github.com/sebastianbergmann/phpunit/issues/4405): Location for (current version of) XML Schema for XML configuration file has changed +* Default value for `` XML configuration attribute was `false` instead of `true` ## [9.3.3] - 2020-08-08 diff --git a/src/TextUI/XmlConfiguration/Loader.php b/src/TextUI/XmlConfiguration/Loader.php index dfde93c71c2..d372a6c1626 100644 --- a/src/TextUI/XmlConfiguration/Loader.php +++ b/src/TextUI/XmlConfiguration/Loader.php @@ -1002,7 +1002,7 @@ private function phpunit(string $filename, DOMDocument $document): PHPUnit } return new PHPUnit( - $this->getBooleanAttribute($document->documentElement, 'cacheResult', false), + $this->getBooleanAttribute($document->documentElement, 'cacheResult', true), $cacheResultFile, $this->getColumns($document), $this->getColors($document),