Update dependency phpunit/phpunit to v12 #37
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "renovate/major-php-dev"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains the following updates:
^11.5.6
->^12.0.0
Release Notes
sebastianbergmann/phpunit (phpunit/phpunit)
v12.0.1
: PHPUnit 12.0.1Compare Source
Fixed
Assert::isType()
,assertContainsOnly()
,assertNotContainsOnly()
, andcontainsOnly()
How to install or update PHPUnit
v12.0.0
: PHPUnit 12.0.0Compare Source
Added
#[CoversClassesThatExtendClass]
and#[UsesClassesThatExtendClass]
#[CoversClassesThatImplementInterface]
and#[UsesClassesThatImplementInterface]
#[CoversNamespace]
and#[UsesNamespace]
#[RequiresEnvironmentVariable]
Changed
shortenArraysForExportThreshold
is now10
(limit export of arrays to 10 levels) instead of0
(do not limit export of arrays)Deprecated
Assert::isType()
(was soft-deprecated in PHPUnit 11.5)assertContainsOnly()
(was soft-deprecated in PHPUnit 11.5)assertNotContainsOnly()
(was soft-deprecated in PHPUnit 11.5)containsOnly()
(was soft-deprecated in PHPUnit 11.5)Removed
TestCase::iniSet()
TestCase::setLocale()
TestCase::createTestProxy()
TestCase::getMockForAbstractClass()
TestCase::getMockFromWsdl()
TestCase::getMockForTrait()
TestCase::getObjectForTrait()
MockBuilder::enableAutoload()
andMockBuilder::disableAutoload()
MockBuilder::allowMockingUnknownTypes()
andMockBuilder::disallowMockingUnknownTypes()
MockBuilder::enableProxyingToOriginalMethods()
,MockBuilder::disableProxyingToOriginalMethods()
, andMockBuilder::setProxyTarget()
MockBuilder::getMockForTrait()
MockBuilder::getMockForAbstractClass()
MockBuilder::enableArgumentCloning()
andMockBuilder::disableArgumentCloning()
MockBuilder::addMethods()
method
TestCase
methods for creating return stub configuration objectsassertStringNotMatchesFormat()
andassertStringNotMatchesFormatFile()
expects()
on test stubs--group
,--exclude-group
,--covers
,--uses
, and--test-suffix
CLI optionsrestrictDeprecations
attribute on the<source>
element of the XML configuration file#[CoversClass]
and#[UsesClass]
attributesHow to install or update PHPUnit
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ 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 Renovate Bot.
⚠ Artifact update problem
Renovate 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
Renovate Ignore Notification
Because you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future
12.x
releases. But if you manually upgrade to12.x
then Renovate will re-enableminor
andpatch
updates automatically.If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.