diff --git a/CHANGELOG.md b/CHANGELOG.md index 4de52eb..304337d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,5 +9,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed (breaking) +- **Requires `initphp/parameterbag` `^3.0` and `initphp/validation` `^3.0`** (were `^2.0`). Projects that depend on either package directly must raise their constraint too. - **Requires PHP `^8.2`.** Support for PHP 8.1 is dropped; CI now runs PHP 8.2, 8.3, 8.4 and 8.5. - **Coding standard moved to PER-CS** through the shared `.php-cs-fixer.dist.php`; the whole code base was reformatted. diff --git a/README.md b/README.md index c69e69b..4081551 100644 --- a/README.md +++ b/README.md @@ -32,8 +32,8 @@ optional validation, behind one small API. ## Requirements - PHP 8.2 or later -- [initphp/parameterbag](https://github.com/InitPHP/ParameterBag) `^2.0` -- [initphp/validation](https://github.com/InitPHP/Validation) `^2.0` +- [initphp/parameterbag](https://github.com/InitPHP/ParameterBag) `^3.0` +- [initphp/validation](https://github.com/InitPHP/Validation) `^3.0` - `ext-json` ## Installation diff --git a/composer.json b/composer.json index ca4dccc..5400c91 100644 --- a/composer.json +++ b/composer.json @@ -30,8 +30,8 @@ "require": { "php": "^8.2", "ext-json": "*", - "initphp/parameterbag": "^2.0", - "initphp/validation": "^2.0" + "initphp/parameterbag": "^3.0", + "initphp/validation": "^3.0" }, "require-dev": { "phpunit/phpunit": "^9.6", diff --git a/docs/Home.md b/docs/Home.md index c569c7a..8a877d2 100644 --- a/docs/Home.md +++ b/docs/Home.md @@ -80,8 +80,8 @@ becomes data; anything else is treated as empty. - **Minimum PHP**: 8.2 - **Required extensions**: `ext-json` - **Runtime dependencies**: - [`initphp/parameterbag ^2.0`](https://github.com/InitPHP/ParameterBag), - [`initphp/validation ^2.0`](https://github.com/InitPHP/Validation) + [`initphp/parameterbag ^3.0`](https://github.com/InitPHP/ParameterBag), + [`initphp/validation ^3.0`](https://github.com/InitPHP/Validation) - **Packagist**: [`initphp/input`](https://packagist.org/packages/initphp/input) - **Source**: [github.com/InitPHP/Input](https://github.com/InitPHP/Input) - **Issues**: [github.com/InitPHP/Input/issues](https://github.com/InitPHP/Input/issues) diff --git a/docs/Installation.md b/docs/Installation.md index c4f38b3..998e8f8 100644 --- a/docs/Installation.md +++ b/docs/Installation.md @@ -6,8 +6,8 @@ | --- | --- | | PHP | 8.2 or later | | `ext-json` | bundled with PHP | -| [`initphp/parameterbag`](https://github.com/InitPHP/ParameterBag) | `^2.0` | -| [`initphp/validation`](https://github.com/InitPHP/Validation) | `^2.0` | +| [`initphp/parameterbag`](https://github.com/InitPHP/ParameterBag) | `^3.0` | +| [`initphp/validation`](https://github.com/InitPHP/Validation) | `^3.0` | The two InitPHP dependencies are installed automatically by Composer.