-
Notifications
You must be signed in to change notification settings - Fork 72
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 #505
Open
renovate
wants to merge
1
commit into
4.15.x
Choose a base branch
from
renovate/phpunit-phpunit-11.x
base: 4.15.x
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains 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
⚠ 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
|
renovate
bot
force-pushed
the
renovate/phpunit-phpunit-11.x
branch
5 times, most recently
from
February 8, 2024 13:24
2928ad6
to
f844fcd
Compare
renovate
bot
force-pushed
the
renovate/phpunit-phpunit-11.x
branch
7 times, most recently
from
February 15, 2024 15:41
621c562
to
df22915
Compare
renovate
bot
force-pushed
the
renovate/phpunit-phpunit-11.x
branch
7 times, most recently
from
February 24, 2024 06:47
e5fdd2a
to
0191689
Compare
renovate
bot
force-pushed
the
renovate/phpunit-phpunit-11.x
branch
4 times, most recently
from
February 29, 2024 20:06
beb715c
to
9e91cf4
Compare
renovate
bot
force-pushed
the
renovate/phpunit-phpunit-11.x
branch
4 times, most recently
from
March 5, 2024 10:03
f468932
to
e05b1e7
Compare
renovate
bot
force-pushed
the
renovate/phpunit-phpunit-11.x
branch
5 times, most recently
from
November 13, 2024 02:01
583be09
to
b1bc3ad
Compare
renovate
bot
force-pushed
the
renovate/phpunit-phpunit-11.x
branch
4 times, most recently
from
November 17, 2024 19:47
d3b8bb6
to
a2a8477
Compare
renovate
bot
force-pushed
the
renovate/phpunit-phpunit-11.x
branch
6 times, most recently
from
December 1, 2024 04:37
109d940
to
3ec13ff
Compare
renovate
bot
force-pushed
the
renovate/phpunit-phpunit-11.x
branch
8 times, most recently
from
December 12, 2024 06:30
4daee30
to
1d8bc93
Compare
renovate
bot
force-pushed
the
renovate/phpunit-phpunit-11.x
branch
4 times, most recently
from
December 21, 2024 06:16
be7d444
to
f922a35
Compare
| datasource | package | from | to | | ---------- | --------------- | ------- | ------ | | packagist | phpunit/phpunit | 10.5.40 | 11.5.2 |
renovate
bot
force-pushed
the
renovate/phpunit-phpunit-11.x
branch
from
December 21, 2024 09:22
f922a35
to
92fdf39
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.
This PR contains the following updates:
^10.5.40
->^11.5.2
Release Notes
sebastianbergmann/phpunit (phpunit/phpunit)
v11.5.2
: PHPUnit 11.5.2Compare Source
Fixed
assertArrayHasKey()
,assertArrayNotHasKey()
,arrayHasKey()
, andArrayHasKey::__construct()
do not support all possible key types--migrate-configuration
does not removebeStrictAboutTodoAnnotatedTests
attribute from XML configuration fileHow to install or update PHPUnit
v11.5.1
: PHPUnit 11.5.1Compare Source
Added
DefaultResultCache::mergeWith()
for merging result cache instancesFixed
How to install or update PHPUnit
v11.5.0
: PHPUnit 11.5.0Compare Source
Added
assertContainsNotOnlyInstancesOf()
in thePHPUnit\Framework\Assert
class as the inverse of theassertContainsOnlyInstancesOf()
methodassertContainsOnlyArray()
,assertContainsOnlyBool()
,assertContainsOnlyCallable()
,assertContainsOnlyFloat()
,assertContainsOnlyInt()
,assertContainsOnlyIterable()
,assertContainsOnlyNull()
,assertContainsOnlyNumeric()
,assertContainsOnlyObject()
,assertContainsOnlyResource()
,assertContainsOnlyClosedResource()
,assertContainsOnlyScalar()
, andassertContainsOnlyString()
in thePHPUnit\Framework\Assert
class as specialized alternatives for the genericassertContainsOnly()
methodassertContainsNotOnlyArray()
,assertContainsNotOnlyBool()
,assertContainsNotOnlyCallable()
,assertContainsNotOnlyFloat()
,assertContainsNotOnlyInt()
,assertContainsNotOnlyIterable()
,assertContainsNotOnlyNull()
,assertContainsNotOnlyNumeric()
,assertContainsNotOnlyObject()
,assertContainsNotOnlyResource()
,assertContainsNotOnlyClosedResource()
,assertContainsNotOnlyScalar()
, andassertContainsNotOnlyString()
in thePHPUnit\Framework\Assert
class as specialized alternatives for the genericassertNotContainsOnly()
methodcontainsOnlyArray()
,containsOnlyBool()
,containsOnlyCallable()
,containsOnlyFloat()
,containsOnlyInt()
,containsOnlyIterable()
,containsOnlyNull()
,containsOnlyNumeric()
,containsOnlyObject()
,containsOnlyResource()
,containsOnlyClosedResource()
,containsOnlyScalar()
, andcontainsOnlyString()
in thePHPUnit\Framework\Assert
class as specialized alternatives for the genericcontainsOnly()
methodisArray()
,isBool()
,isCallable()
,isFloat()
,isInt()
,isIterable()
,isNumeric()
,isObject()
,isResource()
,isClosedResource()
,isScalar()
,isString()
in thePHPUnit\Framework\Assert
class as specialized alternatives for the genericisType()
methodTestRunner\ChildProcessStarted
andTestRunner\ChildProcessFinished
eventsChanged
SKIPIF
section of PHPT test in separate process when it is free of side effectsCLEAN
section of PHPT test in separate process when it is free of side effects that modify the parent processDeprecated
isType()
(useisArray()
,isBool()
,isCallable()
,isFloat()
,isInt()
,isIterable()
,isNull()
,isNumeric()
,isObject()
,isResource()
,isClosedResource()
,isScalar()
, orisString()
instead)assertContainsOnly()
(useassertContainsOnlyArray()
,assertContainsOnlyBool()
,assertContainsOnlyCallable()
,assertContainsOnlyFloat()
,assertContainsOnlyInt()
,assertContainsOnlyIterable()
,assertContainsOnlyNumeric()
,assertContainsOnlyObject()
,assertContainsOnlyResource()
,assertContainsOnlyClosedResource()
,assertContainsOnlyScalar()
, orassertContainsOnlyString()
instead)assertNotContainsOnly()
(useassertContainsNotOnlyArray()
,assertContainsNotOnlyBool()
,assertContainsNotOnlyCallable()
,assertContainsNotOnlyFloat()
,assertContainsNotOnlyInt()
,assertContainsNotOnlyIterable()
,assertContainsNotOnlyNumeric()
,assertContainsNotOnlyObject()
,assertContainsNotOnlyResource()
,assertContainsNotOnlyClosedResource()
,assertContainsNotOnlyScalar()
, orassertContainsNotOnlyString()
instead)containsOnly()
(usecontainsOnlyArray()
,containsOnlyBool()
,containsOnlyCallable()
,containsOnlyFloat()
,containsOnlyInt()
,containsOnlyIterable()
,containsOnlyNumeric()
,containsOnlyObject()
,containsOnlyResource()
,containsOnlyClosedResource()
,containsOnlyScalar()
, orcontainsOnlyString()
instead)How to install or update PHPUnit
v11.4.4
: PHPUnit 11.4.4Compare Source
Fixed
ignoreIndirectDeprecations=true
suppresses deprecations triggered in test codeHow to install or update 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
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 about the use of Renovate Bot within
ocramius/*
projects.