Skip to content

Commit a89b9ae

Browse files
Fix default value of cacheResult XML configuration attribute
1 parent 4b829f2 commit a89b9ae

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

ChangeLog-9.3.md

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ All notable changes of the PHPUnit 9.3 release series are documented in this fil
1313
### Fixed
1414

1515
* [#4405](https://github.com/sebastianbergmann/phpunit/issues/4405): Location for (current version of) XML Schema for XML configuration file has changed
16+
* Default value for `<phpunit cacheResult="true|false">` XML configuration attribute was `false` instead of `true`
1617

1718
## [9.3.3] - 2020-08-08
1819

src/TextUI/XmlConfiguration/Loader.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1002,7 +1002,7 @@ private function phpunit(string $filename, DOMDocument $document): PHPUnit
10021002
}
10031003

10041004
return new PHPUnit(
1005-
$this->getBooleanAttribute($document->documentElement, 'cacheResult', false),
1005+
$this->getBooleanAttribute($document->documentElement, 'cacheResult', true),
10061006
$cacheResultFile,
10071007
$this->getColumns($document),
10081008
$this->getColors($document),

0 commit comments

Comments
 (0)