- May 2025 dependencies update #142
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:
v4.2.0
->v4.2.3
11bd719
e05fc76
^3.70
->^3.75.0
8.3
->8.4
^1.1
->^1.2
^3.23
->^3.25.0
^11.2
->^11.5.20
2.31.1
->2.33.0
^7.0
->^7.2.6
Release Notes
actions/cache (actions/cache)
v4.2.3
Compare Source
What's Changed
New Contributors
Full Changelog: actions/cache@v4.2.2...v4.2.3
v4.2.2
Compare Source
What's Changed
Full Changelog: actions/cache@v4.2.1...v4.2.2
v4.2.1
Compare Source
What's Changed
New Contributors
Full Changelog: actions/cache@v4.2.0...v4.2.1
PHP-CS-Fixer/PHP-CS-Fixer (friendsofphp/php-cs-fixer)
v3.75.0
Compare Source
ClassAttributesSeparationFixer
- add support for asymmetric visibility (#8518)NativeFunctionInvocationFixer
- fix for property hooks (#8540)int
if all the keys are strings (#8550)string
if all the keys are strings (#8545)FunctionsAnalyzerTest
cleanup (#8539)v3.74.0
Compare Source
--format=@​auto
(#8513)BracesPositionFixer
- do not create two consecutive whitespace tokens (#8496)MbStrFunctionsFixer
- fix imports with leading backslash (#8507)NoUnreachableDefaultArgumentValueFixer
- do not crash on property hook (#8512)OrderedImportsFixer
- do not take the braces part in grouped imports into account (#8459)OrderedImportsFixer
- fix syntax error with grouped use statement and multiple use with comma (#8483)PhpUnitAttributesFixer
- handle parentheses after data provider method name (#8510)PhpUnitMethodCasingFixer
- do not touch anonymous class (#8463)FixerOptionInterface::getAllowedValues
(#8530)Preg
- improve types (#8527)PHPStan/*
(#8524)v3.73.1
Compare Source
OrderedClassElementsFixer
- do not crash on property hook (#8517)v3.73.0
Compare Source
GeneralPhpdocTagRenameFixer
- do not rename keys in array shape definition (#8477)MethodArgumentSpaceFixer
- handle when nested in HTML (#8503)checkbashisms
to 2.25.5 (#8519)NoExtraBlankLinesFixerTest
(#8505)Tokenizer
hash metode usingxxHash
(#8491)TokensAnalyzerTest
- better testisArray
andisArrayMultiLine
(#8504)v3.72.0
Compare Source
StatementIndentationFixer
- handle property hooks (#8492)MbStrFunctionsFixer
- fix imports (#8474)TrailingCommaInMultilineFixer
- handle empty match body (#8480)VisibilityRequiredFixer
- handle property hooks (#8495)v3.71.0
Compare Source
BinaryOperatorSpacesFixer
- do not break alignment of UTF-8 array keys (#8484)PhpdocAlignFixer
- align correctly type with UTF8 characters (#8486)SingleSpaceAroundConstructFixer
- handle alternative syntax (#8317)StatementIndentationFixer
- return in braceless if (#8479)SingleSpaceAroundConstructFixerTest::provideFixWithElseIfCases
(#8481)SingleSpaceAroundConstructFixerTest::provideFixWithIfCases
(#8482)PhpdocNoAliasTagFixerTest
(#8476)FullyQualifiedNameAnalyzer
(#8048)SwitchAnalyzer
- improve performance (#8407)v3.70.2
Compare Source
MbStrFunctionsFixer
must run beforeNativeFunctionInvocationFixer
(#8466)MethodArgumentSpaceFixer
- fix nested calls forensure_fully_multiline
option (#8469)v3.70.1
Compare Source
PhpUnitSizeClassFixer
must run beforePhpUnitAttributesFixer
(#8457)OrderedImportsFixerTest
(#8458)JetBrains/phpstorm-attributes (jetbrains/phpstorm-attributes)
v1.2
Compare Source
What's Changed
New Contributors
Full Changelog: JetBrains/phpstorm-attributes@1.1...1.2
kubawerlos/php-cs-fixer-custom-fixers (kubawerlos/php-cs-fixer-custom-fixers)
v3.25.0
Compare Source
v3.24.0
Compare Source
sebastianbergmann/phpunit (phpunit/phpunit)
v11.5.20
: PHPUnit 11.5.20Compare Source
Fixed
assertEmpty()
andassertNotEmpty()
use overly restrictivephpstan-assert empty
directivesHow to install or update PHPUnit
v11.5.19
: PHPUnit 11.5.19Compare Source
Added
displayDetailsOnAllIssues
attribute on the<phpunit>
element of the XML configuration file and--display-all-issues
CLI option for controlling whether PHPUnit should display details on all issues that are triggered (default:false
)failOnAllIssues
attribute on the<phpunit>
element of the XML configuration file and--fail-on-all-issues
CLI option for controlling whether PHPUnit should fail on all issues that are triggered (default:false
)Changed
E_STRICT
constantFixed
%a
and%A
matches are not ignored from diff whenEXPECTF
failsHow to install or update PHPUnit
v11.5.18
: PHPUnit 11.5.18Compare Source
Changed
memory_get_peak_usage()
is now reset immediately before theTest\Prepared
event is emitted usingmemory_reset_peak_usage()
so that (memory usage atTest\Finished
- memory usage atTest\Prepared
) is a better approximation of the memory usage of the testTelemetry\Info
now uses peak memory usage instead of memory usage (this affects--log-events-verbose-text
)Fixed
How to install or update PHPUnit
v11.5.17
: PHPUnit 11.5.17Compare Source
Fixed
How to install or update PHPUnit
v11.5.16
: PHPUnit 11.5.16Compare Source
Fixed
willReturnMap()
fails with nullable parameters when their default isnull
and no argument is passed for themHow to install or update PHPUnit
v11.5.15
: PHPUnit 11.5.15Compare Source
Changed
How to install or update PHPUnit
v11.5.14
: PHPUnit 11.5.14Compare Source
Changed
How to install or update PHPUnit
v11.5.13
: PHPUnit 11.5.13Compare Source
Changed
How to install or update PHPUnit
v11.5.12
: PHPUnit 11.5.12Compare Source
Fixed
How to install or update PHPUnit
v11.5.11
: PHPUnit 11.5.11Compare Source
Fixed
$expected
and$actual
are mixed up in failure description whenassertJsonFileEqualsJsonFile()
failsHow to install or update PHPUnit
v11.5.10
: PHPUnit 11.5.10Compare Source
Fixed
How to install or update PHPUnit
v11.5.9
: PHPUnit 11.5.9Compare Source
Fixed
How to install or update PHPUnit
v11.5.8
: PHPUnit 11.5.8Compare Source
Fixed
Test\PreparationFailed
event is now emitted in addition to aTest\Errored
event when an unexpected exception is triggered in a before-test methodTest\Passed
event is no longer emitted in addition to aTest\Failed
orTest\Errored
event when an assertion failure or an unexpected exception is triggered in an after-test methodTestSuite\Finished
event is now emitted when a before-first-test method errorsHow to install or update PHPUnit
v11.5.7
: PHPUnit 11.5.7Compare Source
Changed
includeUncoveredFiles
configuration option is no longer deprecated--debug
outputHow to install or update PHPUnit
v11.5.6
: PHPUnit 11.5.6Compare Source
Changed
SourceMapper
Fixed
string
cannot be used in customized TestDox outputHow to install or update PHPUnit
v11.5.5
: PHPUnit 11.5.5Compare Source
Changed
How to install or update PHPUnit
v11.5.4
: PHPUnit 11.5.4Compare Source
Changed
#[CoversTrait]
and#[UsesTrait]
attributes is no longer deprecated#[CoversMethod]
and#[UsesMethod]
attributes is no longer deprecatedFixed
SourceMapper
to scan all<source/>
filesHow to install or update PHPUnit
v11.5.3
: PHPUnit 11.5.3Compare Source
Added
Test\AfterLastTestMethodErrored
,Test\AfterTestMethodErrored
,Test\BeforeTestMethodErrored
,Test\PostConditionErrored
, andTest\PreConditionErrored
eventsFixed
--list-tests-xml
is broken when a group with a numeric name is definedsystem-out
element in JUnit XML logfileHow to install or update 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
shivammathur/setup-php (shivammathur/setup-php)
v2.33.0
Compare Source
Changelog
ubuntu-24.04-arm
andubuntu-22.04-arm
. (#848)Dropped support for Ubuntu 20.04 (
ubuntu-20.04
) for both GitHub hosted and self-hosted runners. Please migrate your workflows toubuntu-22.04
orubuntu-24.04
. (#939)Ref: https://github.com/shivammathur/setup-php#github-hosted-runners
Improved support for installing PHPUnit around new releases. Now setup-php will fallback to the previous release till new release is available on the phpunit.de website after it is tagged. (#913, #938)
Switched to using https://ppa.launchpadcontent.net for launchpad PPAs instead of http://ppa.launchpad.net. (#927, #928)
Added a fallback to calling launchpad's API for getting PPA signatures to reduce reported failures on self-hosted runners. (#935)
Added support for specifying tools' directory using
TOOLS_DIR
env. (#937)Fixed cache support for
openswoole
. (#917, https://github.com/shivammathur/cache-extensions/issues/47)Fixed the version of
composer-normalize
in the logs. (#899)Added support for
blackfire
andionCube
extensions for PHP 8.4.Improved support for
phalcon
andzephir_parser
extensions.Improved support for OCI extensions
pdo_oci
andoci8
on self-hosted runners. (#929)Improved locking mechanism while fetching files on self-hosted runners. (#912)
Fixed a warning on macOS while patching extensions.
Fixed linking hiredis library during relay setup.
Thanks @deguif, @DanielEScherzer, @voodooism, @hms5232, and [@
Configuration
📅 Schedule: Branch creation - "* * 1 */3 *" in timezone Europe/Warsaw, 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.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR has been generated by Renovate Bot.