Update dependency phpunit/phpunit to v11.5.42 #453
+128
−60
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Note
Mend has cancelled the proposed renaming of the Renovate GitHub app being renamed to
mend[bot]
.This notice will be removed on 2025-10-07.
This PR contains the following updates:
11.5.6
->11.5.42
Release Notes
sebastianbergmann/phpunit (phpunit/phpunit)
v11.5.42
: PHPUnit 11.5.42Compare Source
Fixed
failOnPhpunitWarning="false"
has no effectLearn how to install or update PHPUnit 11.5 in the documentation.
Keep up to date with PHPUnit:
v11.5.41
: PHPUnit 11.5.41Compare Source
phpunit.phar
rebuilt with updated dependenciesLearn how to install or update PHPUnit 11.5 in the documentation.
Keep up to date with PHPUnit:
v11.5.40
: PHPUnit 11.5.40Compare Source
phpunit.phar
rebuilt with updated dependenciesLearn how to install or update PHPUnit 11.5 in the documentation.
Keep up to date with PHPUnit:
v11.5.39
: PHPUnit 11.5.39Compare Source
Changed
__sleep()
and__wakeup()
from test double code generation on PHP >= 8.5Learn how to install or update PHPUnit 11.5 in the documentation.
Keep up to date with PHPUnit:
v11.5.38
: PHPUnit 11.5.38Compare Source
Changed
Learn how to install or update PHPUnit 11.5 in the documentation.
Keep up to date with PHPUnit:
v11.5.37
: PHPUnit 11.5.37Compare Source
Changed
__sleep()
method (which will be deprecated in PHP 8.5)Learn how to install or update PHPUnit 11.5 in the documentation.
Keep up to date with PHPUnit:
v11.5.36
: PHPUnit 11.5.36Compare Source
Fixed
Learn how to install or update PHPUnit 11.5 in the documentation.
Keep up to date with PHPUnit:
v11.5.35
: PHPUnit 11.5.35Compare Source
Changed
#[IgnorePhpunitDeprecations]
is now considered for test runner deprecations (where applicable)Learn how to install or update PHPUnit 11.5 in the documentation.
Keep up to date with PHPUnit:
v11.5.34
Compare Source
v11.5.33
: PHPUnit 11.5.33Compare Source
Changed
error_reporting=E_ALL
for--check-php-configuration
Fixed
expectUserDeprecationMessage*()
fails when test is run in separate processLearn how to install or update PHPUnit 11.5 in the documentation.
Keep up to date with PHPUnit:
v11.5.32
: PHPUnit 11.5.32Compare Source
Changed
--check-php-configuration
Fixed
Learn how to install or update PHPUnit 11.5 in the documentation.
Keep up to date with PHPUnit:
v11.5.31
: PHPUnit 11.5.31Compare Source
Fixed
#[IgnorePhpunitDeprecations]
is now considered for test runner deprecations" from PHPUnit 11.5.29)Learn how to install or update PHPUnit 11.5 in the documentation.
Keep up to date with PHPUnit:
v11.5.30
: PHPUnit 11.5.30Compare Source
Changed
test
SplObjectStorage
methods that will be deprecated in PHP 8.5Learn how to install or update PHPUnit 11.5 in the documentation.
Keep up to date with PHPUnit:
v11.5.29
: PHPUnit 11.5.29Compare Source
Added
--check-php-configuration
CLI option for checking whether PHP is configured for testingChanged
#[IgnorePhpunitDeprecations]
is now considered for test runner deprecations (where applicable)Fixed
#[TestWith]
or#[TestWithJson]
attributes are now properly reportedDataProviderMethodFinished
event is now also emitted when the provided data set has an invalid keyLearn how to install or update PHPUnit 11.5 in the documentation.
Keep up to date with PHPUnit:
v11.5.28
: PHPUnit 11.5.28Compare Source
Fixed
file
attribute of<testClass>
node of XML test list can be wrongHow to install or update PHPUnit
v11.5.27
: PHPUnit 11.5.27Compare Source
Fixed
defects,random
configuration is supported by implementation, but it is not allowed by the XML configuration file schematest
prefixHow to install or update PHPUnit
v11.5.26
: PHPUnit 11.5.26Compare Source
Fixed
@no-named-arguments
leads to static analysis errors for variadic argumentsHow to install or update PHPUnit
v11.5.25
: PHPUnit 11.5.25Compare Source
Fixed
<testsuite>
element is missing requiredname
attributeHow to install or update PHPUnit
v11.5.24
: PHPUnit 11.5.24Compare Source
Added
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
)--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
ExpectationFailedException
How to install or update PHPUnit
v11.5.23
: PHPUnit 11.5.23Compare Source
Fixed
shortenArraysForExportThreshold
XML configuration setting has no effect on all arrays exported for event-related value objectsHow to install or update PHPUnit
v11.5.22
: PHPUnit 11.5.22Compare Source
Changed
How to install or update PHPUnit
v11.5.21
: PHPUnit 11.5.21Compare Source
Changed
createStubForIntersectionOfInterfaces()
is called with a classHow to install or update PHPUnit
v11.5.20
: PHPUnit 11.5.20Compare Source
Fixed
assertEmpty()
andassertNotEmpty()
use overly restrictivephpstan-assert empty
directivesHow to install or update PHPUnit
v11.5.19
: PHPUnit 11.5.19Compare Source
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
E_STRICT
constantFixed
%a
and%A
matches are not ignored from diff whenEXPECTF
failsHow to install or update PHPUnit
v11.5.18
: PHPUnit 11.5.18Compare Source
Changed
memory_get_peak_usage()
is now reset immediately before theTest\Prepared
event is emitted usingmemory_reset_peak_usage()
so that (memory usage atTest\Finished
- memory usage atTest\Prepared
) is a better approximation of the memory usage of the testTelemetry\Info
now uses peak memory usage instead of memory usage (this affects--log-events-verbose-text
)Fixed
How to install or update PHPUnit
v11.5.17
: PHPUnit 11.5.17Compare Source
Fixed
How to install or update PHPUnit
v11.5.16
: PHPUnit 11.5.16Compare Source
Fixed
willReturnMap()
fails with nullable parameters when their default isnull
and no argument is passed for themHow to install or update PHPUnit
v11.5.15
: PHPUnit 11.5.15Compare Source
Changed
How to install or update PHPUnit
v11.5.14
: PHPUnit 11.5.14Compare Source
Changed
How to install or update PHPUnit
v11.5.13
: PHPUnit 11.5.13Compare Source
Changed
How to install or update PHPUnit
v11.5.12
: PHPUnit 11.5.12Compare Source
Fixed
How to install or update PHPUnit
v11.5.11
: PHPUnit 11.5.11Compare Source
Fixed
$expected
and$actual
are mixed up in failure description whenassertJsonFileEqualsJsonFile()
failsHow to install or update PHPUnit
v11.5.10
: PHPUnit 11.5.10Compare Source
Fixed
How to install or update PHPUnit
v11.5.9
: PHPUnit 11.5.9Compare Source
Fixed
How to install or update PHPUnit
v11.5.8
: PHPUnit 11.5.8Compare Source
Fixed
Test\PreparationFailed
event is now emitted in addition to aTest\Errored
event when an unexpected exception is triggered in a before-test methodTest\Passed
event is no longer emitted in addition to aTest\Failed
orTest\Errored
event when an assertion failure or an unexpected exception is triggered in an after-test methodTestSuite\Finished
event is now emitted when a before-first-test method errorsHow to install or update PHPUnit
v11.5.7
: PHPUnit 11.5.7Compare Source
Changed
includeUncoveredFiles
configuration option is no longer deprecated--debug
outputHow to install or update PHPUnit
Configuration
📅 Schedule: Branch creation - "on the first day of the month" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.