Skip to content
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 nikic/php-parser requirement from ^4.4 to ^4.7 #197

Merged
merged 1 commit into from
Aug 1, 2020

Conversation

dependabot-preview[bot]
Copy link
Contributor

Updates the requirements on nikic/php-parser to permit the latest version.

Release notes

Sourced from nikic/php-parser's releases.

PHP-Parser 4.7.0

Added

  • Add ParentConnectingVisitor and NodeConnectingVisitor classes.
  • [PHP 8.0] Added support for match expressions. These are represented using a new Expr\Match_ containing MatchArms.
  • [PHP 8.0] Added support for trailing comma in closure use lists.

Fixed

  • Fixed missing error for unterminated comment with trailing newline (#688).
  • Compatibility with PHP 8.0 has been restored: Namespaced names are now always represented by T_NAME_* tokens, using emulationg on older PHP versions. Full support for reserved keywords in namespaced names is not yet present.
Changelog

Sourced from nikic/php-parser's changelog.

Version 4.7.0 (2020-07-25)

Added

  • Add ParentConnectingVisitor and NodeConnectingVisitor classes.
  • [PHP 8.0] Added support for match expressions. These are represented using a new Expr\Match_ containing MatchArms.
  • [PHP 8.0] Added support for trailing comma in closure use lists.

Fixed

  • Fixed missing error for unterminated comment with trailing newline (#688).
  • Compatibility with PHP 8.0 has been restored: Namespaced names are now always represented by T_NAME_* tokens, using emulationg on older PHP versions. Full support for reserved keywords in namespaced names is not yet present.

Version 4.6.0 (2020-07-02)

Added

  • [PHP 8.0] Added support for trailing commas in parameter lists.
  • [PHP 8.0] Added support for constructor promotion. The parameter visibility is stored in Node\Param::$flags.

Fixed

  • Comment tokens now always follow the PHP 8 interpretation, and do not include trailing whitespace.
  • As a result of the previous change, some whitespace issues when inserting a statement into a method containing only a comment, and using the formatting-preserving pretty printer, have been resolved.

Version 4.5.0 (2020-06-03)

Added

  • [PHP 8.0] Added support for the mixed type. This means mixed types are now parsed as an Identifier rather than a Name.
  • [PHP 8.0] Added support for catching without capturing the exception. This means that Catch_::$var may now be null.

Version 4.4.0 (2020-04-10)

Added

  • Added support for passing union types in builders.
Commits
  • 21dce06 Release PHP-Parser 4.7.0
  • acaf3fe Implement emulation of PHP 8 T_NAME_* tokens
  • a63b495 Migrate grammar to use PHP 8 T_NAME_* tokens
  • 2d19989 [PHP 8.0] Support trailing comma in closure use list
  • 739b4b4 Fix handling of unterminated comment with trailing newline
  • 17f4781 Fix file name
  • cd7c058 Added missing entry to change log and correct next version indicator (#685)
  • d8b19d7 Fixed rebuildParsers.php (#686)
  • 69c5d48 [PHP 8.0] Add match expressions (#672)
  • 6ec527b Corrected license text
  • Additional commits viewable in compare view

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)
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in the .dependabot/config.yml file in this repo:

  • Update frequency
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

Updates the requirements on [nikic/php-parser](https://github.com/nikic/PHP-Parser) to permit the latest version.
- [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.4.0...v4.7.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label Aug 1, 2020
@dependabot-preview dependabot-preview bot requested a review from maglnet August 1, 2020 13:13
@Ocramius Ocramius added this to the 2.2.0 milestone Aug 1, 2020
@Ocramius Ocramius self-assigned this Aug 1, 2020
@Ocramius Ocramius merged commit 196131e into master Aug 1, 2020
@Ocramius Ocramius deleted the dependabot/composer/nikic/php-parser-tw-4.7 branch August 1, 2020 13:30
@Ocramius Ocramius modified the milestones: 2.2.0, 3.0.0 Nov 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants