-
-
Notifications
You must be signed in to change notification settings - Fork 0
Update dependency phpunit/phpunit to v12 #51
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
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@renovate
renovate
bot
force-pushed
the
renovate/phpunit-phpunit-12.x
branch
2 times, most recently
from
February 8, 2025 13:57
7c341da
to
6bc868c
Compare
| datasource | package | from | to | | ---------- | --------------- | ------ | ------ | | packagist | phpunit/phpunit | 11.5.7 | 12.0.2 |
@renovate
renovate
bot
force-pushed
the
renovate/phpunit-phpunit-12.x
branch
from
February 17, 2025 13:53
6bc868c
to
fe0f3f3
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Uh oh!
There was an error while loading. Please reload this page.
This PR contains the following updates:
^11.5.7
->^12.0.2
Release Notes
sebastianbergmann/phpunit (phpunit/phpunit)
v12.0.2
: PHPUnit 12.0.2Compare Source
Changed
How to install or update 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: 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.
Config source: https://github.com/Slamdunk/.github/blob/main/renovate-config.json