Skip to content

Latest commit

 

History

History
109 lines (85 loc) · 5.65 KB

CHANGELOG.md

File metadata and controls

109 lines (85 loc) · 5.65 KB

Changelog

Version 10.1.0

  • Updated the output of the FunctionData->__toString() method.

Version 10.0.0

  • Breaking change: lowercased the Lcov namespace.
  • Breaking change: renamed the Report::fromString() method to parse().
  • Breaking change: the Report::parse() method throws InvalidArgumentException exceptions instead of UnexpectedValueException.
  • The data classes now implement the Stringable interface.
  • Updated the package dependencies.

Version 9.0.0

  • Breaking change: raised the required PHP version.
  • Breaking change: removed the LcovException class and replaced it by the UnexpectedValueException one.
  • Breaking change: renamed the Record class to SourceFile.
  • Breaking change: renamed the Report->records property to sourceFiles.
  • Breaking change: renamed the Report::fromCoverage() method to fromString().
  • Breaking change: replaced the getter/setter methods of most classes by properties.
  • Breaking change: using PHP 8 features, like enumerations, first-class callables and named arguments.

Version 8.3.0

Version 8.2.0

  • Updated the documentation.
  • Updated the package dependencies.

Version 8.1.0

  • Updated the package dependencies.

Version 8.0.0

  • Breaking change: raised the required PHP version.
  • Breaking change: using PHP 7.4 features, like arrow functions and typed properties.

Version 7.0.0

  • Breaking change: using camelcase instead of all caps for constants.

Version 6.2.0

  • Modified the package layout.
  • Updated the package dependencies.

Version 6.1.0

  • Replaced the Phing build system by Robo.
  • Updated the package dependencies.

Version 6.0.0

  • Breaking change: changed the signature of the fromJson() methods.

Version 5.1.0

  • Dropped the dependency on PHPUnit-Expect.

Version 5.0.0

  • Breaking change: raised the required PHP version.
  • Added the offset and source properties to the LcovError class.
  • Added support for phpDocumentor.
  • Updated the package dependencies.

Version 4.1.0

  • Added the LcovException class.

Version 4.0.0

  • Breaking change: raised the required PHP version.
  • Breaking change: using PHP 7.1 features, like nullable types and void functions.
  • Added a user guide based on MkDocs.
  • Updated the package dependencies.

Version 3.0.0

  • Breaking change: changed the signature of the data class constructors.
  • Breaking change: most properties of data classes are now read-only.
  • Breaking change: removed the setData() methods from the coverage classes.
  • Breaking change: removed the setRecords() method from the Report class.

Version 2.0.0

  • Breaking change: renamed the lcov namespace to Lcov.
  • Breaking change: renamed the fromJSON() static methods to fromJson.
  • Breaking change: renamed the Report::parse() static method to fromCoverage.
  • Changed licensing for the MIT License.
  • Changed the naming convention: acronyms and abbreviations are capitalized like regular words, except for two-letter acronyms.
  • Updated the package dependencies.

Version 1.1.0

  • Enabled the strict typing.
  • Replaced phpDocumentor documentation generator by ApiGen.
  • Updated the package dependencies.

Version 1.0.0

  • Ported the unit test assertions from TDD to BDD.
  • Removed the dependency on the cedx/enum module.
  • Updated the package dependencies.

Version 0.4.1

  • Fixed a bug in Report::parse() method.

Version 0.4.0

  • Updated the package dependencies.

Version 0.3.0

  • All classes now implement the JsonSerializable interface.
  • Updated the package dependencies.

Version 0.2.0

  • Breaking change: changed the signature of most constructors.
  • Empty test names are not included in the report output.
  • Updated the package dependencies.

Version 0.1.0

  • Initial release.