Skip to content

Commit

Permalink
Fix default value of cacheResult XML configuration attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianbergmann committed Aug 10, 2020
1 parent 4b829f2 commit a89b9ae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions ChangeLog-9.3.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 `<phpunit cacheResult="true|false">` XML configuration attribute was `false` instead of `true`

## [9.3.3] - 2020-08-08

Expand Down
2 changes: 1 addition & 1 deletion src/TextUI/XmlConfiguration/Loader.php
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down

0 comments on commit a89b9ae

Please sign in to comment.