BREAKING: Update minimum PHP version to 8.1 and PHPUnit to 10 (v4.0.0)#17
Merged
BREAKING: Update minimum PHP version to 8.1 and PHPUnit to 10 (v4.0.0)#17
Conversation
- Update PHPUnit constraint to ^10 in composer.json - Update phpunit.xml.dist schema to 10.5 format - Restructure coverage configuration for PHPUnit 10 - All tests pass successfully with new version - Add entry to CHANGELOG.md
This is a major version bump to 4.0.0 with breaking changes: - Minimum PHP version increased from 7.4 to 8.1 - Updated PHPUnit from 9.6.25 to 10.5.53 - Updated phpunit.xml.dist configuration for PHPUnit 10 - Removed PHP 7.4 and 8.0 from CI test matrix - CI now tests only PHP 8.1, 8.2, and 8.3 - All tests pass successfully with new versions - Updated CHANGELOG.md for version 4.0.0 BREAKING CHANGES: - Dropped support for PHP 7.4 and 8.0 - Projects using PHP < 8.1 must stay on version 3.x
- Updated PHPUnit from 9.6.25 to 11.5.35 (latest version) - Updated minimum PHP requirement from 7.4 to 8.2 - Updated CI matrix to test only PHP 8.2, 8.3, and 8.4 - Updated phpunit.xml.dist schema to 11.5 - Added PHP version requirement badge to README - Updated CHANGELOG.md for version 4.0.0 with breaking changes
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This is a major version bump to 4.0.0 with breaking changes. Updates minimum PHP version to 8.1 and PHPUnit to 10.5.53.
Breaking Changes
Changes
Added
Changed
Removed
Migration Guide
Projects using this library will need to:
Technical Details
Testing
✅ All 39 tests pass successfully on PHP 8.1+:
Version Strategy