Skip to content

Commit 8847e5e

Browse files
authored
Merge pull request #9 from surplex/feature/RUBY-537_PHP8.1
RUBY-537 Update to support PHP 8.1
2 parents 41d74b9 + 4ad0013 commit 8847e5e

File tree

3 files changed

+1555
-1200
lines changed

3 files changed

+1555
-1200
lines changed

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- name: Setup PHP with tools
1616
uses: shivammathur/setup-php@v2
1717
with:
18-
php-version: '7.4'
18+
php-version: '8.1'
1919
- uses: actions/checkout@v2
2020
- name: Validate composer.json and composer.lock
2121
run: composer validate
@@ -31,4 +31,4 @@ jobs:
3131
if: steps.composer-cache.outputs.cache-hit != 'true'
3232
run: composer install --no-progress --no-suggest
3333
- name: Run unit tests
34-
run: vendor/bin/codecept run unit
34+
run: bin/codecept run unit

composer.json

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,16 @@
1010
}
1111
],
1212
"require": {
13-
"php": ">=7.4",
14-
"guzzlehttp/guzzle": "^6.3",
13+
"php": ">=8.1",
14+
"guzzlehttp/guzzle": "^7.5",
1515
"ext-json": "*"
1616
},
1717
"require-dev": {
18-
"codeception/codeception": "^2.5"
18+
"codeception/codeception": "^4.2.2",
19+
"codeception/module-asserts": "^2.0.1"
20+
},
21+
"config": {
22+
"bin-dir": "bin"
1923
},
2024
"autoload": {
2125
"psr-4": {

0 commit comments

Comments
 (0)