core
core copied to clipboard
chore(deps): bump nikic/php-parser from 5.6.2 to 5.7.0
Bumps nikic/php-parser from 5.6.2 to 5.7.0.
Release notes
Sourced from nikic/php-parser's releases.
PHP-Parser 5.7.0
Fixed
- Fixed changing modifier on anonymous class with formatting preserving pretty printer.
- Emit an error for unparenthesized arrow functions in pipe operator, and print necessary parentheses in the pretty printer.
- Fix PHP 8.5 deprecation warning in php-parse binary.
Changed
- When targeting PHP 8.4 or newer, omit parentheses around immediately dereferenced new expressions.
Added
- Added
shouldPrintRawValueattribute toScalar\Int_, which makes the pretty printer use therawValueof the node. This can be used to print integers with separators.
Changelog
Sourced from nikic/php-parser's changelog.
Version 5.7.0 (2025-12-06)
Fixed
- Fixed changing modifier on anonymous class with formatting preserving pretty printer.
- Emit an error for unparenthesized arrow functions in pipe operator, and print necessary parentheses in the pretty printer.
- Fix PHP 8.5 deprecation warning in php-parse binary.
Changed
- When targeting PHP 8.4 or newer, omit parentheses around immediately dereferenced new expressions.
Added
- Added
shouldPrintRawValueattribute toScalar\Int_, which makes the pretty printer use therawValueof the node. This can be used to print integers with separators.
Commits
dca41cdRelease PHP-Parser 5.7.08211479Add shouldPrintRawValue attribute to print rawValue (#1127)e481026Document attributes used by pretty printer24fb844Stop using a semicolon (;) at the end of case statements for PHP 8.5d82749c[types] add known docblock types to traverseArray(), cleanup no relevant git ...c97b23dOmit new parentheses when printing for PHP 8.46b05527Print parentheses around arrow function in pipe operatorf01ac40Emit error for unparenthesized arrow function in pipe operator232169fFix modifier change on anonymous classf174b0aFix version reference in changelog- See full diff 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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Thanks for opening this pull request! The maintainers of this repository would appreciate it if you would create a changelog item based on your changes.