diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..be721db --- /dev/null +++ b/CHANGELOG.md @@ -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+ diff --git a/composer.json b/composer.json index 846a9d8..8873f45 100644 --- a/composer.json +++ b/composer.json @@ -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": {