An open index of dependabot pull requests across open source projects.

Bump phpunit/phpunit from 12.1.0 to 12.2.5

Open
Number: #190
Type: Pull Request
State: Open
Author: dependabot[bot] dependabot[bot]
Association: Contributor
Comments: 0
Created: June 27, 2025 at 03:37 PM UTC
(5 months ago)
Updated: June 27, 2025 at 03:37 PM UTC
(5 months ago)
Labels:
dependencies php
Description:

Bumps phpunit/phpunit from 12.1.0 to 12.2.5.

Release notes

Sourced from phpunit/phpunit's releases.

PHPUnit 12.2.5

Fixed

  • #6249: No meaningful error when <testsuite> element is missing required name attribute

How to install or update PHPUnit

PHPUnit 12.2.4

Changed

  • Including information about the Git repository (such as the commit hash and branch name) in the Open Test Reporting XML format is now an opt-in feature that can be enabled via the --include-git-information CLI option or the includeGitInformation attribute in the XML configuration file

How to install or update PHPUnit

PHPUnit 12.2.3

Added

  • #6236: failOnPhpunitWarning attribute on the <phpunit> element of the XML configuration file and --fail-on-phpunit-warning CLI option for controlling whether PHPUnit should fail on PHPUnit warnings (default: true)
  • #6239: --do-not-fail-on-deprecation, --do-not-fail-on-phpunit-warning, --do-not-fail-on-phpunit-deprecation, --do-not-fail-on-empty-test-suite, --do-not-fail-on-incomplete, --do-not-fail-on-notice, --do-not-fail-on-risky, --do-not-fail-on-skipped, and --do-not-fail-on-warning CLI options
  • --do-not-report-useless-tests CLI option as a replacement for --dont-report-useless-tests

Deprecated

  • --dont-report-useless-tests CLI option (use --do-not-report-useless-tests instead)

Fixed

  • #6243: Constraints cannot be implemented without using internal class ExpectationFailedException

How to install or update PHPUnit

PHPUnit 12.2.2

Fixed

  • #6222: Data Provider seems to mess up Test Dependencies
  • shortenArraysForExportThreshold XML configuration setting has no effect on all arrays exported for event-related value objects

How to install or update PHPUnit

PHPUnit 12.2.1

Fixed

  • #6228: Variadic test methods should not warn about too many arguments from data provider

How to install or update PHPUnit

PHPUnit 12.2.0

Added

Experimental Support for Open Test Reporting XML

... (truncated)

Changelog

Sourced from phpunit/phpunit's changelog.

[12.2.5] - 2025-06-27

Fixed

  • #6249: No meaningful error when <testsuite> element is missing required name attribute

[12.2.4] - 2025-06-26

Changed

  • Including information about the Git repository (such as the commit hash and branch name) in the Open Test Reporting XML format is now an opt-in feature that can be enabled via the --include-git-information CLI option or the includeGitInformation attribute in the XML configuration file

[12.2.3] - 2025-06-20

Added

  • #6236: failOnPhpunitWarning attribute on the <phpunit> element of the XML configuration file and --fail-on-phpunit-warning CLI option for controlling whether PHPUnit should fail on PHPUnit warnings (default: true)
  • #6239: --do-not-fail-on-deprecation, --do-not-fail-on-phpunit-warning, --do-not-fail-on-phpunit-deprecation, --do-not-fail-on-empty-test-suite, --do-not-fail-on-incomplete, --do-not-fail-on-notice, --do-not-fail-on-risky, --do-not-fail-on-skipped, and --do-not-fail-on-warning CLI options
  • --do-not-report-useless-tests CLI option as a replacement for --dont-report-useless-tests

Deprecated

  • #6240: --dont-report-useless-tests CLI option (use --do-not-report-useless-tests instead)

Fixed

  • #6243: Constraints cannot be implemented without using internal class ExpectationFailedException

[12.2.2] - 2025-06-13

Fixed

  • #6222: Data Provider seems to mess up Test Dependencies
  • shortenArraysForExportThreshold XML configuration setting has no effect on all arrays exported for event-related value objects

[12.2.1] - 2025-06-07

Fixed

  • #6228: Variadic test methods should not warn about too many arguments from data provider

[12.2.0] - 2025-06-06

Added

Experimental Support for Open Test Reporting XML

PHPUnit has supported reporting test results in the JUnit XML format for a long time. Unfortunately, there has never been a standard schema for the JUnit XML format. Common consumers of Clover XML log files interpret these files differently, which has led to frequent problems.

To address this, the JUnit team started the Open Test Reporting project, creating and maintaining language-agnostic XML and HTML test reporting formats. Unlike JUnit XML, Open Test Reporting's XML formats are extensible.

... (truncated)

Commits
  • b71849b Prepare release
  • df5f203 Merge branch '11.5' into 12.2
  • 864ab32 Prepare release
  • dfbf89a Merge branch '11.5' into 12.2
  • d3d8b78 Closes #6249
  • f1f7643 Add test showing current behaviour when testsuite is missing name attribute...
  • 63f7846 Prepare release
  • fc57142 Strip credentials from Git repository URL
  • 74d2ac6 Do not include information about the Git repository in the Open Test Reportin...
  • d775d50 Merge branch '11.5' into 12.2
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Pull Request Statistics
Commits:
1
Files Changed:
1
Additions:
+89
Deletions:
-45
Package Dependencies
Ecosystem:
packagist
Version Change:
12.1.0 → 12.2.5
Update Type:
Minor
Technical Details
ID: 2380504
UUID: 2624758605
Node ID: PR_kwDOHtZA286ccqNN
Host: GitHub
Repository: makeitstrict/php-leetcode
Merge State: Unknown