summaryrefslogtreecommitdiffstats
path: root/composer.json
diff options
context:
space:
mode:
Diffstat (limited to 'composer.json')
-rw-r--r--composer.json16
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": {