Update dependency phpunit/phpunit to v11 #26
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:
^9.5.5 || ^10.0.0
->^9.5.5 || ^10.0.0 || ^11.0.0
Release Notes
sebastianbergmann/phpunit (phpunit/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
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), 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 has been generated by Mend Renovate. View repository job log here.