Update dependency phpunit/phpunit to v10.5.40 #4987
Merged
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.
This PR contains the following updates:
10.5.20
->10.5.40
Release Notes
sebastianbergmann/phpunit (phpunit/phpunit)
v10.5.40
: PHPUnit 10.5.40Compare Source
Fixed
assertArrayHasKey()
,assertArrayNotHasKey()
,arrayHasKey()
, andArrayHasKey::__construct()
do not support all possible key types--migrate-configuration
does not removebeStrictAboutTodoAnnotatedTests
attribute from XML configuration fileHow to install or update PHPUnit
v10.5.39
: PHPUnit 10.5.39Compare Source
Added
DefaultResultCache::mergeWith()
for merging result cache instancesFixed
How to install or update PHPUnit
v10.5.38
: PHPUnit 10.5.38Compare Source
Changed
How to install or update PHPUnit
v10.5.37
: PHPUnit 10.5.37Compare Source
Fixed
How to install or update PHPUnit
v10.5.36
: PHPUnit 10.5.36Compare Source
Changed
StringMatchesFormatDescription
constraint to be consistent with PHP'srun-tests.php
Fixed
PHPUnit\Framework\Exception
does not handle string error codes (PDOException
with error code'HY000'
, for example)How to install or update PHPUnit
v10.5.35
Compare Source
v10.5.34
: PHPUnit 10.5.34Compare Source
Fixed
name
property on<testsuites>
element in JUnit XML logfileCallback
throws aTypeError
when checking acallable
has variadic parametersHow to install or update PHPUnit
v10.5.33
: PHPUnit 10.5.33Compare Source
Fixed
assertJsonStringEqualsJsonString()
considers objects with sequential numeric keys equal to be arraysCallback
constraint does not handle variadic arguments correctly when used for mock object expectations$
at the beginning gets truncated when used with a data providerHow to install or update PHPUnit
v10.5.32
: PHPUnit 10.5.32Compare Source
Added
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
--fail-on-phpunit-deprecation
CLI option or thefailOnPhpunitDeprecation="true"
attribute on the<phpunit>
element of the XML configuration file.--display-phpunit-deprecations
CLI option or thedisplayDetailsOnPhpunitDeprecations
attribute on the<phpunit>
element of the XML configuration file.How to install or update PHPUnit
v10.5.31
: PHPUnit 10.5.31Compare Source
Changed
name
property on<testsuites>
element in JUnit XML logfile.phpstorm.meta.php
file as methods such asTestCase::createStub()
use generics / template types for their return types and PhpStorm, for example, uses that informationFixed
@
operatorHow to install or update PHPUnit
v10.5.30
: PHPUnit 10.5.30Compare Source
Changed
How to install or update PHPUnit
v10.5.29
: PHPUnit 10.5.29Compare Source
Fixed
--list-tests
and--list-tests-xml
CLI options do not report error when data provider method throws exceptionHow to install or update PHPUnit
v10.5.28
Compare Source
v10.5.27
: PHPUnit 10.5.27Compare Source
Changed
--prefer-lowest
CLI option also get recent versions)Fixed
phpunit.xml
are not handled correctly when--generate-configuration
is usedHow to install or update PHPUnit
v10.5.26
: PHPUnit 10.5.26Compare Source
Added
--only-summary-for-coverage-text
CLI option to reduce the code coverage report in text format to a summary--show-uncovered-for-coverage-text
CLI option to expand the code coverage report in text format to include a list of uncovered filesHow to install or update PHPUnit
v10.5.25
: PHPUnit 10.5.25Compare Source
Changed
How to install or update PHPUnit
v10.5.24
: PHPUnit 10.5.24Compare Source
Changed
array_pop()
instead ofarray_shift()
for processingTest
objects inTestSuite::run()
and optimizeTestSuite::isEmpty()
How to install or update PHPUnit
v10.5.23
: PHPUnit 10.5.23Compare Source
Changed
TestCase
objects early that use a data providerHow to install or update PHPUnit
v10.5.22
: PHPUnit 10.5.22Compare Source
Changed
debug_backtrace()
How to install or update PHPUnit
v10.5.21
: PHPUnit 10.5.21Compare Source
Changed
TestCase
object after its test was runHow to install or update PHPUnit
Configuration
📅 Schedule: Branch creation - "before 4pm every weekday except before 9am every weekday" in timezone America/New_York, Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ 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.
This PR was generated by Mend Renovate. View the repository job log.