Skip to content

Drop Composer v1 support#10

Merged
retlehs merged 3 commits intomasterfrom
drop-composer-v1-support
Mar 22, 2026
Merged

Drop Composer v1 support#10
retlehs merged 3 commits intomasterfrom
drop-composer-v1-support

Conversation

@retlehs
Copy link
Copy Markdown
Member

@retlehs retlehs commented Mar 22, 2026

Composer v1 has been EOL since October 2022.

  • Drop Composer v1 support (composer-plugin-api and composer/composer constraints updated to ^2.0)
  • Remove v1/v2 version-switching logic in WordPressCorePluginTest
  • Fix PHPUnit deprecation warning by replacing expectExceptionMessageRegExp with expectExceptionMessageMatches
  • Pin CI to Composer v2
  • Add Requirements section to README

@retlehs retlehs requested a review from tangrufus March 22, 2026 02:39
@retlehs retlehs force-pushed the drop-composer-v1-support branch from 64565f2 to 7aa68ee Compare March 22, 2026 02:41
@retlehs retlehs requested a review from tangrufus March 22, 2026 02:43
@retlehs retlehs merged commit 85d3589 into master Mar 22, 2026
9 checks passed
@retlehs retlehs deleted the drop-composer-v1-support branch March 22, 2026 03:17
@codecov-commenter
Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 89.74%. Comparing base (adc6ac2) to head (7aa68ee).
⚠️ Report is 1 commits behind head on master.
❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff            @@
##             master      #10   +/-   ##
=========================================
  Coverage     89.74%   89.74%           
  Complexity       20       20           
=========================================
  Files             2        2           
  Lines            39       39           
=========================================
  Hits             35       35           
  Misses            4        4           

☔ 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.

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