You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: ChangeLog-14.0.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,12 +8,12 @@ All notable changes are documented in this file using the [Keep a CHANGELOG](htt
8
8
9
9
*`SebastianBergmann\CodeCoverage\Serialization\Serializer` class for serializing `SebastianBergmann\CodeCoverage\CodeCoverage` objects in a versioned format to a file
10
10
*`SebastianBergmann\CodeCoverage\Serialization\Unserializer` class for unserializing `SebastianBergmann\CodeCoverage\CodeCoverage` objects from a file creating using `SebastianBergmann\CodeCoverage\Serialization\Serializer`
11
+
*`SebastianBergmann\CodeCoverage\Report\Facade` class for generating reports from both `SebastianBergmann\CodeCoverage\CodeCoverage` objects (using `Facade::fromObject()`) as well as from data unserialized with `SebastianBergmann\CodeCoverage\Serialization\Unserializer::unserialize()` (using `Facade::fromSerializedData()`)
11
12
*[#925](https://github.com/sebastianbergmann/php-code-coverage/issues/925): Serialized code coverage data (generated using PHPUnit's `--coverage-php`, for example) should use relative paths
12
13
13
14
### Changed
14
15
15
-
* The `process()` methods of the `SebastianBergmann\CodeCoverage\Report` classes no longer accept `SebastianBergmann\CodeCoverage\CodeCoverage` objects, pass the result of `SebastianBergmann\CodeCoverage\CodeCoverage::getReport()` instead
16
-
* In addition to the above, the `process()` method of `SebastianBergmann\CodeCoverage\Report\Xml\Facade` requires the result of `SebastianBergmann\CodeCoverage\CodeCoverage::getTests()`
16
+
* The report generation classes are now internal; the new `SebastianBergmann\CodeCoverage\Report\Facade` class must be used for report generation
17
17
* The format of the file written by `SebastianBergmann\CodeCoverage\Serialization\Serializer` is incompatible with the format of the file that was written by `SebastianBergmann\CodeCoverage\Report\PHP` in the past
18
18
* The `<build>` element and its children of the XML report generated by `SebastianBergmann\CodeCoverage\Report\Xml\Facade` require the optional arguments to be passed to the `process()` method
19
19
* The `TestSize` and `TestStatus` value objects are now enumerations
0 commit comments