diff --git a/CHANGELOG.md b/CHANGELOG.md index 8b9bdfa..17538df 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## Unreleased +## v5.4.0 + +### Added + +- Support `spatie/regex` versions 2 and 3 + ## v5.3.0 ### Added diff --git a/composer.json b/composer.json index 20833e7..2d79c59 100644 --- a/composer.json +++ b/composer.json @@ -17,12 +17,13 @@ "php": "^7.4 || ^8", "ext-json": "*", "egulias/email-validator": "^2.1.17 || ^3", - "spatie/regex": "^1.4", + "spatie/regex": "^1.4 || ^2 || ^3", "thecodingmachine/safe": "^1.3 || ^2", "webonyx/graphql-php": "^0.13.9 || ^14" }, "require-dev": { "ergebnis/composer-normalize": "^2.16", + "friendsofphp/php-cs-fixer": "3.4.*", "mll-lab/php-cs-fixer-config": "^4.3", "phpstan/extension-installer": "^1", "phpstan/phpstan": "^1", @@ -30,7 +31,7 @@ "phpstan/phpstan-phpunit": "^1", "phpstan/phpstan-strict-rules": "^1", "phpunit/phpunit": "^9", - "symfony/var-dumper": "^5.4", + "symfony/var-dumper": "^5.4 || ^6", "thecodingmachine/phpstan-safe-rule": "^1.1" }, "autoload": { @@ -42,5 +43,11 @@ "psr-4": { "MLL\\GraphQLScalars\\Tests\\": "tests/" } + }, + "config": { + "allow-plugins": { + "ergebnis/composer-normalize": true, + "phpstan/extension-installer": true + } } }