Skip to content

Commit da2666b

Browse files
authored
Update codebase to PHP 7.4 (#65)
1 parent 9cd7a87 commit da2666b

File tree

11 files changed

+463
-453
lines changed

11 files changed

+463
-453
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ jobs:
88

99
strategy:
1010
matrix:
11-
php: [5.6, 7.0, 7.1, 7.2, 7.3, 7.4, 8.0]
12-
11+
php: [7.4, 8.0]
12+
1313
steps:
1414
- name: Checkout code
1515
uses: actions/checkout@v2

composer.json

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name":"codeception/module-rest",
33
"description":"REST module for Codeception",
44
"keywords":["codeception", "rest"],
5-
"homepage":"http://codeception.com/",
5+
"homepage":"https://codeception.com/",
66
"type":"library",
77
"license":"MIT",
88
"authors":[
@@ -12,12 +12,15 @@
1212
],
1313
"minimum-stability": "RC",
1414
"require": {
15-
"php": ">=5.6.6 <9.0",
16-
"softcreatr/jsonpath": "^0.5 || ^0.7",
15+
"php": "^7.4 | ^8.0",
16+
"ext-dom": "*",
17+
"ext-json": "*",
1718
"codeception/codeception": "^4.0",
18-
"justinrainbow/json-schema": "~5.2.9"
19+
"justinrainbow/json-schema": "~5.2.9",
20+
"softcreatr/jsonpath": "^0.5 | ^0.7"
1921
},
2022
"require-dev": {
23+
"codeception/stub": "^3.7",
2124
"codeception/util-universalframework": "^1.0",
2225
"codeception/lib-innerbrowser": "^1.0"
2326
},

readme.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ A REST module for Codeception
77
[![Total Downloads](https://poser.pugx.org/codeception/module-rest/downloads)](https://packagist.org/packages/codeception/module-rest)
88
[![License](https://poser.pugx.org/codeception/module-rest/license)](/LICENSE)
99

10+
## Requirements
11+
12+
* `PHP 7.4` or higher.
13+
1014
## Installation
1115

1216
```

0 commit comments

Comments
 (0)