-
-
Notifications
You must be signed in to change notification settings - Fork 11
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 #102
Open
renovate
wants to merge
1
commit into
1.13.x
Choose a base branch
from
renovate/nikic-php-parser-5.x
base: 1.13.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
+1
−1
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
|
51e7f12
to
dcb546e
Compare
29f0525
to
d8a49f4
Compare
bae2e95
to
76053d4
Compare
98ba2c3
to
401485a
Compare
99dc963
to
a40a005
Compare
cfced29
to
4bbcb78
Compare
4f2bf8e
to
6a80a50
Compare
26dfa8f
to
be64d72
Compare
820c4bc
to
8e62b56
Compare
e6a9d35
to
d4ec577
Compare
bb9c508
to
1c6fa2f
Compare
4a6f5cb
to
f441cec
Compare
c17c75e
to
82bdba3
Compare
1a8ee94
to
8d1e50c
Compare
8d1e50c
to
35173dd
Compare
1e33ecb
to
fae70ba
Compare
509fd54
to
33853c7
Compare
b4237e1
to
731ae4b
Compare
b07d81e
to
e06b0e4
Compare
| datasource | package | from | to | | ---------- | ---------------- | ------ | ----- | | packagist | nikic/php-parser | 4.19.4 | 5.4.0 |
e06b0e4
to
e636d5c
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:
^4.17.1
->^5.4.0
Release Notes
nikic/PHP-Parser (nikic/php-parser)
v5.4.0
Compare 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 shortset
hooks.set => $value
will beexpanded to
set { $this->propertyName = $value; }
. This requires thepropertyName
attributeon 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.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
.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.