Skip to content
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

build(deps): bump phpstan/phpdoc-parser from 1.33.0 to 2.1.0 #214

Merged
merged 2 commits into from
Mar 4, 2025

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 22, 2025

Bumps phpstan/phpdoc-parser from 1.33.0 to 2.1.0.

Release notes

Sourced from phpstan/phpdoc-parser's releases.

2.1.0

  • 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

2.0.2

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

2.0.1

  • 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

2.0.0

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.

Commits
  • 9b30d6f TypeParser - support comments at EOL with //
  • 12c4e9f Merge remote-tracking branch 'origin/2.0.x' into 2.1.x
  • 51087f8 Allow multiple new lines in union and intersection definition
  • dc7c469 PrinterTest - nowdoc helper for nicer formatting
  • 19d74a8 Open 2.1.x
  • 5404716 Prepare 2.1.x
  • 19ecfcb Send PR to 2.1.x
  • 72e51f7 TypeParser: Allow multiple newlines and also allow multiline union and inters...
  • 81de606 Update LICENSE
  • 7adaab7 Test inline @link
  • Additional commits viewable 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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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)

Bumps [phpstan/phpdoc-parser](https://github.com/phpstan/phpdoc-parser) from 1.33.0 to 2.1.0.
- [Release notes](https://github.com/phpstan/phpdoc-parser/releases)
- [Commits](phpstan/phpdoc-parser@1.33.0...2.1.0)

---
updated-dependencies:
- dependency-name: phpstan/phpdoc-parser
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@provokateurin
Copy link
Member

provokateurin commented Mar 3, 2025

Unfortunately this required some restructuring of the docs parsing code, but I added a test to verify everything is working as expected. There are only changes around whitespace handling due to the differences in parsing.

@provokateurin provokateurin force-pushed the dependabot/composer/phpstan/phpdoc-parser-2.1.0 branch from e410a4d to 8e517e3 Compare March 3, 2025 14:07
@provokateurin
Copy link
Member

Ok the whitespace thing has to be fixed, it leads to very ugly results.

Signed-off-by: provokateurin <kate@provokateurin.de>
@provokateurin provokateurin force-pushed the dependabot/composer/phpstan/phpdoc-parser-2.1.0 branch from 8e517e3 to f7984a1 Compare March 3, 2025 15:21
@provokateurin
Copy link
Member

Whitespace handling is like before again. Also tested manually with server and Talk and found a few issues that I fixed as well.

@provokateurin provokateurin merged commit 40acce7 into main Mar 4, 2025
16 of 19 checks passed
@provokateurin provokateurin deleted the dependabot/composer/phpstan/phpdoc-parser-2.1.0 branch March 4, 2025 09:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants