Skip to content
This repository has been archived by the owner on Jan 30, 2020. It is now read-only.

Update nikic/php-parser requirement from ^3.0 to ^4.2 #60

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dependabot-preview[bot]
Copy link

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

Release notes

Sourced from nikic/php-parser's releases.

PHP-Parser 4.2.1

Added

  • [PHP 7.4] Add support for ??= operator through a new AssignOp\Coalesce node. (#575)
Changelog

Sourced from nikic/php-parser's changelog.

Version 4.2.1 (2019-02-16)

Added

  • [PHP 7.4] Add support for ??= operator through a new AssignOp\Coalesce node. (#575)

Version 4.2.0 (2019-01-12)

Added

  • [PHP 7.4] Add support for typed properties through a new type subnode of Stmt\Property.
    Additionally Builder\Property now has a setType() method. (#567)
  • Add kind attribute to Cast\Double_, which allows to distinguish between (float),
    (double) and (real). The form of the cast will be preserved by the pretty printer. (#565)

Fixed

  • Remove assertion when pretty printing anonymous class with a name (#554).

Version 4.1.1 (2018-12-26)

Fixed

  • Fix "undefined offset" notice when parsing specific malformed code (#551).

Added

  • Support error recovery for missing return type (function foo() : {}) (#544).

Version 4.1.0 (2018-10-10)

Added

  • Added support for PHP 7.3 flexible heredoc/nowdoc strings, completing support for PHP 7.3. There
    are two caveats for this feature:
    • In some rare, pathological cases flexible heredoc/nowdoc strings change the interpretation of
      existing doc strings. PHP-Parser will now use the new interpretation.
    • Flexible heredoc/nowdoc strings require special support from the lexer. Because this is not
      available on PHP versions before 7.3, support has to be emulated. This emulation is not perfect
      and some cases which we do not expect to occur in practice (such as flexible doc strings being
      nested within each other through abuse of variable-variable interpolation syntax) may not be
      recognized correctly.
  • Added DONT_TRAVERSE_CURRENT_AND_CHILDREN to NodeTraverser to skip both traversal of child
    nodes, and prevent subsequent visitors from visiting the current node.

Version 4.0.4 (2018-09-18)

... (truncated)
Commits
  • 5221f49 Release PHP-Parser 4.2.1
  • ae4e90d Add PHP 7.4 to Travis matrix
  • 9de9682 Add support for ??= operator
  • b7e6361 updates via "rectorphp/rector" (#573)
  • 594bcae Release PHP-Parser 4.2.0
  • d5180f0 Change test to use correct node type
  • 1f95f92 Tweak type annotation to include null
  • 6b9dd7a Avoid redundant argument
  • ba09265 Enhancement: Reference phpunit.xsd as installed with composer
  • ec0d834 Enhancement: Normalize composer.json
  • 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.


Note: This repo was added to Dependabot recently, so you'll receive a maximum of 5 PRs for your first few update runs. Once an update run creates fewer than 5 PRs we'll remove that limit.

You can always request more updates by clicking Bump now in your Dependabot dashboard.

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 ignore this [patch|minor|major] version will close this PR and stop Dependabot creating any more for this minor/major 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 use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @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 your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Automerge options (never/patch/minor, and dev/runtime dependencies)
  • Pull request limits (per update run and/or open at any time)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

Finally, you can contact us by mentioning @dependabot.

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@v3.0.0...v4.2.1)

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label May 23, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant