-
-
Notifications
You must be signed in to change notification settings - Fork 69
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 nikic/php-parser to v5 #660
base: 4.7.x
Are you sure you want to change the base?
Conversation
⚠ 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
|
add6278
to
2cc95de
Compare
2cc95de
to
9773dcf
Compare
9773dcf
to
53d001c
Compare
53d001c
to
998c8ba
Compare
|
998c8ba
to
0cb6281
Compare
0cb6281
to
b4b1e54
Compare
| datasource | package | from | to | | ---------- | ---------------- | ------ | ----- | | packagist | nikic/php-parser | 4.16.0 | 5.3.1 |
b4b1e54
to
6060064
Compare
This PR contains the following updates:
^4.16.0
->^5.3.1
Release Notes
nikic/PHP-Parser (nikic/php-parser)
v5.3.1
Compare Source
Added
exit
ordie
, to allow their use in stubs.v5.3.0
Compare Source
Added
indent
option to pretty printer, which can be used to specify the indentation to use(defaulting to four spaces). This also allows using tab indentation.
Fixed
PropertyHook
s in theNameResolver
.Stmt\GroupUse
nodes, making them consistent withStmt\Use_
nodes.in
ValueError
s.v5.2.0
Compare Source
Added
__PROPERTY__
magic constant, represented using aNode\Scalar\MagicConst\Property
node.hooks
subnode onNode\Stmt\Property
andNode\Param
, which contains an array ofNode\PropertyHook
.flags
can now hold theadditional bits
Modifiers::PUBLIC_SET
,Modifiers::PROTECTED_SET
andModifiers::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.0
Compare Source
Added
new
expressions without parentheses.Fixed
Changed
v5.0.2
Compare Source
Fixed
printer.
Changed
Parser
objects. 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.1
Compare Source
Changed
T_*
compatibility tokenswith incorrect type (such as string instead of int). This would lead to
TypeError
s down theline. Now an
Error
will be thrown early to indicate the problem.v5.0.0
Compare Source
See UPGRADE-5.0 for detailed migration instructions.
Fixed
PropertyItem
andUseItem
.v4.19.4
: PHP-Parser 4.19.4Compare Source
Fixed
Parser\Php8
class from PHP-Parser 5.x that was mistakenly added. It could cause errors when using something likecomposer preload
.v4.19.3
: PHP-Parser 4.19.3Compare Source
Fixed
Stmt\GroupUse
nodes, making them consistent withStmt\Use_
nodes.ValueError
s.v4.19.2
: PHP-Parser 4.19.2Compare Source
Added
BuilderFactory::val()
.v4.19.1
: PHP-Parser 4.19.1Compare Source
Fixed
v4.19.0
: PHP-Parser 4.19.0Compare Source
Changed
v4.18.0
: PHP-Parser 4.18.0Compare Source
Added
ParserFactory::createForNewestSupportedVersion()
andParserFactory::createForHostVersion()
for forward-compatibility with PHP-Parser 5.0.Fixed
Changed
grammar/
directory has been excluded from exported git archives.v4.17.1
: PHP-Parser 4.17.1Compare Source
Fixed
ClassConst::$type
introduced in previous release.v4.17.0
: PHP-Parser 4.17.0Compare Source
Added
Fixed
(CONST)::$x
and similar.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.