Skip to content

Update dependency phpstan/phpdoc-parser to v2 #222

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented May 14, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
phpstan/phpdoc-parser ^1.22 -> ^1.22 || ^2.0 age adoption passing confidence

Release Notes

phpstan/phpdoc-parser (phpstan/phpdoc-parser)

v2.1.0

Compare Source

  • 9b30d6f - TypeParser - support comments at EOL with //
  • 12c4e9f - Merge remote-tracking branch 'origin/2.0.x' into 2.1.x
  • dc7c469 - PrinterTest - nowdoc helper for nicer formatting
  • 19d74a8 - Open 2.1.x

v2.0.2

Compare Source

  • 51087f8 - Allow multiple new lines in union and intersection definition
  • 5404716 - Prepare 2.1.x
  • 19ecfcb - Send PR to 2.1.x

v2.0.1

Compare Source

  • 72e51f7 - TypeParser: Allow multiple newlines and also allow multiline union and intersection types for array shapes
  • 81de606 - Update LICENSE
  • 7adaab7 - Test inline @link
  • 04c8de0 - Slevomat CS merged PR about 2.0

v2.0.0

Compare Source

phpstan/phpdoc-parser 2.0 is here! 🎉

This release brings API cleanup and enables new features for everyone that were previously hidden behind opt-in feature toggles, like:

  • Parsing Doctrine annotations
  • Type aliases with invalid types being preserved
  • Text between tags always belongs to description
  • ...and more...

See the UPGRADING guide for details.

phpstan/phpdoc-parser 2.0 will also be included in PHPStan 2.0 that's going to be released on Monday November 11th 2024.

v1.33.0

Compare Source

  • 82a311f - Support for non-empty-array and non-empty-list array shape kind

v1.32.0

Compare Source

  • 6ca22b1 - Support for @pure-unless-callable-is-impure

v1.31.0

Compare Source

  • 249f15f - PhpDocParser: support template type lower bounds
  • a5e938b - Test for special multiline PHPDoc
  • 5d48fa4 - Do not deploy API reference on 1.23.x anymore
  • 1c7fcc4 - Add test cases for quote aware array/object keys
  • 7e92a25 - Fix link

v1.30.1

Compare Source

  • 51b95ec - Deploy API Reference into a subdirectory with the current branch name
  • 0e689c5 - Fix bug of repeating last line in AST for textBetweenTagsBelongsToDescription=true
  • 9d053a8 - Test newer PHP versions
  • 0454892 - Pin build-cs

v1.30.0

Compare Source

  • 5ceb0e3 - Support typing extra items in unsealed array shapes
  • cc2b26c - Send update PR to phpstan-src 1.12.x branch
  • 8752839 - Fix $matches error
  • 2afec65 - Update roave/backward-compatibility-check

v1.29.1

Compare Source

  • fcaefac - TemplateTagValueNode name cannot be empty string

v1.29.0

Compare Source

  • 536889f - Support array and offset access on const types
  • 9bb3855 - Update lock-closed-issues.yml
  • 54b191f - Test pure-callable and pure-Closure
  • 793d146 - Update phpdoc-parser in phpstan-src:1.11.x

v1.28.0

Compare Source

  • cd06d6b - Add @phan- prefixes for recognized doc tags

v1.27.0

Compare Source

  • 86e4d5a - Support for @param-closure-this
  • 8ce0d65 - Support for @param-immediately-invoked-callable and @param-later-invoked-callable

v1.26.0

Compare Source

  • 231e318 - Improve static keyword conflict resolution in @method
  • c23674d - Parse generic callables
  • e7f0d8f - Update metcalfc/changelog-generator action to v4.3.1
  • 6301a43 - Update github-actions

v1.25.0

Compare Source

  • bd84b62 - Added support for @phpstan-require-extends and @phpstan-require-implements PHPDoc tags
  • 77db537 - Update apiref.yml
  • f6c9b60 - Revert "Update apiref.yml"
  • 23d5464 - Update apiref.yml

v1.24.5

Compare Source

  • fedf211 - Fix
  • cb802d0 - Update Slevomat CS for testing
  • c7a1da4 - Fix format-preserving printer for GenericTagValueNode without description
  • fb19066 - Fix

v1.24.4

Compare Source

  • 6bd0c26 - Git export-ignore phpstan-baseline.neon
  • 58cdc73 - Update metcalfc/changelog-generator action to v4.2.0
  • 37d7684 - Update dessant/lock-threads action to v5

v1.24.3

Compare Source

  • 12f01d2 - fix HTML description detection for phpstorm stubs
  • c2b8bbf - Different site ID for Fathom
  • 0bb2fe4 - Tests for comment-like descriptions

Configuration

📅 Schedule: Branch creation - Every 3 hours, between 06:00 AM and 10:59 PM, Monday through Friday ( * 6-22/3 * * 1-5 ), Every 3 hours, between 12:00 PM and 11:59 PM, only on Sunday and Saturday ( * 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.


  • If you want to rebase/retry this PR, check this box

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

@renovate renovate bot requested a review from WyriHaximus as a code owner May 14, 2025 16:20
@renovate renovate bot added CI 🚧 Dependencies 📦 Pull requests that update a dependency file labels May 14, 2025
Copy link
Contributor Author

renovate bot commented May 14, 2025

⚠️ 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:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: composer.lock
Command failed: composer update phpstan/phpdoc-parser:2.1.0 --with-dependencies --ignore-platform-req='ext-*' --ignore-platform-req='lib-*' --no-ansi --no-interaction --no-scripts --no-autoloader --no-plugins --minimal-changes
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 phpstan/phpdoc-parser ^1.22 || ^2.0, found phpstan/phpdoc-parser[1.22.0, ..., 1.33.0, 2.0.0, 2.0.1, 2.0.2, 2.1.0] but these were not loaded, likely because it conflicts with another require.
  Problem 2
    - wyrihaximus/async-test-utilities is locked to version 7.2.0 and an update of this package was not requested.
    - icanhazstring/composer-unused 0.8.10 requires phpstan/phpdoc-parser ^1.12 -> found phpstan/phpdoc-parser[1.12.0, ..., 1.33.0] but it conflicts with your temporary update constraint (phpstan/phpdoc-parser:2.1.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].

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

@boring-cyborg boring-cyborg bot added JSON 👨‍💼 PHP 🐘 Hypertext Pre Processor labels May 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI 🚧 Dependencies 📦 Pull requests that update a dependency file JSON 👨‍💼 PHP 🐘 Hypertext Pre Processor
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants