Skip to content

Commit e5504f7

Browse files
committed
Support PHP 7.1, acknowledging tests will not run
Unfortunately dms/phpunit-arraysubset-asserts does not support older versions of PHPUnit, so for now it's not possible to run tests on PHP 7.1 and 7.2. See dms/phpunit-arraysubset-asserts#11
1 parent 07152e2 commit e5504f7

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

.github/workflows/php.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313

1414
strategy:
1515
matrix:
16-
php-versions: ['7.2', '7.3', '7.4', '8.0']
16+
php-versions: ['7.3', '7.4', '8.0']
1717

1818
steps:
1919
- uses: actions/checkout@v2

composer.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "tobyz/json-api-server",
33
"description": "A fully automated JSON:API server implementation in PHP.",
44
"require": {
5-
"php": "^7.2|^8.0",
5+
"php": ">=7.1",
66
"doctrine/inflector": "^1.3",
77
"json-api-php/json-api": "^2.2",
88
"nyholm/psr7": "^1.3",
@@ -31,10 +31,9 @@
3131
}
3232
},
3333
"require-dev": {
34-
"dms/phpunit-arraysubset-asserts": "^0.2",
35-
"helmich/phpunit-json-assert": "^3.0",
34+
"dms/phpunit-arraysubset-asserts": "^0.2.1",
3635
"phpspec/prophecy-phpunit": "^2.0",
37-
"phpunit/phpunit": "^9.0"
36+
"phpunit/phpunit": "^9.4"
3837
},
3938
"scripts": {
4039
"test": "phpunit"

0 commit comments

Comments
 (0)