Update dependency phplrt/phplrt to v4.1.3 - #320
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/phplrt-phplrt-4.x
branch
from
September 14, 2026 13:34
0a438dc to
f0e495f
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.
This PR contains the following updates:
4.0.0-rc1→4.1.3Release Notes
phplrt/phplrt (phplrt/phplrt)
v4.1.3Compare Source
$parserin generated parserv4.1.2Compare Source
v4.1.1Compare Source
What's Changed
Full Changelog: phplrt/phplrt@4.1.0...4.1.1
v4.1.0Compare Source
TL;DR
A new sequence optimization has been added, and the parser now runs ~30% faster!
This could have been a patch release, however, version 4.1 reintroduces a feature from
v3.x: the ability to start parsing from any rule you mark with a#symbol.Added
Full Changelog: phplrt/phplrt@4.0.3...4.1.0
v4.0.3Compare Source
What's Changed
Full Changelog: phplrt/phplrt@4.0.2...4.0.3
v4.0.2Compare Source
What's Changed
Full Changelog: phplrt/phplrt@4.0.1...4.0.2
v4.0.1Compare Source
Full Changelog: phplrt/phplrt@4.0.0...4.0.1
v4.0.0Compare Source
v4.0.0-rc3Compare Source
BC
Support for PHP 8.1 required the removal of
readonlyclasses, so:A parser generated by RC2 has to be generated again
A generated parser implements
ParserInterfacerather than extendingPhplrt\Parser\Parser$this->parserand$this->lexer@template-extends CompiledParser<TResult>stays as it is, the templateparameter is still there
Added
withTargetPhpVersion()method) is generated forvendor/bin/phplrt compileis told the same version, and the way the parseris declared
vendor/bin/phplrt compile grammar.pp3 src/Parser.php \ --class Parser --php 8.1 --abstract --no-readonly--php,--readonly/--no-readonly,--abstractand--finalreadonlyunless it is asked for otherwise@readonlyannotation below it; an anonymous parser is readonly from PHP 8.3 up
ClassModifier::Default,ClassModifier::AbstractandClassModifier::FinalUnsupportedClassModifierExceptionPhplrt\Compiler\Generator\ClassModifierChanged
below it
laminas/laminas-codedependency is removed - it blocked theinstallation on PHP 8.6 and was redundant
symfony/consoleis accepted from^6.4again, next to^7.0and^8.0composer-runtime-apiis accepted from^2.0(instead of^2.2)symplify/monorepo-builderis gone from the development dependenciesFull Changelog: phplrt/phplrt@4.0.0-rc2...4.0.0-rc3
v4.0.0-rc2Compare Source
BC
$tokenis gone,$offsetis now the offset the rule starts atContext::$tokenis replaced byContext::$beginandContext::$lengthAdded
@error— the message a rule reports in case it cannot be recognized{token},{name},{value},{offset},{line},{column},{expected}and{expected_list}"write {{name}} to name it"Phplrt\Parser\Exception\MessagePlaceholderRuleDefinition::setMessage()and$messageCompiler,LexerBuilderandParserBuilderreport to a PSR-3 loggerPsr\Log\LoggerAwareInterfaceand carries a$loggervendor/bin/phplrtreports what it does through the verbosity it is givencompileandcheck$begin,$lengthand$endare written in a reducerChanged
UserDefinedChannelis readonly by the annotation rather than by the declaration,so a channel of one's own is free to be written otherwise
phplrt/parsernow requiresphplrt/positionphplrt/compiler,phplrt/lexer-builderandphplrt/parser-buildernow requirespsr/logFull Changelog: phplrt/phplrt@4.0.0-rc1...4.0.0-rc2
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.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.