Release notes
*Sourced from [nikic/php-parser's releases](https://github.com/nikic/PHP-Parser/releases).*
> ## PHP-Parser 4.2.5
> ### Changed
>
> * Tests and documentation are no longer included in source archives. They can still be accessed by cloning the repository.
> * php-yacc is now used to generate the parser. This has no impact on users of the library.
>
> ## PHP-Parser 4.2.4
> ### Added
>
> * Added getProperties(), getConstants() and getTraitUses() to ClassLike. ([#629](https://github-redirect.dependabot.com/nikic/PHP-Parser/issues/629), [#630](https://github-redirect.dependabot.com/nikic/PHP-Parser/issues/630))
>
> ### Fixed
>
> * Fixed flexible heredoc emulation to check for digits after the end label. This synchronizes behavior with the upcoming PHP 7.3.10 release.
>
> ## PHP-Parser 4.2.3
> ### Added
>
> * [PHP 7.4] Add support for numeric literal separators. ([#615](https://github-redirect.dependabot.com/nikic/PHP-Parser/issues/615))
>
> ### Fixed
>
> * Fixed resolution of return types for arrow functions. ([#613](https://github-redirect.dependabot.com/nikic/PHP-Parser/issues/613))
> * Fixed compatibility with PHP 7.4.
>
> ## PHP-Parser 4.2.2
> ### Added
>
> * [PHP 7.4] Add support for arrow functions using a new `Expr\ArrowFunction` node. ([#602](https://github-redirect.dependabot.com/nikic/PHP-Parser/issues/602))
> * [PHP 7.4] Add support for array spreads, using a new `unpack` subnode on `ArrayItem`. ([#609](https://github-redirect.dependabot.com/nikic/PHP-Parser/issues/609))
> * Added support for inserting into empty list nodes in the formatting preserving pretty printer.
>
> ### Changed
>
> * `php-parse` will now print messages to stderr, so that stdout only contains the actual result of the operation (such as a JSON dump). ([#605](https://github-redirect.dependabot.com/nikic/PHP-Parser/issues/605))
>
> ### Fixed
>
> * Fixed attribute assignment for zero-length nop statements, and a related assertion failure in the formatting-preserving pretty printer. ([#589](https://github-redirect.dependabot.com/nikic/PHP-Parser/issues/589))
Changelog
*Sourced from [nikic/php-parser's changelog](https://github.com/nikic/PHP-Parser/blob/master/CHANGELOG.md).*
> Version 4.3.0 (2019-11-08)
> --------------------------
>
> ### Added
>
> * [PHP 8.0] Added support for union types using a new `UnionType` node.
>
> Version 4.2.5 (2019-10-25)
> --------------------------
>
> ### Changed
>
> * Tests and documentation are no longer included in source archives. They can still be accessed
> by cloning the repository.
> * php-yacc is now used to generate the parser. This has no impact on users of the library.
>
> Version 4.2.4 (2019-09-01)
> --------------------------
>
> ### Added
>
> * Added getProperties(), getConstants() and getTraitUses() to ClassLike. ([#629](https://github-redirect.dependabot.com/nikic/PHP-Parser/issues/629), [#630](https://github-redirect.dependabot.com/nikic/PHP-Parser/issues/630))
>
> ### Fixed
>
> * Fixed flexible heredoc emulation to check for digits after the end label. This synchronizes
> behavior with the upcoming PHP 7.3.10 release.
>
> Version 4.2.3 (2019-08-12)
> --------------------------
>
> ### Added
>
> * [PHP 7.4] Add support for numeric literal separators. ([#615](https://github-redirect.dependabot.com/nikic/PHP-Parser/issues/615))
>
> ### Fixed
>
> * Fixed resolution of return types for arrow functions. ([#613](https://github-redirect.dependabot.com/nikic/PHP-Parser/issues/613))
> * Fixed compatibility with PHP 7.4.
>
> Version 4.2.2 (2019-05-25)
> --------------------------
>
> ### Added
>
> * [PHP 7.4] Add support for arrow functions using a new `Expr\ArrowFunction` node. ([#602](https://github-redirect.dependabot.com/nikic/PHP-Parser/issues/602))
> * [PHP 7.4] Add support for array spreads, using a new `unpack` subnode on `ArrayItem`. ([#609](https://github-redirect.dependabot.com/nikic/PHP-Parser/issues/609))
> * Added support for inserting into empty list nodes in the formatting preserving pretty printer.
>
> ### Changed
> ... (truncated)
Commits
- [`9a9981c`](https://github.com/nikic/PHP-Parser/commit/9a9981c347c5c49d6dfe5cf826bb882b824080dc) Release PHP-Parser 4.3.0
- [`2c42f64`](https://github.com/nikic/PHP-Parser/commit/2c42f644750b721a27b4a9eb6b42c1e5179ae4d6) Update php-yacc dependency
- [`664c101`](https://github.com/nikic/PHP-Parser/commit/664c10121e9d3735ba958274f2ae737580303d9a) Add support for union types
- [`5b1cd2e`](https://github.com/nikic/PHP-Parser/commit/5b1cd2e4f2592988cd9c5a2d29d7d9701c82bb0c) Fix phpdoc for Param\Builer::$type
- [`b76bbc3`](https://github.com/nikic/PHP-Parser/commit/b76bbc3c51f22c570648de48e8c2d941ed5e2cf2) Release PHP-Parser 4.2.5
- [`eacc5db`](https://github.com/nikic/PHP-Parser/commit/eacc5dbe190857ac1f7fa9bc94821f558b35f7ea) Default to using php-yacc to generate the parsers
- [`3226eb4`](https://github.com/nikic/PHP-Parser/commit/3226eb40869e46933984bfa41bb7406bced293ac) Accept KMYACC env var in rebuildParsers.php
- [`54c37f6`](https://github.com/nikic/PHP-Parser/commit/54c37f6b3b79021d16b9269edbea73778bb0b4d1) Remove -l flag from kmyacc invocation
- [`0a80b2d`](https://github.com/nikic/PHP-Parser/commit/0a80b2d8eee0b51d3826ed228e0c794add0c2f45) Fix PHP 8 compatibility
- [`2f45e05`](https://github.com/nikic/PHP-Parser/commit/2f45e05042da673c39ff76b9b96079328cba51fc) Skip php-src test file
- Additional commits viewable in [compare view](https://github.com/nikic/PHP-Parser/compare/v4.2.1...v4.3.0)
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 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)
- `@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](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- 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)
Bumps nikic/php-parser from 4.2.1 to 4.3.0.
Release notes
*Sourced from [nikic/php-parser's releases](https://github.com/nikic/PHP-Parser/releases).* > ## PHP-Parser 4.2.5 > ### Changed > > * Tests and documentation are no longer included in source archives. They can still be accessed by cloning the repository. > * php-yacc is now used to generate the parser. This has no impact on users of the library. > > ## PHP-Parser 4.2.4 > ### Added > > * Added getProperties(), getConstants() and getTraitUses() to ClassLike. ([#629](https://github-redirect.dependabot.com/nikic/PHP-Parser/issues/629), [#630](https://github-redirect.dependabot.com/nikic/PHP-Parser/issues/630)) > > ### Fixed > > * Fixed flexible heredoc emulation to check for digits after the end label. This synchronizes behavior with the upcoming PHP 7.3.10 release. > > ## PHP-Parser 4.2.3 > ### Added > > * [PHP 7.4] Add support for numeric literal separators. ([#615](https://github-redirect.dependabot.com/nikic/PHP-Parser/issues/615)) > > ### Fixed > > * Fixed resolution of return types for arrow functions. ([#613](https://github-redirect.dependabot.com/nikic/PHP-Parser/issues/613)) > * Fixed compatibility with PHP 7.4. > > ## PHP-Parser 4.2.2 > ### Added > > * [PHP 7.4] Add support for arrow functions using a new `Expr\ArrowFunction` node. ([#602](https://github-redirect.dependabot.com/nikic/PHP-Parser/issues/602)) > * [PHP 7.4] Add support for array spreads, using a new `unpack` subnode on `ArrayItem`. ([#609](https://github-redirect.dependabot.com/nikic/PHP-Parser/issues/609)) > * Added support for inserting into empty list nodes in the formatting preserving pretty printer. > > ### Changed > > * `php-parse` will now print messages to stderr, so that stdout only contains the actual result of the operation (such as a JSON dump). ([#605](https://github-redirect.dependabot.com/nikic/PHP-Parser/issues/605)) > > ### Fixed > > * Fixed attribute assignment for zero-length nop statements, and a related assertion failure in the formatting-preserving pretty printer. ([#589](https://github-redirect.dependabot.com/nikic/PHP-Parser/issues/589))Changelog
*Sourced from [nikic/php-parser's changelog](https://github.com/nikic/PHP-Parser/blob/master/CHANGELOG.md).* > Version 4.3.0 (2019-11-08) > -------------------------- > > ### Added > > * [PHP 8.0] Added support for union types using a new `UnionType` node. > > Version 4.2.5 (2019-10-25) > -------------------------- > > ### Changed > > * Tests and documentation are no longer included in source archives. They can still be accessed > by cloning the repository. > * php-yacc is now used to generate the parser. This has no impact on users of the library. > > Version 4.2.4 (2019-09-01) > -------------------------- > > ### Added > > * Added getProperties(), getConstants() and getTraitUses() to ClassLike. ([#629](https://github-redirect.dependabot.com/nikic/PHP-Parser/issues/629), [#630](https://github-redirect.dependabot.com/nikic/PHP-Parser/issues/630)) > > ### Fixed > > * Fixed flexible heredoc emulation to check for digits after the end label. This synchronizes > behavior with the upcoming PHP 7.3.10 release. > > Version 4.2.3 (2019-08-12) > -------------------------- > > ### Added > > * [PHP 7.4] Add support for numeric literal separators. ([#615](https://github-redirect.dependabot.com/nikic/PHP-Parser/issues/615)) > > ### Fixed > > * Fixed resolution of return types for arrow functions. ([#613](https://github-redirect.dependabot.com/nikic/PHP-Parser/issues/613)) > * Fixed compatibility with PHP 7.4. > > Version 4.2.2 (2019-05-25) > -------------------------- > > ### Added > > * [PHP 7.4] Add support for arrow functions using a new `Expr\ArrowFunction` node. ([#602](https://github-redirect.dependabot.com/nikic/PHP-Parser/issues/602)) > * [PHP 7.4] Add support for array spreads, using a new `unpack` subnode on `ArrayItem`. ([#609](https://github-redirect.dependabot.com/nikic/PHP-Parser/issues/609)) > * Added support for inserting into empty list nodes in the formatting preserving pretty printer. > > ### Changed > ... (truncated)Commits
- [`9a9981c`](https://github.com/nikic/PHP-Parser/commit/9a9981c347c5c49d6dfe5cf826bb882b824080dc) Release PHP-Parser 4.3.0 - [`2c42f64`](https://github.com/nikic/PHP-Parser/commit/2c42f644750b721a27b4a9eb6b42c1e5179ae4d6) Update php-yacc dependency - [`664c101`](https://github.com/nikic/PHP-Parser/commit/664c10121e9d3735ba958274f2ae737580303d9a) Add support for union types - [`5b1cd2e`](https://github.com/nikic/PHP-Parser/commit/5b1cd2e4f2592988cd9c5a2d29d7d9701c82bb0c) Fix phpdoc for Param\Builer::$type - [`b76bbc3`](https://github.com/nikic/PHP-Parser/commit/b76bbc3c51f22c570648de48e8c2d941ed5e2cf2) Release PHP-Parser 4.2.5 - [`eacc5db`](https://github.com/nikic/PHP-Parser/commit/eacc5dbe190857ac1f7fa9bc94821f558b35f7ea) Default to using php-yacc to generate the parsers - [`3226eb4`](https://github.com/nikic/PHP-Parser/commit/3226eb40869e46933984bfa41bb7406bced293ac) Accept KMYACC env var in rebuildParsers.php - [`54c37f6`](https://github.com/nikic/PHP-Parser/commit/54c37f6b3b79021d16b9269edbea73778bb0b4d1) Remove -l flag from kmyacc invocation - [`0a80b2d`](https://github.com/nikic/PHP-Parser/commit/0a80b2d8eee0b51d3826ed228e0c794add0c2f45) Fix PHP 8 compatibility - [`2f45e05`](https://github.com/nikic/PHP-Parser/commit/2f45e05042da673c39ff76b9b96079328cba51fc) Skip php-src test file - Additional commits viewable in [compare view](https://github.com/nikic/PHP-Parser/compare/v4.2.1...v4.3.0)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 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) - `@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](https://app.dependabot.com): - Update frequency (including time of day and day of week) - 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)