diff options
author | Remi Collet <remi@remirepo.net> | 2023-02-20 09:59:28 +0100 |
---|---|---|
committer | Remi Collet <remi@php.net> | 2023-02-20 09:59:28 +0100 |
commit | 34f79baaac106f3f9d5904e490de0c7f4df8e49e (patch) | |
tree | 7b54d1e55c4afb7f3ac614761fe9fa62d518ee7d /composer.json | |
parent | 92eaacc70593a01a1c5489e2b2db68b3ed5721dd (diff) |
raise dependency on PHP 8
Diffstat (limited to 'composer.json')
-rw-r--r-- | composer.json | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/composer.json b/composer.json index ab6b4f1..7f199fc 100644 --- a/composer.json +++ b/composer.json @@ -10,12 +10,12 @@ "source": "https://github.com/google/recaptcha" }, "require": { - "php": ">=5.5" + "php": ">=8" }, "require-dev": { - "phpunit/phpunit": "^4.8.36|^5.7.27|^6.59|^7.5.11", - "friendsofphp/php-cs-fixer": "^2.2.20|^2.15", - "php-coveralls/php-coveralls": "^2.1" + "phpunit/phpunit": "^10", + "friendsofphp/php-cs-fixer": "^3.14", + "php-coveralls/php-coveralls": "^2.5" }, "autoload": { "psr-4": { @@ -24,13 +24,13 @@ }, "extra": { "branch-alias": { - "dev-master": "1.2.x-dev" + "dev-master": "1.3.x-dev" } }, "scripts": { - "lint": "vendor/bin/php-cs-fixer -vvv fix --using-cache=no --dry-run .", - "lint-fix": "vendor/bin/php-cs-fixer -vvv fix --using-cache=no .", - "test": "vendor/bin/phpunit --colors=always", + "lint": "PHP_CS_FIXER_IGNORE_ENV=1 vendor/bin/php-cs-fixer -vvv fix --using-cache=no --dry-run .", + "lint-fix": "PHP_CS_FIXER_IGNORE_ENV=1 vendor/bin/php-cs-fixer -vvv fix --using-cache=no .", + "test": "XDEBUG_MODE=coverage vendor/bin/phpunit", "serve-examples": "@php -S localhost:8080 -t examples" }, "config": { |