Skip to content

build(deps-dev): bump nikic/php-parser from 5.7.0 to 5.8.0#2512

Open
dependabot[bot] wants to merge 1 commit into
1.xfrom
dependabot/composer/nikic/php-parser-5.8.0
Open

build(deps-dev): bump nikic/php-parser from 5.7.0 to 5.8.0#2512
dependabot[bot] wants to merge 1 commit into
1.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:development
  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
@dependabot dependabot Bot requested a review from norberttech as a code owner July 6, 2026 04:33
@dependabot dependabot Bot added the php Pull requests that update php code label Jul 6, 2026
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 size: XS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants