From 55e1afab5a0eeb0b933cead9f74193072181ea6f Mon Sep 17 00:00:00 2001 From: Ben Peachey Date: Wed, 8 Dec 2021 14:43:04 +0100 Subject: [PATCH] Change composer.json As part of the PDS Interop-wide PHP project updates: - Remove unneeded platform config - Set minimum PHP version to PHP 7.3 (but lower than PHP8, see https://github.com/pdsinterop/php-solid-auth/issues/19) - Update package to more recent versions - Pin lcobucci/jwt to 3.3.3 - Pin PHPUnit to v8 and v9 --- composer.json | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/composer.json b/composer.json index fe890c8..5ada3aa 100644 --- a/composer.json +++ b/composer.json @@ -14,31 +14,25 @@ }, "config": { "bin-dir": "./bin", - "platform": { - "php": "7.2", - "ext-json": "1", - "ext-mbstring": "1", - "ext-openssl": "1" - }, "sort-packages": true }, "description": "OAuth2, OpenID and OIDC for Solid Server implementations.", "license": "MIT", "name": "pdsinterop/solid-auth", "require": { - "php": ">=7.2", + "php": "^7.3", "ext-json": "*", "ext-mbstring": "*", "ext-openssl": "*", + "laminas/laminas-diactoros": "^2.8", + "lcobucci/jwt": "3.3.3", "league/oauth2-server": "^8.1", "web-token/jwt-core": "^2.2" }, "require-dev": { "ext-xdebug": "*", "ext-xml": "*", - "laminas/laminas-diactoros": "^2.3", - "lcobucci/jwt": "^3.3", - "phpunit/phpunit": "^8.5" + "phpunit/phpunit": "^8.5 | ^9.5" }, "scripts": { "tests:example": "php -S localhost:8080 -t ./tests/ ./tests/example.php",