Repository navigation
Update root-composer (major) - #13
Open
renovate[bot] wants to merge 1 commit into
Open
renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
renovate
Bot
force-pushed
the
renovate/major-root-composer
branch
from
January 8, 2024 05:05
1cf4e96 to
481e347
Compare
renovate
Bot
force-pushed
the
renovate/major-root-composer
branch
from
February 2, 2024 08:53
481e347 to
12530f7
Compare
renovate
Bot
force-pushed
the
renovate/major-root-composer
branch
2 times, most recently
from
September 4, 2024 19:34
d43f584 to
e0c0967
Compare
renovate
Bot
force-pushed
the
renovate/major-root-composer
branch
2 times, most recently
from
November 12, 2024 02:20
e962b2c to
799ed4b
Compare
renovate
Bot
force-pushed
the
renovate/major-root-composer
branch
from
February 8, 2025 03:53
799ed4b to
7297a78
Compare
renovate
Bot
force-pushed
the
renovate/major-root-composer
branch
2 times, most recently
from
September 21, 2025 10:51
f618da6 to
5d30bb2
Compare
renovate
Bot
force-pushed
the
renovate/major-root-composer
branch
from
December 1, 2025 23:14
5d30bb2 to
3bd7ac0
Compare
renovate
Bot
force-pushed
the
renovate/major-root-composer
branch
from
February 6, 2026 11:13
3bd7ac0 to
b50976c
Compare
renovate
Bot
force-pushed
the
renovate/major-root-composer
branch
3 times, most recently
from
March 12, 2026 13:06
d1493a9 to
1eb7ccf
Compare
renovate
Bot
force-pushed
the
renovate/major-root-composer
branch
from
March 31, 2026 17:52
1eb7ccf to
7f84ac3
Compare
renovate
Bot
force-pushed
the
renovate/major-root-composer
branch
from
September 6, 2026 03:23
7f84ac3 to
0d5a7e1
Compare
renovate
Bot
force-pushed
the
renovate/major-root-composer
branch
from
September 12, 2026 19:11
0d5a7e1 to
e4b79e2
Compare
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
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.
Note
This PR body was truncated due to platform limits.
This PR contains the following updates:
^4.14.0→^5.0.0^9.6→^13.0Release Notes
nikic/PHP-Parser (nikic/php-parser)
v5.9.0Compare Source
Fixed
\u{10FFFF}. Previously the limit was\u{1FFFFF}.(void)cast emulation.Added
ArgPlaceholdernodes.v5.8.0Compare Source
Fixed
_as label character in formatting-preserving pretty printer.Changed
expressions and may pose security risks, as it allows calls to arbitrary functions.
voidparameter types now generate a (recoverable) error during parsing.fnkeywords when targeting PHP before 7.4.v5.7.0Compare Source
Fixed
parentheses in the pretty printer.
Changed
Added
shouldPrintRawValueattribute toScalar\Int_, which makes the pretty printer use therawValueof the node. This can be used to print integers with separators.v5.6.2Compare Source
Fixed
has attributes.
chr()deprecation warning on PHP 8.5.Added
Param::isFinal()method.v5.6.1Compare Source
Fixed
Param::isPublic()for parameters with asymmetric visibility keyword.SplObjectStoragemethods.Added
kindattributes toCast\Int_,Cast\Bool_andCast\String_.These allow distinguishing the deprecated versions of these casts.
v5.6.0Compare Source
Added
clonewith arbitrary function arguments. This will be parsed as anExpr\FuncCallnode, instead of the usualExpr\Clone_node.function clonefor use in stubs.Expr\BinaryOp\Pipe.(void)cast, represented byExpr\Cast\Void_.finalmodifier on promoted properties.CallLike::getArg()to fetch an argument by position and name.v5.5.0Compare Source
Added
Stmt\Const_now has anattrGroupssubnode.weakReferencesoption toNodeConnectingVisitorandParentConnectingVisitor. Thiswill create the parent/next/prev references as WeakReferences, to avoid making the AST cyclic
and thus increasing GC pressure.
Changed
is PHP 7.4 or older (which is the default). This allows them to be interpreted as comments,
instead of causing a parse error. Specify a target version of PHP 8.0 or newer to restore the
previous behavior.
v5.4.0Compare Source
Added
Property::isAbstract()andProperty::isFinal()methods.PropertyHook::isFinal()method.Fixed
Param::isPromoted()andParam::isPublic()now returns true for parameters that have propertyhooks but no explicit visibility modifier.
PropertyHook::getStmts()now correctly desugars shortsethooks.set => $valuewill beexpanded to
set { $this->propertyName = $value; }. This requires thepropertyNameattributeon the hook to be set, which is now also set by the parser. If the attribute is not set,
getStmts()will throw an error for short set hooks, as it is not possible to produce a correctdesugaring.
v5.3.1Compare Source
Added
exitordie, to allow their use in stubs.v5.3.0Compare Source
Added
indentoption to pretty printer, which can be used to specify the indentation to use(defaulting to four spaces). This also allows using tab indentation.
Fixed
PropertyHooks in theNameResolver.Stmt\GroupUsenodes, making them consistent withStmt\Use_nodes.in
ValueErrors.v5.2.0Compare Source
Added
__PROPERTY__magic constant, represented using aNode\Scalar\MagicConst\Propertynode.hookssubnode onNode\Stmt\PropertyandNode\Param, which contains an array ofNode\PropertyHook.flagscan now hold theadditional bits
Modifiers::PUBLIC_SET,Modifiers::PROTECTED_SETandModifiers::PRIVATE_SET.argument or a single plain argument continues to use a
Node\Expr\Exit_node. Otherwise (e.g.if a named argument is used) it will be represented as a plain
Node\Expr\FuncCall.BuilderFactory::val().Removed
$array{0}from the PHP 8 parser. It is stillsupported by the PHP 7 parser. This is necessary in order to support property hooks.
v5.1.0Compare Source
Added
newexpressions without parentheses.Fixed
Changed
v5.0.2Compare Source
Fixed
printer.
Changed
Parserobjects. This means that no longer used parser objects areimmediately destroyed now, instead of requiring cycle GC.
PhpVersion::getNewestSupported()to report PHP 8.3 instead of PHP 8.2.v5.0.1Compare Source
Changed
T_*compatibility tokenswith incorrect type (such as string instead of int). This would lead to
TypeErrors down theline. Now an
Errorwill be thrown early to indicate the problem.v5.0.0Compare Source
See UPGRADE-5.0 for detailed migration instructions.
Fixed
PropertyItemandUseItem.sebastianbergmann/phpunit (phpunit/phpunit)
v13.4.7: PHPUnit 13.4.7Compare Source
Fixed
--order-by random,defectsconfigured using theexecutionOrderattribute in the XML configuration file is still applied, and vice versadefaulttogether with an order for--order-byor theexecutionOrderXML configuration attribute, for instancedefault,random, triggers a deprecation for using more than one order, althoughdefaultresets the order instead of selecting one--fail-on-skippeddoes not make the test runner exit with a shell exit code that indicates failure when a test class is skipped, for instance because its before-first-test method callsmarkTestSkipped(), although its tests are counted as skipped--stop-on-skippeddoes not stop the test run when a test class is skipped, for instance because its before-first-test method callsmarkTestSkipped()PHPUnit\orSebastianBergmann\namespace that do not belong to PHPUnit or one of its dependencies are preloaded on startup, which leads to a fatal error when such a code unit depends on code that is not availablesebastian/file-filterandsebastian/git-stateis not treated like code from PHPUnit's other dependencies, for instance stack frames from it are not filtered from stack tracesnikic/php-parserand parts of the code fromphar-io/manifestare not treated like code from PHPUnit's other dependencies, for instance stack frames from it are not filtered from stack tracesLearn how to install or update PHPUnit 13.4 in the documentation.
Keep up to date with PHPUnit:
v13.4.6: PHPUnit 13.4.6Compare Source
Changed
Fixed
method()is called for a method of a test double that cannot be configured, for instance because it does not exist, every subsequent invocation of a method of that test double fails withMethod name is not configuredsetUp(), marks the test as incomplete, the hook method is reported as failedtearDown(), marks a successful test as incomplete or skips it, the test is reported as failedsetUpBeforeClass(), callsmarkTestIncomplete(), each test of the test class is reported as failed instead of the test class being skipped as it is whenmarkTestSkipped()is calledtearDownAfterClass(), callsmarkTestIncomplete()ormarkTestSkipped()after the tests of the test class have been run, this is reported as a failure, also for each test of the test class that is run in process isolationassert(), in a hook method is reported as an error of that method instead of as a failure, and it is counted as an error instead of as a failure when that method is a before-first-test method or an after-last-test methodtearDown(), of a test that already failed, errored, or was marked as incomplete, a failure is reported in addition to the outcome of the test, so the test is counted more than once andonNotSuccessfulTest()is called with the failure from the "after test" method instead of the test's owntearDown(), is reported in addition to the test's failure, so the test is counted more than oncerequireCoverageMetadata="true"is configured, when it does not define a code coverage target, unlike a test that fails because an assertion failedsetUpBeforeClass()--debugand in the logfiles written by--log-events-textand--log-events-verbose-textgroupsattribute of<directory>or<file>in the XML configuration file are not assigned to PHPT tests, so--groupand--exclude-groupdo not select them and--list-groupsand--list-tests-xmlreport them as being in thedefaultgroup or not at allRemoved
phpunit-library-X.Y.Z.phar) is no longer built, it could not be loaded since PHPUnit 9.5.8Learn how to install or update PHPUnit 13.4 in the documentation.
Keep up to date with PHPUnit:
v13.4.5: PHPUnit 13.4.5Compare Source
Fixed
Learn how to install or update PHPUnit 13.4 in the documentation.
Keep up to date with PHPUnit:
v13.4.4: PHPUnit 13.4.4Compare Source
Fixed
testSuiteFinishedtwice for a test class when one of its before-first-test methods errors or failstearDown()of a test that erroredLearn how to install or update PHPUnit 13.4 in the documentation.
Keep up to date with PHPUnit:
v13.4.3: PHPUnit 13.4.3Compare Source
Fixed
CodeCoverageorFacade#[Before]method, skips the test, the remaining hook methods of the same kind are still called, so the test is reported as errored instead of skipped when one of them errorsEfor the test class instead of one for each of its tests, only one of its tests is counted as run, and the test that is run next is shown as an errorrequirements is not met
setUp(), and reports the test that is run after it as aborted with the message of the incomplete testsetUp()raises an exception or the global state cannot be backed uptearDown()fails after the test errored, with its last outcome instead of its most severe one, and with more than one end when the preparation of the test errored]]>, bytes that are not valid UTF-8, or characters that are not allowed in XML, for instance the escape character of an ANSIescape sequence
setUp(), with an empty ID before the start of the testLearn how to install or update PHPUnit 13.4 in the documentation.
Keep up to date with PHPUnit:
v13.4.2: PHPUnit 13.4.2Compare Source
Fixed
expectUserDeprecationMessage()andexpectUserDeprecationMessageMatches()did not see the deprecations triggered by an attempt of a retried test and saw those of the previously run test instead#[Retry]does not retry the test,--repeatdoes not skip the remaining repetitions,tearDown()sees the wrong status, and code coverage records the test as successfulwith()were matched by position instead of by name, so an expectation such as->with(b: 7)compared the expected value with the first parameter of the method and the parameter named$bwas not checkedwithParameterSetsInOrder(),withParameterSetsInAnyOrder(), andwithParameterSetsInPartialOrder()were ignored, so a parameter set such as['b' => 7]compared the expected value with the first parameter of the method and the parameternamed
$bwas not checkedLearn how to install or update PHPUnit 13.4 in the documentation.
Keep up to date with PHPUnit:
v13.4.1: PHPUnit 13.4.1Compare Source
Changed
Fixed
TestSuite::runTests()doubles garbage collector time whenzend.exception_ignore_argsis offsetUpBeforeClass()andtearDownAfterClass()were run twice for a test class that is the only test class in a test suite of the XML configuration file that has the name of that test class--ARGS--section of a PHPT test that start with-were interpreted by PHP instead of being passed to the test when the test also has a--STDIN--sectionLearn how to install or update PHPUnit 13.4 in the documentation.
Keep up to date with PHPUnit:
v13.4.0: PHPUnit 13.4.0Compare Source
Added
executionOrderattribute values and--order-bytoken lists that spell the order beforedefects, for exampleduration-ascending,defectspipeline()on theTestSuite\Sortedevent for inspecting which reordering stages were appliedConstraint::negatedToString()andConstraint::negatedFailureDescription()for authoring the description of a constraint that is wrapped inLogicalNot#[RequiresClass]attribute to skip a test if a class does not existChildProcessExtensioninterface for extensions that need to be bootstrapped in the child process of a test that runs in process isolation--coverage-jsonlCLI option and<jsonl>element for the XML configuration file to write a code coverage report in JSONL format, one JSON object per line, that reports uncovered code rather than every executable line--timeoutCLI option to limit the wall-clock time of the entire test runrequireCoverageMetadataOnSmallTests,requireCoverageMetadataOnMediumTests, andrequireCoverageMetadataOnLargeTestsattributes for the XML configuration file to require code coverage metadata depending on the size of a test; these have precedence overrequireCoverageMetadataChanged
--- OUTPUT:record that is attributed to the test instead of being passed through unformatted; the record is omitted whenbeStrictAboutOutputDuringTestsor--disallow-test-outputalready reports the output as riskyDeprecated
defectsbefore the order for--order-byandexecutionOrder, which will change meaning in PHPUnit 14dependsandno-dependsfor--order-byandexecutionOrder--order-byandexecutionOrderexecutionOrderXML configuration attribute, which are currently ignoredConstraint::failureDescriptionInContext()andLogicalNot::negate()#[Group],#[Ticket],#[Small],#[Medium], and#[Large]on parent classes of test classesFixed
#[DataProviderClosure]errors when it is run in process isolationLearn how to install or update PHPUnit 13.4 in the documentation.
Keep up to date with PHPUnit:
v13.3.6: PHPUnit 13.3.6Compare Source
Fixed
#[RequiresMethod]is declared asclass-string, so static analysis reports an error when it refers to a class that does not exist#[RequiresMethod]attribute that refers to a class which cannot be loaded, for instance because its parent class does not exist, aborts the test run instead of skipping the testLearn how to install or update PHPUnit 13.3 in the documentation.
Keep up to date with PHPUnit:
v13.3.5: PHPUnit 13.3.5Compare Source
Changed
\u{NNNN}escape sequences instead of being passed through to the terminalLearn how to install or update PHPUnit 13.3 in the documentation.
Keep up to date with PHPUnit:
v13.3.4: PHPUnit 13.3.4Compare Source
Fixed
SourceMappermay be deleted prematurely--display-phpunit-deprecationsand--display-phpunit-noticesare not usedLearn how to install or update PHPUnit 13.3 in the documentation.
Keep up to date with PHPUnit:
v13.3.3: PHPUnit 13.3.3Compare Source
Fixed
Learn how to install or update PHPUnit 13.3 in the documentation.
Keep up to date with PHPUnit:
v13.3.2: PHPUnit 13.3.2Compare Source
Fixed
SourceMapis built in child process even thoughidentifyIssueTriggeris disabled#[CoversFile]attribute is not considered for risky test checkLearn how to install or update PHPUnit 13.3 in the documentation.
Keep up to date with PHPUnit:
v13.3.1: PHPUnit 13.3.1Compare Source
Changed
setUpBeforeClass()no longer triggers a deprecation warning on PHP 8.6Learn how to install or update PHPUnit 13.3 in the documentation.
Keep up to date with PHPUnit:
v13.3.0: PHPUnit 13.3.0Compare Source
Added
--repeatCLI option and#[Repeat]attributeexpectOutputString()andexpectOutputRegex()to be combined and repeated#[CoversNothing]on methods--retryCLI option#[Retry]attributefailOnAllIssues="true"is combined with an explicitly disabled fine-grainedfailOn*setting--record-test-run-historyand--do-not-record-test-run-historyCLI options as well as therecordTestRunHistoryattribute for the XML configuration file to control whether the status and duration of each test are recorded for use by--order-by defectsand--order-by duration-*--without-class-viewCLI option andclassViewattribute for the XML configuration file to disable the class-oriented view in the HTML code coverage report--without-file-viewCLI option andfileViewattribute for the XML configuration file to disable the file-oriented view in the HTML code coverage report{PWD}is now substituted with the directory of the PHPT test file in--ENV--and--INI--sections of PHPT test files{TMP}(system directory for temporary files) and{ENV:name}(value of environment variablename) are now substituted in--INI--sections of PHPT test files--INI--section references an environment variable that is not set is now skipped--SKIPIF--section of a PHPT test file that printsxfail <reason>now marks the test as expected to fail, as if the PHPT test file had an--XFAIL--section with that reasonChanged
test-run-historyinstead oftest-resultsTestCaseno longer captureserror_log()output for tests that do not useexpectErrorLog(), avoiding the cost of setting up error log redirection for every testerror_log()output from tests without an expectation is no longer echoed (date-stripped) to PHPUnit's output; it goes to the configured error log again, as it did before capture was introducederror_log()withoutexpectErrorLog()now produces stderr output in the child process, which the test runner reports as a test error--XFAIL--section orxfailoutput from the--SKIPIF--section) but passes is now considered risky; this usually means the expected-failure marker is stale and should be removed--SKIPIF--section produces output that is not recognized is now considered risky; this usually means the skip check itself is broken. The keywords understood by PHP's own test runner that have no PHPUnit counterpart (info,warn,xleak,flaky, andnocache) are tolerated and do not make the test riskydate.timezone=UTC,display_startup_errors=1,fatal_error_backtraces=Off,ignore_repeated_errors=0,precision=14,serialize_precision=-1), consistent with PHP's own test runner; all of them can be overridden per test using the--INI--sectionDeprecated
--cache-resultCLI option, use--record-test-run-historyinstead--do-not-cache-resultCLI option, use--do-not-record-test-run-historyinsteadcacheResultXML configuration attribute, userecordTestRunHistoryinsteadPHPUnit\TextUI\Configuration\Configuration::cacheResult(), usePHPUnit\TextUI\Configuration\Configuration::recordTestRunHistory()insteadPHPUnit\TextUI\Configuration\Configuration::testResultCacheFile(), usePHPUnit\TextUI\Configuration\Configuration::testRunHistoryFile()insteadFixed
expectErrorLog()now only considerserror_log()output written after it was called; previously, the expectation was also satisfied by output written beforeexpectErrorLog()was called--FILE--,--FILEEOF--, and--FILE_EXTERNAL--sections, or more than one expectation section (--EXPECT--,--EXPECTF--,--EXPECTREGEX--, and their_EXTERNALvariants) are now rejected; previously, misspelled sections were silently ignored and duplicated sections silently overwrote each other--EXPECTREGEX--section must now match the PHPT test's entire output, and.now matches newline characters, consistent with PHP's own test runner; previously, a match on a substring of the output was sufficient for the test to pass--SKIPIF--section of a PHPT test is no longer mangled when it follows theskip <reason>convention used by PHP's own test suite; previously, the first two characters of the reason were stripped unless theskip: <reason>orskip - <reason>convention was usedPHPUnit\Runner\Phpt\InvalidPhptFileExceptionwhen a PHPT test file has an empty--FILE--or--FILEEOF--section or a--FILE_EXTERNAL--section that references an empty file; such a file is now rejected while it is parsed and reported as an errored testPHPUnit\Runner\Phpt\InvalidPhptFileExceptionnow has a message that explains why the PHPT test file was rejectedLearn how to install or update PHPUnit 13.3 in the documentation.
Keep up to date with PHPUnit:
v13.2.6: PHPUnit 13.2.6Compare Source
Fixed
Learn how to install or update PHPUnit 13.2 in the documentation.
Keep up to date with PHPUnit:
v13.2.5: PHPUnit 13.2.5Compare Source
Changed
RequiresPhp,RequiresPhpunit, orRequiresPhpExtensionversion requirement now include the version that is actually being usedFixed
Configuration
📅 Schedule: (UTC)
* 0-3 * * 1)🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, 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 was generated by Mend Renovate. View the repository job log.