Skip to content

Conversation

@AstritA
Copy link

@AstritA AstritA commented Nov 24, 2025

Summary

This pull request updates the composer.json of the typo3/cms-cli package to align the phpstan/phpdoc-parser conflict constraint with what is used by symfony/type-info.

  • Before: "phpstan/phpdoc-parser": "<1.0 || >=2.0"
  • After: "phpstan/phpdoc-parser": "<1.30"

Reason

The broad upper bound (>=2.0) was introduced as a workaround for a compatibility issue in an earlier version (see PR #9). Since that issue has been addressed upstream, this workaround is no longer necessary.

Aligning the constraint removes the blocker for tools requiring phpstan/phpdoc-parser ^2.x.

Impact

  • Projects using cms-cli can now move to phpstan/phpdoc-parser ^2.x when required.
  • Compatibility with phpstan/phpdoc-parser >=1.30 remains unaffected.

@helhum
Copy link
Contributor

helhum commented Nov 24, 2025

Thanks for the PR. I would say the conflict can and should be removed entirely, because this packages actually has no conflicts. The whole entry was only done here to avoid a release of typo3/cms-core

@bnf
Copy link
Member

bnf commented Dec 19, 2025

Yes, the issue has been resolved upstream via symfony/symfony#58804 therefore the conflict can be removed now.

@AstritA do you want to update your PR accordingly?

@AstritA
Copy link
Author

AstritA commented Dec 19, 2025

@bnf Yep sure, updated the PR and removed the phpstan/phpdoc-parser conflict entry entirely.

Thanks!

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.

3 participants