-
-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore(deps): update dependency phpunit/phpunit to v11 #195
base: master
Are you sure you want to change the base?
Conversation
⚠ Artifact update problemRenovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is. ♻ Renovate will retry this branch, including artifacts, only when one of the following happens:
The artifact failure details are included below: File name: composer.lock
|
bfef77c
to
d4ebc81
Compare
|
WalkthroughThe primary change involves updating the PHPUnit dependency version from Changes
Poem
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configuration File (
|
a8601d1
to
34a2e38
Compare
34a2e38
to
a0d1047
Compare
a0d1047
to
9d9d9d5
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files selected for processing (1)
- composer.json (1 hunks)
Additional comments not posted (1)
composer.json (1)
53-53
: Verify compatibility with PHPUnit 11.0.The PHPUnit version has been updated from
^10.5
to^11.0
. Ensure that the test suite is compatible with this new version, as it may introduce breaking changes or require updates to test cases.
This PR contains the following updates:
^10.5
->^11.0
Release Notes
sebastianbergmann/phpunit (phpunit/phpunit)
v11.4.3
: PHPUnit 11.4.3Compare Source
Changed
assertGreaterThan()
,assertGreaterThanOrEqual()
,assertLessThan()
, andassertLessThanOrEqual()
Fixed
How to install or update PHPUnit
v11.4.2
: PHPUnit 11.4.2Compare Source
Changed
Fixed
How to install or update PHPUnit
v11.4.1
: PHPUnit 11.4.1Compare Source
Changed
StringMatchesFormatDescription
constraint to be consistent with PHP'srun-tests.php
Fixed
E_DEPRECATED
issuesHow to install or update PHPUnit
v11.4.0
: PHPUnit 11.4.0Compare Source
Changed
#[RequiresPhpunitExtension]
attributevendor/phpunit/phpunit/phpunit.xsd
(instead ofhttps://schema.phpunit.de/X.Y/phpunit.xsd
) when PHPUnit was installed using Composer andphpunit --generate-configuration
was invoked in the directory wherevendor
is located--migrate-configuration
command no longer replacesvendor/phpunit/phpunit/phpunit.xsd
withhttps://schema.phpunit.de/X.Y/phpunit.xsd
--list-groups
now shows how many tests a group contains--list-suites
now shows how many tests a test suite containsDeprecated
includeUncoveredFiles
configuration option#[CoversTrait]
and#[UsesTrait]
attributes#[CoversMethod]
and#[UsesMethod]
attributes (and respective annotations)How to install or update PHPUnit
v11.3.6
: PHPUnit 11.3.6Compare Source
Changed
E_STRICT
constant in PHP 8.4Fixed
trim()
med when it contains$
characterHow to install or update PHPUnit
v11.3.5
: PHPUnit 11.3.5Compare Source
Fixed
static
return type declaration is not properly initializedname
property on<testsuites>
element in JUnit XML logfileCallback
throws aTypeError
when checking acallable
has variadic parametersHow to install or update PHPUnit
v11.3.4
: PHPUnit 11.3.4Compare 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 providerdefault
groupHow to install or update PHPUnit
v11.3.3
: PHPUnit 11.3.3Compare 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
v11.3.2
: PHPUnit 11.3.2Compare 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
v11.3.1
: PHPUnit 11.3.1Compare Source
Changed
How to install or update PHPUnit
v11.3.0
: PHPUnit 11.3.0Compare Source
Added
shortenArraysForExportThreshold
attribute on the<phpunit>
element of the XML configuration file to limit the export of arrays to a specified number of elements (default:0
/ do not limit the export of arrays)--extension
CLI option to register a test runner extensionChanged
--generate-configuration
now limits the export of arrays to 10 elements in order to improve performanceHow to install or update PHPUnit
v11.2.9
: PHPUnit 11.2.9Compare 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
v11.2.8
: PHPUnit 11.2.8Compare Source
Fixed
Test\Passed
event is not emitted for PHPT tests--coverage-filter
CLI option could not be used multiple timesHow to install or update PHPUnit
v11.2.7
: PHPUnit 11.2.7Compare 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
v11.2.6
: PHPUnit 11.2.6Compare Source
Changed
How to install or update PHPUnit
v11.2.5
: PHPUnit 11.2.5Compare Source
Changed
array_pop()
instead ofarray_shift()
for processingTest
objects inTestSuite::run()
and optimizeTestSuite::isEmpty()
How to install or update PHPUnit
v11.2.4
: PHPUnit 11.2.4Compare Source
Changed
TestCase
objects early that use a data providerHow to install or update PHPUnit
v11.2.3
: PHPUnit 11.2.3Compare Source
Changed
debug_backtrace()
How to install or update PHPUnit
v11.2.2
: PHPUnit 11.2.2Compare Source
Changed
TestCase
object after its test was runFixed
How to install or update PHPUnit
v11.2.1
: PHPUnit 11.2.1Compare Source
Fixed
cacheDirectory
attribute from<coverage>
element when migrating from PHPUnit 11.1 to PHPUnit 11.2How to install or update PHPUnit
v11.2.0
: PHPUnit 11.2.0Compare Source
Added
#[CoversTrait]
and#[UsesTrait]
attributesreadonly
classesassertObjectNotEquals()
Deprecated
#[CoversClass]
and#[UsesClass]
attributesHow to install or update PHPUnit
v11.1.3
: PHPUnit 11.1.3Compare Source
Fixed
How to install or update PHPUnit
v11.1.2
: PHPUnit 11.1.2Compare Source
Fixed
@testWith
annotation may generatePHP Warning: Uninitialized string offset 0
#[CoversMethod]
attribute is not considered for risky test checkHow to install or update PHPUnit
v11.1.1
: PHPUnit 11.1.1Compare Source
Fixed
#[CoversClass]
and#[UsesClass]
attributes can no longer target traitsHow to install or update PHPUnit
v11.1.0
: PHPUnit 11.1.0Compare Source
Added
#[DisableReturnValueGenerationForTestDoubles]
attribute for disabling return value generation for test doubles created usingcreateMock()
,createMockForIntersectionOfInterfaces()
,createPartialMock()
,createStub()
, andcreateStubForIntersectionOfInterfaces()
#[CoversMethod]
and#[UsesMethod]
attributes for more fine-grained code coverage targeting--filter
,--exclude-filter
,--group
, and--exclude-group
when listing tests using--list-tests
and--list-tests-xml
as well as listing groups with--list-groups
#[CoversClass]
and#[UsesClass]
attributes--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 filesChanged
--generate-configuration
now generates<source ignoreIndirectDeprecations="true" restrictNotices="true" restrictWarnings="true">
instead of<source restrictDeprecations="true" restrictNotices="true" restrictWarnings="true">
--group
,--exclude-group
,--covers
,--uses
, and--test-suffix
CLI options to be used multiple timesPHPUnit\Framework\TestCase::__construct()
is now annotated to be final in preparation for declaring itfinal
in PHPUnit 12DeprecationTriggered
,ErrorTriggered
,NoticeTriggered
,PhpDeprecationTriggered
,PhpNoticeTriggered
,PhpWarningTriggered
, andWarningTriggered
events are represented as textDeprecated
restrictDeprecations
attribute on the<source>
element of the XML configuration file is now deprecated in favor of theignoreSelfDeprecations
,ignoreDirectDeprecations
, andignoreIndirectDeprecations
attributes--group
,--exclude-group
,--covers
,--uses
, and--test-suffix
CLI optionsHow to install or update PHPUnit
v11.0.10
: PHPUnit 11.0.10Compare Source
Changed
PHPUnitPHAR
instead of justPHPUnit
for the PHAR distribution of PHPUnitHow to install or update PHPUnit
v11.0.9
: PHPUnit 11.0.9Compare Source
Changed
proc_open()
if not really neededFixed
How to install or update PHPUnit
v11.0.8
: PHPUnit 11.0.8Compare Source
Fixed
How to install or update PHPUnit
v11.0.7
: PHPUnit 11.0.7Compare Source
Changed
Groups::groups()
NamePrettifier::prettifyTestMethodName()
NamePrettifier::prettifyTestMethodName()
once againFixed
How to install or update PHPUnit
v11.0.6
: PHPUnit 11.0.6Compare Source
Changed
NamePrettifier::prettifyTestMethodName()
NamePrettifier::prettifyTestMethodName()
TestRunner::runTestWithTimeout()
Telemetry\System::snapshot()
ExecutionOrderDependency::getTarget()
callNamePrettifier::prettifyTestMethodName()
Fixed
assertArrayIsIdenticalToArrayOnlyConsideringListOfKeys()
does not correctly handle array order-d
CLI option multiple times triggers warningHow to install or update PHPUnit
v11.0.5
Compare Source
v11.0.4
Compare Source
v11.0.3
Compare Source
v11.0.2
Compare Source
v11.0.1
Compare Source
v11.0.0
Compare Source
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
v10.5.20
: PHPUnit 10.5.20Compare Source
How to install or update PHPUnit
v10.5.19
: PHPUnit 10.5.19Compare Source
Fixed
method()
on a test stub created usingcreateStubForIntersectionOfInterfaces()
throws an unexpected exceptionHow to install or update PHPUnit
v10.5.18
Compare Source
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), 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.