Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Changelog

## [Unreleased] - PHP 8.0+ Compatibility

### Changed
- Updated PHP requirement from `^7.2` to `^7.4|^8.0|^8.1|^8.2|^8.3`
- Updated `ext-json` requirement from `^1` to `*` (removed version constraint)
- Updated `ext-simplexml` requirement from `^7` to `*` (removed PHP 7-specific constraint)
- Updated `phpunit/phpunit` from `^8` to `^9.0` for PHP 8+ compatibility
- Replaced deprecated `fzaninotto/faker` with `fakerphp/faker` `^1.9`
- Updated `php-mock/php-mock-phpunit` from `^2.3` to `^2.6` for PHP 8+ compatibility

### Notes
- All existing tests pass with PHP 8.0, 8.1, 8.2, and 8.3
- No breaking changes to the API
- Backward compatible with PHP 7.4+
12 changes: 6 additions & 6 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@
"minimum-stability": "dev",
"prefer-stable": true,
"require": {
"ext-json": "^1",
"ext-simplexml": "^7",
"php": "^7.2"
"ext-json": "*",
"ext-simplexml": "*",
"php": "^7.4|^8.0|^8.1|^8.2|^8.3"
},
"require-dev": {
"phpunit/phpunit": "^8",
"fzaninotto/faker": "^1",
"php-mock/php-mock-phpunit": "^2.3"
"phpunit/phpunit": "^9.0",
"fakerphp/faker": "^1.9",
"php-mock/php-mock-phpunit": "^2.6"
},
"autoload": {
"psr-4": {
Expand Down