Skip to content

Conversation

@mspirkov
Copy link

@mspirkov mspirkov commented Jan 7, 2026

We really need support for phpdocumentor/reflection-docblock v6 in this version, as we need support for PHP 7.4. Is it possible to do this?

https://github.com/yiisoft/yii2-apidoc/blob/caeb69a9119b7e8fa38b913f04d034ad437eeba7/composer.json#L24-L27

It would also be great to support the sixth version of phpdocumentor/reflection-docblock in the sixth version of this package.

@mspirkov
Copy link
Author

@jaapio Please take a look

@jaapio
Copy link
Member

jaapio commented Jan 18, 2026

I think the result of this will be a breaking change in this library, So I think we need to create a new major version to make this possible.

@mspirkov
Copy link
Author

mspirkov commented Jan 18, 2026

Got it. Then should I close this PR?

@mspirkov
Copy link
Author

And one more question. Do you have time to release new major version?

@jaapio
Copy link
Member

jaapio commented Jan 18, 2026

I see you targeted the 5.x release. Most likely due to the 7.4 constraint. I do not remember exactly what the reason was back then to raise the constraints to 8.1, I think it was related to one of the other packages enforcing me to raise the php version.

So I doubt if we could bring php 7.4 back. I would like to avoid that anyway since php 7.4 is not supported anymore and support of many php versions in this package is hard.

I do have some time to help you with a new release when needed. I hope to have a bit more time to do work next month.

@mspirkov mspirkov closed this Jan 18, 2026
@mspirkov mspirkov deleted the 5.x branch January 18, 2026 14:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants