diff options
author | Remi Collet <remi@remirepo.net> | 2021-04-01 16:33:27 +0200 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2021-04-01 16:33:27 +0200 |
commit | e0570c4007df3c1ea0eb2ac0c7bf87db4bafadf6 (patch) | |
tree | a08da4986e7a0b65f85010b46e093ef0ea814149 /composer.json | |
parent | eeaea7f0803ff9e871d0802ab9a7cad5ef55fe81 (diff) |
rename to php-pragmarx-google2fa8
raise dependency on PHP 7.1
drop dependency on paragonie/random_compat
Diffstat (limited to 'composer.json')
-rw-r--r-- | composer.json | 26 |
1 files changed, 14 insertions, 12 deletions
diff --git a/composer.json b/composer.json index a24231f..2a1f9e6 100644 --- a/composer.json +++ b/composer.json @@ -16,25 +16,27 @@ } ], "require": { - "php": ">=5.4", - "paragonie/constant_time_encoding": "~1.0|~2.0", - "paragonie/random_compat": ">=1", - "symfony/polyfill-php56": "~1.2" + "php": "^7.1|^8.0", + "paragonie/constant_time_encoding": "^1.0|^2.0" }, "require-dev": { - "phpunit/phpunit": "~4|~5|~6" + "phpunit/phpunit": "^7.5.15|^8.5|^9.0", + "phpstan/phpstan": "^0.12.18" }, "autoload": { "psr-4": { - "PragmaRX\\Google2FA\\": "src/", - "PragmaRX\\Google2FA\\Tests\\": "tests/" + "PragmaRX\\Google2FA\\": "src/" } }, - "extra": { - "component": "package", - "branch-alias": { - "dev-master": "2.0-dev" - } + "autoload-dev": { + "psr-4": { + "PragmaRX\\Google2FA\\Tests\\": "tests/" + }, + "files": ["tests/helpers.php"] + }, + "scripts": { + "test": "bash ./tests/tools/test.sh", + "analyse": "bash ./tests/tools/analyse.sh" }, "minimum-stability": "dev", "prefer-stable": true |