chore(deps): update dependency nikic/php-parser to v5 - autoclosed#994
Closed
renovate[bot] wants to merge 1 commit intomasterfrom
Closed
chore(deps): update dependency nikic/php-parser to v5 - autoclosed#994renovate[bot] wants to merge 1 commit intomasterfrom
renovate[bot] wants to merge 1 commit intomasterfrom
Conversation
Contributor
Author
⚠ 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 |
2c02f89 to
fdb067e
Compare
900c8c6 to
ce33185
Compare
57439d4 to
666d516
Compare
569541d to
a6dc5f2
Compare
2b7b9ef to
9d15b7e
Compare
c5ac49b to
75a1446
Compare
d84dbc5 to
eb87aec
Compare
75074e9 to
df2d7b3
Compare
8c621ed to
477928c
Compare
4306573 to
8e285fb
Compare
d928737 to
aaed948
Compare
| datasource | package | from | to | | ---------- | ---------------- | ------ | ----- | | packagist | nikic/php-parser | 4.19.4 | 5.4.0 |
aaed948 to
888fa74
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.19.4->^5.4.0Release Notes
nikic/PHP-Parser (nikic/php-parser)
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.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.
This PR was generated by Mend Renovate. View the repository job log.