Skip to content

Update dependency phpdocumentor/reflection-docblock to v6#76

Open
renovate[bot] wants to merge 1 commit into
2.14.xfrom
renovate/phpdocumentor-reflection-docblock-6.x
Open

Update dependency phpdocumentor/reflection-docblock to v6#76
renovate[bot] wants to merge 1 commit into
2.14.xfrom
renovate/phpdocumentor-reflection-docblock-6.x

Conversation

@renovate

@renovate renovate Bot commented Jan 8, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
phpdocumentor/reflection-docblock ^5.3.0^6.0.0 age adoption passing confidence

Release Notes

phpDocumentor/ReflectionDocBlock (phpdocumentor/reflection-docblock)

v6.0.3

Compare Source

What's Changed

New Contributors

Full Changelog: phpDocumentor/ReflectionDocBlock@6.0.2...6.0.3

v6.0.2

Compare Source

What's Changed

New Contributors

Full Changelog: phpDocumentor/ReflectionDocBlock@6.0.1...6.0.2

v6.0.1

Compare Source

What's Changed

New Contributors

Full Changelog: phpDocumentor/ReflectionDocBlock@6.0.0...6.0.1

v6.0.0

Compare Source

What's Changed

Consult the docs for help with upgrading: https://docs.phpdoc.org/components/reflection-docblock/guides/upgrade-to-v6.html#upgrade-guide-to-v6

New Contributors

Full Changelog: phpDocumentor/ReflectionDocBlock@5.6.6...6.0.0

v5.6.7

Compare Source

What's Changed

Full Changelog: phpDocumentor/ReflectionDocBlock@5.6.6...5.6.7

v5.6.6

Compare Source

What's Changed

New Contributors

Full Changelog: phpDocumentor/ReflectionDocBlock@5.6.5...5.6.6

v5.6.5

Compare Source

What's Changed

New Contributors

Full Changelog: phpDocumentor/ReflectionDocBlock@5.6.4...5.6.5

v5.6.4

Compare Source

What's Changed

Fix deprecation on php 8.5

Full Changelog: phpDocumentor/ReflectionDocBlock@5.6.3...5.6.4

v5.6.3

Compare Source

What's Changed

New Contributors

Full Changelog: phpDocumentor/ReflectionDocBlock@5.6.2...5.6.3

v5.6.2

Compare Source

What's Changed

Full Changelog: phpDocumentor/ReflectionDocBlock@5.6.1...5.6.2

v5.6.1

Compare Source

What's Changed

Thanks to @​Furgas for reporting this issue in #​393

Full Changelog: phpDocumentor/ReflectionDocBlock@5.6.0...5.6.1

v5.6.0

Compare Source

What's Changed

New Contributors

Full Changelog: phpDocumentor/ReflectionDocBlock@5.5.1...5.6.0

v5.5.1

Compare Source

Fixes regression introduced in 5.5.0 that triggered notices during parsing of docblocks. When the docblock contained indented lines.

v5.5.0

Compare Source

What's Changed

Improved method tag parameter rendering, by now the method tag parameters are correctly rendered when transforming a docblock back to string.

New supported tags:

  • @template
  • @template-covariant
  • @mixin
  • @implements & @template-implements
  • @extends & @template-extends

The template tags do not support all functionality needed to have full generic support as this requires some extra work. But for many situations this will already add value.

related pr's:

New Contributors

Full Changelog: phpDocumentor/ReflectionDocBlock@5.4.1...5.5.0

v5.4.1

Compare Source

Address multiple bugs with long tag descriptions

In the previous release a regression was introduced regarding multiline tag descriptions. Part of the description was lost and the indenting wasn't reduced as we did before 5.4. If your application relies on docblock tags and uses the descriptions it is highly recommended to update immediately. And block version 5.4.0 from the allowed versions in your composer.json

   "conflict":
      "phpdocumentor/reflection-docblock": "5.4.0"

Thanks to #​365 by @​szepeviktor and @​IanDelMar

Full Changelog: phpDocumentor/ReflectionDocBlock@5.4.0...5.4.1

v5.4.0

Compare Source

More type support

Since the beginning of this package we have been working on our own parser. Mostly regular expressions spitting each part of a docblock and processing them separately in each tag. But since static analyzers became more popular it became a lot harder to cover all the new formats of types. In type-resolver 1.7 we already started using phpstan's parser to process types. And now in this release we also cover parts of the docblock parsing process with their parser. This will make it easier to keep up with all the new changes and allows us to support more complex type formats.

We do not support all types covered by phpstan. Generics are not fully supported on all notations, we will return an InvalidTag in those cases.

Deprecations

Param tag

We spend a lot of time to cover all the edge cases that we supported in docblocks for many years. However we also noticed that some notations do not really make sense. First notation added to the list is a @param tag without a variable.

@​param MyType Here starts the description but $var is ommited

This notation is now deprecated, and support will be removed in the first release of v6.

Static factory interface

We introduced a new factory strategy to make it possible to have more complex factories for tags and keep the implementation simple. Due to this new system of creating tags we can now support external parser to cover the body of a tag to be handled. With this new system the older system of StaticFactories has become deprecated. And will be removed in v6.

Backward compatibility

We introduced all new functionality with backward compatibility in mind. There are no interface changes being made so consumers of the library will not notice anything from the internal changes. However since we introduced a large amount of new types you might notice issues depending on your implementation. Especially when your project reads the types provided by this library.

Other notable changes

New Contributors

Full Changelog: phpDocumentor/ReflectionDocBlock@5.3.0...5.4.0


Configuration

📅 Schedule: (in timezone UTC)

  • Branch creation
    • At any time (no schedule defined)
  • 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

Read more information about the use of Renovate Bot within Laminas.

@renovate renovate Bot added the renovate label Jan 8, 2026
@renovate

renovate Bot commented Jan 8, 2026

Copy link
Copy Markdown
Contributor Author

⚠️ 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 phpdocumentor/reflection-docblock:6.0.3 --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 phpdocumentor/reflection-docblock ^6.0.0, found phpdocumentor/reflection-docblock[6.0.0, 6.0.1, 6.0.2, 6.0.3] but these were not loaded, likely because it conflicts with another require.
  Problem 2
    - vimeo/psalm is locked to version 5.26.1 and an update of this package was not requested.
    - felixfbecker/advanced-json-rpc v3.2.1 requires phpdocumentor/reflection-docblock ^4.3.4 || ^5.0.0 -> found phpdocumentor/reflection-docblock[4.3.4, 5.0.0, ..., 5.6.7] but it conflicts with your root composer.json require (^6.0.0).
    - vimeo/psalm 5.26.1 requires felixfbecker/advanced-json-rpc ^3.1 -> satisfiable by felixfbecker/advanced-json-rpc[v3.2.1].

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

@renovate renovate Bot force-pushed the renovate/phpdocumentor-reflection-docblock-6.x branch 2 times, most recently from 7b3350f to 1892f47 Compare February 2, 2026 04:54
@renovate renovate Bot force-pushed the renovate/phpdocumentor-reflection-docblock-6.x branch from 1892f47 to 9a45d58 Compare February 9, 2026 04:30
@renovate renovate Bot force-pushed the renovate/phpdocumentor-reflection-docblock-6.x branch 2 times, most recently from c94aa04 to 933e967 Compare March 9, 2026 06:05
@renovate renovate Bot force-pushed the renovate/phpdocumentor-reflection-docblock-6.x branch from 933e967 to bfd8270 Compare April 6, 2026 04:45
@renovate renovate Bot force-pushed the renovate/phpdocumentor-reflection-docblock-6.x branch from bfd8270 to e6f61e3 Compare April 13, 2026 05:39
@renovate renovate Bot force-pushed the renovate/phpdocumentor-reflection-docblock-6.x branch 2 times, most recently from be5fb76 to 7b010ad Compare April 27, 2026 04:48
@renovate renovate Bot force-pushed the renovate/phpdocumentor-reflection-docblock-6.x branch 2 times, most recently from 190b874 to 921fa39 Compare May 11, 2026 04:48
@renovate renovate Bot force-pushed the renovate/phpdocumentor-reflection-docblock-6.x branch 2 times, most recently from 127e0c4 to 2b08841 Compare May 18, 2026 07:33
@renovate renovate Bot force-pushed the renovate/phpdocumentor-reflection-docblock-6.x branch 2 times, most recently from 854dbc1 to feae840 Compare June 15, 2026 05:51
@renovate renovate Bot force-pushed the renovate/phpdocumentor-reflection-docblock-6.x branch from feae840 to 4d94f68 Compare June 29, 2026 07:48
| datasource | package                           | from  | to    |
| ---------- | --------------------------------- | ----- | ----- |
| packagist  | phpdocumentor/reflection-docblock | 5.3.0 | 6.0.3 |


Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
@renovate renovate Bot force-pushed the renovate/phpdocumentor-reflection-docblock-6.x branch from 4d94f68 to 105f55c Compare June 30, 2026 15:20
@renovate renovate Bot changed the base branch from 2.13.x to 2.14.x June 30, 2026 15:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants