Skip to content

PHPUnit 12 Shift#36

Merged
belamov merged 4 commits intomasterfrom
shift-172114
Apr 17, 2026
Merged

PHPUnit 12 Shift#36
belamov merged 4 commits intomasterfrom
shift-172114

Conversation

@belamov
Copy link
Copy Markdown
Owner

@belamov belamov commented Apr 17, 2026

This pull request contains changes for upgrading to PHPUnit 12 automated by the PHPUnit 12 Shift.

Before merging, you need to:

  • Checkout the shift-172114 branch
  • Review all pull request comments for additional changes
  • Run composer update (if the scripts fail, try with --no-scripts)
  • Run your tests suite: vendor/bin/phpunit

If there were changes you feel could have been automated, please send your feedback to shift@laravelshift.com to help improve Shift for everyone.

@belamov
Copy link
Copy Markdown
Owner Author

belamov commented Apr 17, 2026

⚠️ PHPUnit 12 requires PHP version 8.3 or higher. Be sure to verify you met this requirement by running php -v in your test environment.

@belamov
Copy link
Copy Markdown
Owner Author

belamov commented Apr 17, 2026

ℹ️ PHPUnit has documented declaring test classes as final since PHPUnit 8. In an effort to modernize your test suite, Shift has declared your test classes as final.

Shift understands developers have different preferences when it comes to using final. If you do not wish to declare your test classes as final, you may undo this change by running: git revert f52c321b

@belamov
Copy link
Copy Markdown
Owner Author

belamov commented Apr 17, 2026

⚗️ This Shift is still being refined. Please report any issues or suggestions to shift@laravelshift.com. Your feedback is what helps improve the experience for everyone.

@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 17, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.54%. Comparing base (a6b1d33) to head (76d7292).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff            @@
##             master      #36   +/-   ##
=========================================
  Coverage     99.54%   99.54%           
  Complexity       86       86           
=========================================
  Files            21       21           
  Lines           220      220           
=========================================
  Hits            219      219           
  Misses            1        1           

☔ 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.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Comment thread composer.json Outdated
@belamov belamov merged commit 2f9c856 into master Apr 17, 2026
28 of 30 checks passed
@belamov belamov deleted the shift-172114 branch April 17, 2026 19:56
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