Skip to content

Commit 55e1afa

Browse files
committed
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 #19) - Update package to more recent versions - Pin lcobucci/jwt to 3.3.3 - Pin PHPUnit to v8 and v9
1 parent 4b6d20c commit 55e1afa

1 file changed

Lines changed: 4 additions & 10 deletions

File tree

composer.json

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -14,31 +14,25 @@
1414
},
1515
"config": {
1616
"bin-dir": "./bin",
17-
"platform": {
18-
"php": "7.2",
19-
"ext-json": "1",
20-
"ext-mbstring": "1",
21-
"ext-openssl": "1"
22-
},
2317
"sort-packages": true
2418
},
2519
"description": "OAuth2, OpenID and OIDC for Solid Server implementations.",
2620
"license": "MIT",
2721
"name": "pdsinterop/solid-auth",
2822
"require": {
29-
"php": ">=7.2",
23+
"php": "^7.3",
3024
"ext-json": "*",
3125
"ext-mbstring": "*",
3226
"ext-openssl": "*",
27+
"laminas/laminas-diactoros": "^2.8",
28+
"lcobucci/jwt": "3.3.3",
3329
"league/oauth2-server": "^8.1",
3430
"web-token/jwt-core": "^2.2"
3531
},
3632
"require-dev": {
3733
"ext-xdebug": "*",
3834
"ext-xml": "*",
39-
"laminas/laminas-diactoros": "^2.3",
40-
"lcobucci/jwt": "^3.3",
41-
"phpunit/phpunit": "^8.5"
35+
"phpunit/phpunit": "^8.5 | ^9.5"
4236
},
4337
"scripts": {
4438
"tests:example": "php -S localhost:8080 -t ./tests/ ./tests/example.php",

0 commit comments

Comments
 (0)