Skip to content

Bump nikic/php-parser from 5.7.0 to 5.8.0#752

Merged
github-actions[bot] merged 1 commit into
7.xfrom
dependabot/composer/nikic/php-parser-5.8.0
Jul 6, 2026
Merged

Bump nikic/php-parser from 5.7.0 to 5.8.0#752
github-actions[bot] merged 1 commit into
7.xfrom
dependabot/composer/nikic/php-parser-5.8.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jul 6, 2026

Copy link
Copy Markdown
Contributor

Bumps nikic/php-parser from 5.7.0 to 5.8.0.

Release notes

Sourced from nikic/php-parser's releases.

PHP-Parser 5.8.0

Fixed

  • Treat _ as label character in formatting-preserving pretty printer.
  • Handle comment after object operator in keyword emulator.

Changed

  • Drop support for pipe operator in constant expression evaluator. It is not supported in constant expressions and may pose security risks, as it allows calls to arbitrary functions.
  • void parameter types now generate a (recoverable) error during parsing.
  • Restored reverse emulation support for fn keywords when targeting PHP before 7.4.
Changelog

Sourced from nikic/php-parser's changelog.

Version 5.8.0 (2026-06-04)

Fixed

  • Treat _ as label character in formatting-preserving pretty printer.
  • Handle comment after object operator in keyword emulator.

Changed

  • Drop support for pipe operator in constant expression evaluator. It is not supported in constant expressions and may pose security risks, as it allows calls to arbitrary functions.
  • void parameter types now generate a (recoverable) error during parsing.
  • Restored reverse emulation support for fn keywords when targeting PHP before 7.4.
Commits
  • 044a6a3 Release PHP-Parser 5.8.0
  • ca145ac Try to fix tests on older versions
  • c81a0af Test PHP 8.6 in CI
  • b82d4c2 Handle comment after object operator
  • 49429ef Integration test against PHP 8.5
  • 9c3fe25 Drop support for pipe operator in constant expression evaluator
  • 2e66ec3 Fix PHPStan build on latest release (#1148)
  • b560dba Add missing label characters in PrettyPrinterAbstract::$labelCharMap (#1150)
  • 50f0d9c Restore FnTokenEmulator (#1141)
  • 0512478 Prevent void param type (#1142)
  • 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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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 5.7.0 to 5.8.0.
- [Release notes](https://github.com/nikic/PHP-Parser/releases)
- [Changelog](https://github.com/nikic/PHP-Parser/blob/master/CHANGELOG.md)
- [Commits](nikic/PHP-Parser@v5.7.0...v5.8.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file php Pull requests that update Php code labels Jul 6, 2026
@github-actions github-actions Bot enabled auto-merge July 6, 2026 08:42
@github-actions github-actions Bot merged commit a141704 into 7.x Jul 6, 2026
34 checks passed
@dependabot dependabot Bot deleted the dependabot/composer/nikic/php-parser-5.8.0 branch July 6, 2026 08:44
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 php Pull requests that update Php code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants