php-api-clients / openapi-client-generator

OpenAPI client generator
12 stars 2 forks source link

Update dependency nikic/php-parser to v5 #214

Open renovate[bot] opened 10 months ago

renovate[bot] commented 10 months ago

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
nikic/php-parser ^4.15 -> ^4.15 \|\| ^5.0 age adoption passing confidence

Release Notes

nikic/PHP-Parser (nikic/php-parser) ### [`v5.3.1`](https://redirect.github.com/nikic/PHP-Parser/blob/HEAD/CHANGELOG.md#Version-531-2024-10-08) [Compare Source](https://redirect.github.com/nikic/PHP-Parser/compare/v5.3.0...v5.3.1) ##### Added - Added support for declaring functions with name `exit` or `die`, to allow their use in stubs. ### [`v5.3.0`](https://redirect.github.com/nikic/PHP-Parser/blob/HEAD/CHANGELOG.md#Version-530-2024-09-29) [Compare Source](https://redirect.github.com/nikic/PHP-Parser/compare/v5.2.0...v5.3.0) ##### Added - Added `indent` option to pretty printer, which can be used to specify the indentation to use (defaulting to four spaces). This also allows using tab indentation. ##### Fixed - Resolve names in `PropertyHook`s in the `NameResolver`. - Include the trailing semicolon inside `Stmt\GroupUse` nodes, making them consistent with `Stmt\Use_` nodes. - Fixed indentation sometimes becoming negative in formatting-preserving pretty printer, resulting in `ValueError`s. ### [`v5.2.0`](https://redirect.github.com/nikic/PHP-Parser/blob/HEAD/CHANGELOG.md#Version-520-2024-09-15) [Compare Source](https://redirect.github.com/nikic/PHP-Parser/compare/v5.1.0...v5.2.0) ##### Added - \[8.4] Added support for `__PROPERTY__` magic constant, represented using a `Node\Scalar\MagicConst\Property` node. - \[8.4] Added support for property hooks, which are represented using a new `hooks` subnode on `Node\Stmt\Property` and `Node\Param`, which contains an array of `Node\PropertyHook`. - \[8.4] Added support for asymmetric visibility modifiers. Property `flags` can now hold the additional bits `Modifiers::PUBLIC_SET`, `Modifiers::PROTECTED_SET` and `Modifiers::PRIVATE_SET`. - \[8.4] Added support for generalized exit function. For backwards compatibility, exit without argument or a single plain argument continues to use a `Node\Expr\Exit_` node. Otherwise (e.g. if a named argument is used) it will be represented as a plain `Node\Expr\FuncCall`. - Added support for passing enum values to various builder methods, like `BuilderFactory::val()`. ##### Removed - Removed support for alternative array syntax `$array{0}` from the PHP 8 parser. It is still supported by the PHP 7 parser. This is necessary in order to support property hooks. ### [`v5.1.0`](https://redirect.github.com/nikic/PHP-Parser/blob/HEAD/CHANGELOG.md#Version-510-2024-07-01) [Compare Source](https://redirect.github.com/nikic/PHP-Parser/compare/v5.0.2...v5.1.0) ##### Added - \[8.4] Added support for dereferencing `new` expressions without parentheses. ##### Fixed - Fixed redundant parentheses being added when pretty printing ternary expressions. ##### Changed - Made some phpdoc types more precise. ### [`v5.0.2`](https://redirect.github.com/nikic/PHP-Parser/blob/HEAD/CHANGELOG.md#Version-502-2024-03-05) [Compare Source](https://redirect.github.com/nikic/PHP-Parser/compare/v5.0.1...v5.0.2) ##### Fixed - Fix handling of indentation on next line after opening PHP tag in formatting-preserving pretty printer. ##### Changed - Avoid cyclic references in `Parser` objects. This means that no longer used parser objects are immediately destroyed now, instead of requiring cycle GC. - Update `PhpVersion::getNewestSupported()` to report PHP 8.3 instead of PHP 8.2. ### [`v5.0.1`](https://redirect.github.com/nikic/PHP-Parser/blob/HEAD/CHANGELOG.md#Version-501-2024-02-21) [Compare Source](https://redirect.github.com/nikic/PHP-Parser/compare/v5.0.0...v5.0.1) ##### Changed - Added check to detect use of PHP-Parser with libraries that define `T_*` compatibility tokens with incorrect type (such as string instead of int). This would lead to `TypeError`s down the line. Now an `Error` will be thrown early to indicate the problem. ### [`v5.0.0`](https://redirect.github.com/nikic/PHP-Parser/blob/HEAD/CHANGELOG.md#Version-500-2024-01-07) [Compare Source](https://redirect.github.com/nikic/PHP-Parser/compare/v4.19.4...v5.0.0) See UPGRADE-5.0 for detailed migration instructions. ##### Fixed - Fixed parent class of `PropertyItem` and `UseItem`. ### [`v4.19.4`](https://redirect.github.com/nikic/PHP-Parser/releases/tag/v4.19.4): PHP-Parser 4.19.4 [Compare Source](https://redirect.github.com/nikic/PHP-Parser/compare/v4.19.3...v4.19.4) ##### Fixed - Remove the `Parser\Php8` class from PHP-Parser 5.x that was mistakenly added. It could cause errors when using something like `composer preload`. ### [`v4.19.3`](https://redirect.github.com/nikic/PHP-Parser/releases/tag/v4.19.3): PHP-Parser 4.19.3 [Compare Source](https://redirect.github.com/nikic/PHP-Parser/compare/v4.19.2...v4.19.3) ##### Fixed - Include the trailing semicolon inside `Stmt\GroupUse` nodes, making them consistent with `Stmt\Use_` nodes. - Fixed indentation sometimes becoming negative in formatting-preserving pretty printer, resulting in `ValueError`s. ### [`v4.19.2`](https://redirect.github.com/nikic/PHP-Parser/releases/tag/v4.19.2): PHP-Parser 4.19.2 [Compare Source](https://redirect.github.com/nikic/PHP-Parser/compare/v4.19.1...v4.19.2) ##### Added - Added support for passing enum values to various builder methods, like `BuilderFactory::val()`. ### [`v4.19.1`](https://redirect.github.com/nikic/PHP-Parser/releases/tag/v4.19.1): PHP-Parser 4.19.1 [Compare Source](https://redirect.github.com/nikic/PHP-Parser/compare/v4.19.0...v4.19.1) ##### Fixed - Fixed "Optional parameter before required parameter" deprecation warning introduced in previous version. ### [`v4.19.0`](https://redirect.github.com/nikic/PHP-Parser/releases/tag/v4.19.0): PHP-Parser 4.19.0 [Compare Source](https://redirect.github.com/nikic/PHP-Parser/compare/v4.18.0...v4.19.0) ##### Changed - Do not use implicitly nullable parameters, which are deprecated in PHP 8.4. - Remove support for running on PHP 7.0, which does not support explicitly nullable parameters. ### [`v4.18.0`](https://redirect.github.com/nikic/PHP-Parser/releases/tag/v4.18.0): PHP-Parser 4.18.0 [Compare Source](https://redirect.github.com/nikic/PHP-Parser/compare/v4.17.1...v4.18.0) ##### Added - Added methods `ParserFactory::createForNewestSupportedVersion()` and `ParserFactory::createForHostVersion()` for forward-compatibility with PHP-Parser 5.0. ##### Fixed - Fixed missing name resolution of class constant types. - Fixed class members being dropped if an error is encountered while parsing a later class member (when error recovery is enabled). ##### Changed - The `grammar/` directory has been excluded from exported git archives.

Configuration

📅 Schedule: Branch creation - " 6-22/3 1-5, 12-23/3 0,6" in timezone Europe/Amsterdam, Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.



This PR was generated by Mend Renovate. View the repository job log.

renovate[bot] commented 10 months ago

⚠ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

The artifact failure details are included below:

File name: composer.lock
Command failed: composer update nikic/php-parser:5.0.0 --with-dependencies --ignore-platform-req='ext-*' --ignore-platform-req='lib-*' --no-ansi --no-interaction --no-scripts --no-autoloader --no-plugins
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Root composer.json requires nikic/php-parser ^4.15 || ^5.0, found nikic/php-parser[v4.15.0, ..., v4.18.0, v5.0.0] but these were not loaded, likely because it conflicts with another require.
  Problem 2
    - icanhazstring/composer-unused 0.8.10 requires nikic/php-parser ^4.15 -> found nikic/php-parser[v4.15.0, ..., v4.18.0] but it conflicts with your temporary update constraint (nikic/php-parser:5.0.0).
    - wyrihaximus/async-test-utilities 7.2.0 requires wyrihaximus/test-utilities ^5.5.4 || ^6 -> satisfiable by wyrihaximus/test-utilities[5.6.0].
    - wyrihaximus/test-utilities 5.6.0 requires icanhazstring/composer-unused ^0.8.10 -> satisfiable by icanhazstring/composer-unused[0.8.10].
    - wyrihaximus/async-test-utilities is locked to version 7.2.0 and an update of this package was not requested.

Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.