Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Feb 7, 2025

This PR contains the following updates:

Package Change Age Confidence
phpunit/php-code-coverage ^10 -> ^12 age confidence

Release Notes

sebastianbergmann/php-code-coverage (phpunit/php-code-coverage)

v12.4.0: phpunit/php-code-coverage 12.4.0

Compare Source

Added
  • #​1095: Support for light/dark mode in HTML report

v12.3.8: phpunit/php-code-coverage 12.3.8

Compare Source

Fixed
  • #​1092: Error in DOMDocument::saveXML() is not handled
  • #​1094: No branch and path coverage in HTML report

v12.3.7: phpunit/php-code-coverage 12.3.7

Compare Source

Changed
  • Do not use __sleep() method (which will be deprecated in PHP 8.5)

v12.3.6: phpunit/php-code-coverage 12.3.6

Compare Source

Fixed
  • #​1091: HTML report renderer uses code coverage driver

v12.3.5: phpunit/php-code-coverage 12.3.5

Compare Source

Changed
  • #​1090: Only export properties for configuration, code coverage data, and test results when serializing CodeCoverage

v12.3.4: phpunit/php-code-coverage 12.3.4

Compare Source

Changed
  • Improved performance of MapBuilder::build()

v12.3.3: phpunit/php-code-coverage 12.3.3

Compare Source

Changed
  • #​1085: Improve performance by skipping empty lines after filter has been applied

v12.3.2: phpunit/php-code-coverage 12.3.2

Compare Source

Changed
  • Add coverage and complexity columns to class and method complexity tables
  • Add CRAP to graph tooltip
Fixed
  • #​1081: Class complexity scatter chart tooltips show incorrect class

v12.3.1: phpunit/php-code-coverage 12.3.1

Compare Source

Changed
  • Changed CSS for HTML report to not use common ligatures as this sometimes lead to hard-to-read code
  • Updated Bootstrap to version 5.3.6 for HTML report

v12.3.0: phpunit/php-code-coverage 12.3.0

Compare Source

Changed
  • #​1080: Support for reporting code coverage information in OpenClover XML reporter; unlike the existing Clover XML reporter, which remains unchanged, this new reporter validates against the OpenClover project's XML schema definition, with one exception: we do not generate <testproject> element. This feature is experimental and the generated XML might change in order to improve compliance with the OpenClover project's XML schema definition further. Such changes will be made in bugfix and/or minor releases even if they break backward compatibility.

v12.2.1: phpunit/php-code-coverage 12.2.1

Compare Source

Changed
  • Safeguard file_get_contents() call with is_file() call to avoid problems with error handlers that act on suppressed warnings

v12.2.0: phpunit/php-code-coverage 12.2.0

Compare Source

Changed
  • #​1074: Use more efficient AttributeParentConnectingVisitor
  • #​1076: Replace unmaintained JavaScript library for charts with billboard.js
  • Reduced number of I/O and hashing operations when using the static analysis cache
  • Use SHA-256 instead of MD5 to generate cache keys for static analysis cache (as SHA-256 is significantly faster than MD5 with PHP >= 8.4 on modern CPUs)

v12.1.2: phpunit/php-code-coverage 12.1.2

Compare Source

Fixed
  • #​1069: Check for unintentionally covered code is wrong

v12.1.1: phpunit/php-code-coverage 12.1.1

Compare Source

Fixed
  • Child classes of child classes are not considered for ClassesThatExtendClass target

v12.1.0: phpunit/php-code-coverage 12.1.0

Compare Source

Changed
  • CacheWarmer::warmCache() now returns the number of cache hits and cache misses

v12.0.5: phpunit/php-code-coverage 12.0.5

Compare Source

Fixed
  • #​1064: Code Coverage targets are handled in case-sensitive manner

v12.0.4: phpunit/php-code-coverage 12.0.4

Compare Source

Fixed
  • #​1063: HTML report highlights argument named fn differently than other named arguments

v12.0.3: phpunit/php-code-coverage 12.0.3

Compare Source

Fixed
  • #CoversClass does not target code in parent class(es)

v12.0.2: phpunit/php-code-coverage 12.0.2

Compare Source

Changed
  • Changed version identifier for static analysis cache from "MD5 over source code" to Version::id()

v12.0.1: phpunit/php-code-coverage 12.0.1

Compare Source

Fixed
  • #​1061: Enumerations cannot be targeted for code coverage

v12.0.0: phpunit/php-code-coverage 12.0.0

Compare Source

Changed
  • CodeCoverage::stop() and CodeCoverage::append() now expect arguments of type TargetCollection instead of array to configure code coverage targets
Removed
  • Method CodeCoverage::detectsDeadCode()
  • Optional argument $linesToBeUsed of CodeCoverage::stop() and CodeCoverage::append() methods
  • This component is no longer supported on PHP 8.2
  • This component no longer supports Xdebug versions before Xdebug 3.1

v11.0.11: phpunit/php-code-coverage 11.0.11

Compare Source

Changed
  • #​1085: Improve performance by skipping empty lines after filter has been applied

v11.0.10: phpunit/php-code-coverage 11.0.10

Compare Source

Changed
  • Changed CSS for HTML report to not use common ligatures as this sometimes lead to hard-to-read code
  • Updated Bootstrap to version 5.3.6 for HTML report

v11.0.9: phpunit/php-code-coverage 11.0.9

Compare Source

Changed
  • Changed version identifier for static analysis cache from "MD5 over source code" to Version::id()
  • The SebastianBergmann\CodeCoverage\Filter::includeUncoveredFiles() and SebastianBergmann\CodeCoverage\Filter::excludeUncoveredFiles() methods are no longer deprecated
Fixed
  • #​1063: HTML report highlights argument named fn differently than other named arguments

v11.0.8: phpunit/php-code-coverage 11.0.8

Compare Source

Changed
  • #​1054: Use click event for toggling "tests covering this line" popover in HTML report

v11.0.7: phpunit/php-code-coverage 11.0.7

Compare Source

Changed
  • #​1037: Upgrade Bootstrap to version 5.3.3 for HTML report
  • #​1046: CSS fixes for HTML report
Deprecated
  • The SebastianBergmann\CodeCoverage\Filter::includeUncoveredFiles(), SebastianBergmann\CodeCoverage\Filter::excludeUncoveredFiles(), and SebastianBergmann\CodeCoverage\Filter::excludeFile() methods have been deprecated

v11.0.6: phpunit/php-code-coverage 11.0.6

Compare Source

Changed
  • Updated dependencies (so that users that install using Composer's --prefer-lowest CLI option also get recent versions)

v11.0.5: phpunit/php-code-coverage 11.0.5

Compare Source

Changed
  • This project now uses PHPStan instead of Psalm for static analysis

v11.0.4: phpunit/php-code-coverage 11.0.4

Compare Source

Fixed
  • #​967: Identification of executable lines for match expressions does not work correctly

v11.0.3: phpunit/php-code-coverage 11.0.3

Compare Source

Fixed
  • #​1033: @codeCoverageIgnore annotation does not work on enum

v11.0.2

Compare Source

v11.0.1

Compare Source

v11.0.0

Compare Source


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot requested a review from drupol as a code owner February 7, 2025 05:48
@what-the-diff
Copy link

what-the-diff bot commented Feb 7, 2025

PR Summary

  • Upgrade of PHP Code Coverage Library
    The version of "phpunit/php-code-coverage" has been updated from version 10 to version 12. This upgrade brings with it the latest updates and refinements from the library, resulting in potentially improved code coverage reports.

@renovate renovate bot force-pushed the renovate/phpunit-php-code-coverage-12.x branch from 0f8f921 to 0f268cf Compare March 10, 2025 14:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant