-
-
Notifications
You must be signed in to change notification settings - Fork 20
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
Update dependency phpunit/phpunit to v11 #91
base: 3.14.x
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
|
| datasource | package | from | to | | ---------- | --------------- | ------ | ------ | | packagist | phpunit/phpunit | 9.6.13 | 11.1.3 | Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
fe685d1
to
de3c1c0
Compare
An upgrade to PHPUnit 11 will require:
|
Generally, we're just avoiding PHPUnit 11 until psalm supports nickic/parser in a stable release. Dropping 8.1 wouldn't be a BC break AFAIK - it should be fine in a minor if non-dev changes necessitate dropping support for it. |
All right, postponed until psalm 6 is released then. |
This PR contains the following updates:
^9.5.26
->^11.0.0
Release Notes
sebastianbergmann/phpunit (phpunit/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.17
: PHPUnit 10.5.17Compare Source
Changed
PHPUnitPHAR
instead of justPHPUnit
for the PHAR distribution of PHPUnitHow to install or update PHPUnit
v10.5.16
Compare Source
v10.5.15
Compare Source
v10.5.14
: PHPUnit 10.5.14Compare Source
Changed
Groups::groups()
NamePrettifier::prettifyTestMethodName()
NamePrettifier::prettifyTestMethodName()
once againFixed
How to install or update PHPUnit
v10.5.13
Compare Source
v10.5.12
Compare Source
Fixed
HRTime::duration()
throwsInvalidArgumentException
How to install or update PHPUnit
v10.5.11
Compare Source
v10.5.10
Compare Source
v10.5.9
Compare Source
v10.5.8
Compare Source
v10.5.7
Compare Source
v10.5.6
Compare Source
v10.5.5
Compare Source
v10.5.4
Compare Source
v10.5.3
Compare Source
v10.5.2
Compare Source
v10.5.1
Compare Source
v10.5.0
Compare Source
v10.4.2
Compare Source
v10.4.1
Compare Source
v10.4.0
Compare Source
v10.3.5
Compare Source
v10.3.4
Compare Source
v10.3.3
Compare Source
v10.3.2
Compare Source
v10.3.1
Compare Source
v10.3.0
Compare Source
v10.2.7
Compare Source
v10.2.6
Compare Source
v10.2.5
Compare Source
v10.2.4
Compare Source
v10.2.3
Compare Source
v10.2.2
Compare Source
v10.2.1
Compare Source
v10.2.0
Compare Source
v10.1.3
Compare Source
v10.1.2
Compare Source
v10.1.1
Compare Source
v10.1.0
Compare Source
v10.0.19
Compare Source
v10.0.18
Compare Source
v10.0.17
Compare Source
v10.0.16
Compare Source
v10.0.15
Compare Source
v10.0.14
Compare Source
v10.0.13
Compare Source
v10.0.12
Compare Source
v10.0.11
Compare Source
v10.0.10
Compare Source
v10.0.9
Compare Source
v10.0.8
Compare Source
v10.0.7
Compare Source
v10.0.6
Compare Source
v10.0.5
Compare Source
v10.0.4
Compare Source
v10.0.3
Compare Source
v10.0.2
Compare Source
v10.0.1
Compare Source
v10.0.0
Compare Source
v9.6.19
: PHPUnit 9.6.19Compare Source
Changed
PHPUnitPHAR
instead of justPHPUnit
for the PHAR distribution of PHPUnitHow to install or update PHPUnit
v9.6.18
Compare Source
v9.6.17
Compare Source
v9.6.16
Compare Source
v9.6.15
Compare Source
v9.6.14
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 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.
Read more information about the use of Renovate Bot within Laminas.