phpDocumentor / Reflection

Reflection library to do Static Analysis for PHP Projects
MIT License
117 stars 51 forks source link

Bump nikic/php-parser from 4.10.2 to 4.10.3 #190

Closed dependabot[bot] closed 3 years ago

dependabot[bot] commented 3 years ago

Bumps nikic/php-parser from 4.10.2 to 4.10.3.

Release notes

Sourced from nikic/php-parser's releases.

PHP-Parser 4.10.3

Fixed

  • Fixed formatting-preserving pretty printing for "{$x}".
  • Ternary expressions are now treated as non-associative in the pretty printer, in order to generate code that is compatible with the parentheses requirement introduced in PHP 8.
  • Removed no longer necessary error_clear_last() call in lexer, which may interfere with fatal error handlers if invoked during shutdown.
Changelog

Sourced from nikic/php-parser's changelog.

Version 4.10.3 (2020-12-03)

Fixed

  • Fixed formatting-preserving pretty printing for "{$x}".
  • Ternary expressions are now treated as non-associative in the pretty printer, in order to generate code that is compatible with the parentheses requirement introduced in PHP 8.
  • Removed no longer necessary error_clear_last() call in lexer, which may interfere with fatal error handlers if invoked during shutdown.
Commits
  • dbe56d2 Release PHP-Parser 4.10.3
  • c64986f Allow both '{' and T_CURLY_OPEN as curly bracket (#732)
  • bc7a9bf Remove useless code left from old implementation
  • 2816485 Updated README to indicate that parsing PHP 8.0 code is supported
  • 1d1bc8a Upgrade some PrettyPrinter methods to protected
  • d520bc9 Don't allow failures on PHP 8.0 integration tests
  • 51e0b30 Test against 8.0.0rc1
  • eff72ee Fix #718: PrettyPrinter breaks nested ternaries
  • See full diff 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)