Skip to content

Conversation

@private-packagist
Copy link
Contributor

This PR was automatically generated by Conductor.

The PR contains the changes generated by running the following command:

composer update phpunit/phpunit:10.5.48 --with-all-dependencies --minimal-changes

Changelog

phpunit/phpunit (Source: GitHub Releases))

10.5.48

Fixed

  • #6254: defects,randomconfiguration is supported by implementation, but it is not allowed by the XML configuration file schema

How to install or update PHPUnit

10.5.47

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

10.5.46

Added

  • displayDetailsOnAllIssues attribute on the <phpunit> element of the XML configuration file and --display-all-issues CLI option for controlling whether PHPUnit should display details on all issues that are triggered (default: false)
  • failOnAllIssues attribute on the <phpunit> element of the XML configuration file and --fail-on-all-issues CLI option for controlling whether PHPUnit should fail on all issues that are triggered (default: false)

Changed

  • #5956: Improved handling of deprecated E_STRICT constant
  • Improved message when test is considered risky for printing unexpected output

How to install or update PHPUnit

10.5.45

Changed

  • #6117: Include source location information for issues triggered during test in --debug output
  • #6119: Improve message for errors that occur while parsing attributes

How to install or update PHPUnit

10.5.44

Fixed

  • #6115: Backed enumerations with values not of type string cannot be used in customized TestDox output

How to install or update PHPUnit

10.5.43

Changed

  • Do not skip execution of test that depends on a test that is larger than itself

How to install or update PHPUnit

10.5.42

Fixed

  • #6103: Output from test run in separate process is printed twice
  • #6109: Skipping a test in a before-class method crashes JUnit XML logger
  • #6111: Deprecations cause SourceMapper to scan all <source/> files

How to install or update PHPUnit

10.5.41

Added

  • Test\AfterLastTestMethodErrored, Test\AfterTestMethodErrored, Test\BeforeTestMethodErrored, Test\PostConditionErrored, and Test\PreConditionErrored events

Fixed

  • #6094: Errors in after-last-test methods are not reported
  • #6095: Expectation is not counted correctly when a doubled method is called more often than is expected
  • #6098: No system-out element in JUnit XML logfile

How to install or update PHPUnit

10.5.40

Fixed

  • #6082: assertArrayHasKey(), assertArrayNotHasKey(), arrayHasKey(), and ArrayHasKey::__construct() do not support all possible key types
  • #6087: --migrate-configuration does not remove beStrictAboutTodoAnnotatedTests attribute from XML configuration file

How to install or update PHPUnit

10.5.39

Added

  • #6081: DefaultResultCache::mergeWith() for merging result cache instances

Fixed

  • #6066: TeamCity logger does not handle error/skipped events in before-class methods correctly

How to install or update PHPUnit

10.5.38

Changed

  • #6012: Remove empty lines between TeamCity events

How to install or update PHPUnit

10.5.37

Fixed

  • #5982: Typo in exception message

How to install or update PHPUnit

10.5.36

Changed

  • #5957: Skip data provider build when requirements are not satisfied
  • #5969: Check for requirements before creating a separate process
  • Updated regular expressions used by StringMatchesFormatDescription constraint to be consistent with PHP's run-tests.php

Fixed

  • #5965: PHPUnit\Framework\Exception does not handle string error codes (PDOException with error code 'HY000', for example)

How to install or update PHPUnit

10.5.35

Changed

  • #5956: Deprecation of the E_STRICT constant in PHP 8.4

Fixed

  • #5950: TestDox text should not be trim()med when it contains $ character
  • The attribute parser will no longer try to instantiate attribute classes that do not exist

How to install or update PHPUnit

10.5.34

Fixed

  • #5931: Reverted addition of name property on <testsuites> element in JUnit XML logfile
  • #5946: Callback throws a TypeError when checking a callable has variadic parameters

How to install or update PHPUnit

10.5.33

Fixed

  • #4584: assertJsonStringEqualsJsonString() considers objects with sequential numeric keys equal to be arrays
  • #4625: Generator yielding keys that are neither integer or string leads to hard-to-understand error message when used as data provider
  • #4674: JSON assertions should treat objects as unordered
  • #5891: Callback constraint does not handle variadic arguments correctly when used for mock object expectations
  • #5929: TestDox output containing $ at the beginning gets truncated when used with a data provider

How to install or update PHPUnit

10.5.32

Added

  • #5937: failOnPhpunitDeprecation attribute on the <phpunit> element of the XML configuration file and --fail-on-phpunit-deprecation CLI option for controlling whether PHPUnit deprecations should be considered when determining the test runner's shell exit code (default: do not consider)
  • displayDetailsOnPhpunitDeprecations attribute on the <phpunit> element of the XML configuration file and --display-phpunit-deprecations CLI option for controlling whether details on PHPUnit deprecations should be displayed (default: do not display)

Changed

  • #5937: PHPUnit deprecations will, by default, no longer affect the test runner's shell exit code. This can optionally be turned back on using the --fail-on-phpunit-deprecation CLI option or the failOnPhpunitDeprecation="true" attribute on the <phpunit> element of the XML configuration file.
  • Details for PHPUnit deprecations will, by default, no longer be displayed. This can optionally be turned back on using the --display-phpunit-deprecations CLI option or the displayDetailsOnPhpunitDeprecations attribute on the <phpunit> element of the XML configuration file.

How to install or update PHPUnit

10.5.31

Changed

  • #5931: name property on <testsuites> element in JUnit XML logfile
  • Removed .phpstorm.meta.php file as methods such as TestCase::createStub() use generics / template types for their return types and PhpStorm, for example, uses that information

Fixed

  • #5884: TestDox printer does not consider that issues can be suppressed by attribute, baseline, source location, or @​ operator

How to install or update PHPUnit

10.5.30

Changed

  • Improved error message when stubbed method is called more often than return values were configured for it

How to install or update PHPUnit

10.5.29

Fixed

  • #5887: Issue baseline generator does not correctly handle ignoring suppressed issues
  • #5908: --list-tests and --list-tests-xml CLI options do not report error when data provider method throws exception

How to install or update PHPUnit

10.5.28

Fixed

  • #5898: Test\Passed event is not emitted for PHPT tests
  • --coverage-filter CLI option could not be used multiple times

How to install or update PHPUnit

10.5.27

Changed

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

Fixed

  • #5892: Errors during write of phpunit.xml are not handled correctly when --generate-configuration is used

How to install or update PHPUnit

Task options

If you close the PR, the task will be skipped and Conductor will schedule the next task. Clicking the "Skip" button in the UI has the same effect. Conductor won't attempt to update the dependency to this exact version again but it will schedule updates to newer versions.


Powered by Private Packagist

Conductor executed the following commands:
composer update phpunit/phpunit:10.5.48 --with-all-dependencies --minimal-changes
@private-packagist
Copy link
Contributor Author

composer.lock

Dev Package changes

Package Operation From To About
phpunit/phpunit upgrade 10.5.26 10.5.48 diff

Settings · Docs · Powered by Private Packagist

@pscheit pscheit merged commit ed2e470 into main Jul 22, 2025
1 check passed
@private-packagist private-packagist bot deleted the conductor-phpunit-phpunit-43746 branch July 22, 2025 10:21
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.

2 participants