Skip to content

Restore support for phpdoc-parser ^1.2 alongside ^2.0#588

Merged
fain182 merged 1 commit intomainfrom
claude/phpdoc-parser-1x-support-8bV1z
Mar 9, 2026
Merged

Restore support for phpdoc-parser ^1.2 alongside ^2.0#588
fain182 merged 1 commit intomainfrom
claude/phpdoc-parser-1x-support-8bV1z

Conversation

@fain182
Copy link
Collaborator

@fain182 fain182 commented Mar 9, 2026

The DocblockParserFactory already handles both versions via a runtime
class_exists(ParserConfig::class) check. This commit simply broadens
the composer constraint to allow installations with either v1.2+ or v2.x.

https://claude.ai/code/session_01YZZi4mYn7d99QqxoRTUyvn

The DocblockParserFactory already handles both versions via a runtime
class_exists(ParserConfig::class) check. This commit simply broadens
the composer constraint to allow installations with either v1.2+ or v2.x.

https://claude.ai/code/session_01YZZi4mYn7d99QqxoRTUyvn
@codecov
Copy link

codecov bot commented Mar 9, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.12%. Comparing base (1d1af31) to head (2cea693).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##               main     #588   +/-   ##
=========================================
  Coverage     98.12%   98.12%           
  Complexity      663      663           
=========================================
  Files            84       84           
  Lines          1923     1923           
=========================================
  Hits           1887     1887           
  Misses           36       36           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@fain182 fain182 merged commit 88ddf78 into main Mar 9, 2026
34 of 35 checks passed
@fain182 fain182 changed the title Add support for phpdoc-parser ^1.2 alongside ^2.0 Restore support for phpdoc-parser ^1.2 alongside ^2.0 Mar 9, 2026
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