Skip to content

Commit 82a034c

Browse files
committed
Update to PHP 8 deps
1 parent d351020 commit 82a034c

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

composer.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@
1010
"source": "https://github.com/google/recaptcha"
1111
},
1212
"require": {
13-
"php": ">=5.5"
13+
"php": ">=8"
1414
},
1515
"require-dev": {
16-
"phpunit/phpunit": "^4.8.36|^5.7.27|^6.59|^7.5.11",
17-
"friendsofphp/php-cs-fixer": "^2.2.20|^2.15",
18-
"php-coveralls/php-coveralls": "^2.1"
16+
"phpunit/phpunit": "^10",
17+
"friendsofphp/php-cs-fixer": "^3.14",
18+
"php-coveralls/php-coveralls": "^2.5"
1919
},
2020
"autoload": {
2121
"psr-4": {
@@ -28,9 +28,9 @@
2828
}
2929
},
3030
"scripts": {
31-
"lint": "vendor/bin/php-cs-fixer -vvv fix --using-cache=no --dry-run .",
32-
"lint-fix": "vendor/bin/php-cs-fixer -vvv fix --using-cache=no .",
33-
"test": "vendor/bin/phpunit --colors=always",
31+
"lint": "PHP_CS_FIXER_IGNORE_ENV=1 vendor/bin/php-cs-fixer -vvv fix --using-cache=no --dry-run .",
32+
"lint-fix": "PHP_CS_FIXER_IGNORE_ENV=1 vendor/bin/php-cs-fixer -vvv fix --using-cache=no .",
33+
"test": "XDEBUG_MODE=coverage vendor/bin/phpunit",
3434
"serve-examples": "@php -S localhost:8080 -t examples"
3535
},
3636
"config": {

0 commit comments

Comments
 (0)