Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Bump nikic/php-parser from 4.10.5 to 4.13.1 #883

Closed

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 6, 2021

Bumps nikic/php-parser from 4.10.5 to 4.13.1.

Release notes

Sourced from nikic/php-parser's releases.

PHP-Parser 4.13.1

Fixed

  • Support reserved keywords as enum cases.
  • Support array unpacking in constant expression evaluator.

PHP-Parser 4.13.0

This release features full PHP 8.1 support.

Added

  • [PHP 8.1] Added support for intersection types using a new IntersectionType node. Additionally a ComplexType parent class for NullableType, UnionType and IntersectionType has been added.
  • [PHP 8.1] Added support for explicit octal literals.
  • [PHP 8.1] Added support for first-class callables. These are represented using a call whose first argument is a VariadicPlaceholder. The representation is intended to be forward-compatible with partial function application, just like the PHP feature itself. Call nodes now extend from Expr\CallLike, which provides an isFirstClassCallable() method to determine whether a placeholder id present. getArgs() can be used to assert that the call is not a first-class callable and returns Arg[] rather than array<Arg|VariadicPlaceholder>.

Fixed

  • Multiple modifiers for promoted properties are now accepted. In particular this allows something like public readonly for promoted properties.
  • Formatting-preserving pretty printing for comments in array literals has been fixed.

PHP-Parser 4.12.0

Added

  • [PHP 8.1] Added support for readonly properties (through a new MODIFIER_READONLY).
  • [PHP 8.1] Added support for final class constants.

Fixed

  • Fixed compatibility with PHP 8.1. & tokens are now canonicalized to the T_AMPERSAND_FOLLOWED_BY_VAR_OR_VARARG and T_AMPERSAND_NOT_FOLLOWED_BY_VAR_OR_VARARG tokens used in PHP 8.1. This happens unconditionally, regardless of whether the emulative lexer is used.

PHP-Parser 4.11.0

Added

  • BuilderFactory::args() now accepts named arguments.
  • BuilderFactory::attribute() has been added.
  • An addAttribute() method accepting an Attribute or AttributeGroup has been added to all builders that accept attributes, such as Builder\Class_.

Fixed

  • NameResolver now handles enums.
  • PrettyPrinter now prints backing enum type.
  • Builder methods for types now property handle never type.
Changelog

Sourced from nikic/php-parser's changelog.

Version 4.13.1 (2021-11-03)

Fixed

  • Support reserved keywords as enum cases.
  • Support array unpacking in constant expression evaluator.

Version 4.13.0 (2021-09-20)

Added

  • [PHP 8.1] Added support for intersection types using a new IntersectionType node. Additionally a ComplexType parent class for NullableType, UnionType and IntersectionType has been added.
  • [PHP 8.1] Added support for explicit octal literals.
  • [PHP 8.1] Added support for first-class callables. These are represented using a call whose first argument is a VariadicPlaceholder. The representation is intended to be forward-compatible with partial function application, just like the PHP feature itself. Call nodes now extend from Expr\CallLike, which provides an isFirstClassCallable() method to determine whether a placeholder id present. getArgs() can be used to assert that the call is not a first-class callable and returns Arg[] rather than array<Arg|VariadicPlaceholder>.

Fixed

  • Multiple modifiers for promoted properties are now accepted. In particular this allows something like public readonly for promoted properties.
  • Formatting-preserving pretty printing for comments in array literals has been fixed.

Version 4.12.0 (2021-07-21)

Added

  • [PHP 8.1] Added support for readonly properties (through a new MODIFIER_READONLY).
  • [PHP 8.1] Added support for final class constants.

Fixed

  • Fixed compatibility with PHP 8.1. & tokens are now canonicalized to the T_AMPERSAND_FOLLOWED_BY_VAR_OR_VARARG and T_AMPERSAND_NOT_FOLLOWED_BY_VAR_OR_VARARG tokens used in PHP 8.1. This happens unconditionally, regardless of whether the emulative lexer is used.

Version 4.11.0 (2021-07-03)

Added

  • BuilderFactory::args() now accepts named arguments.

... (truncated)

Commits
  • 63a79e8 Release PHP-Parser 4.13.1
  • 6a21234 Code highlighting
  • 7064539 Rename identifier/identifier_ex productions
  • 4bfc459 Support reserved keywords as enum cases
  • 54f19a0 Fixed array value evaluation with unpacked array
  • 8da6d7a Fixed ArrowFunction::$expr
  • f6e1fbf Update .gitattributes
  • 50953a2 Release PHP-Parser 4.13.0
  • 0a20979 Unified builder methods for setting types
  • a45fb2a Add CallLike parent class
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [nikic/php-parser](https://github.com/nikic/PHP-Parser) from 4.10.5 to 4.13.1.
- [Release notes](https://github.com/nikic/PHP-Parser/releases)
- [Changelog](https://github.com/nikic/PHP-Parser/blob/master/CHANGELOG.md)
- [Commits](nikic/PHP-Parser@v4.10.5...v4.13.1)

---
updated-dependencies:
- dependency-name: nikic/php-parser
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
@CarlSchwan CarlSchwan force-pushed the dependabot/composer/nikic/php-parser-4.13.1 branch from 29af52b to 9fa2d4b Compare November 9, 2021 13:11
CarlSchwan added a commit to nextcloud/server that referenced this pull request Nov 9, 2021
- [ ] Merge nextcloud/3rdparty#883
- [ ] Rebase

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
@CarlSchwan CarlSchwan requested review from nickvergessen and ChristophWurst and removed request for nickvergessen November 9, 2021 13:14
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Dec 2, 2021

A newer version of nikic/php-parser exists, but since this PR has been edited by someone other than Dependabot I haven't updated it. You'll get a PR for the updated version as normal once this PR is merged.

@blizzz blizzz added this to the Nextcloud 25 milestone Apr 21, 2022
@skjnldsv skjnldsv modified the milestones: Nextcloud 25, Nextcloud 26 Aug 19, 2022
@kesselb kesselb added the main label Oct 26, 2022
@kesselb
Copy link
Contributor

kesselb commented Jan 13, 2023

@dependabot recreate

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Jan 13, 2023

Superseded by #1275.

@dependabot dependabot bot closed this Jan 13, 2023
@dependabot dependabot bot deleted the dependabot/composer/nikic/php-parser-4.13.1 branch January 13, 2023 09:47
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants