Skip to content

Commit 1ba27d3

Browse files
Merge pull request #39 from ARCANEDEV/update-php_8
Adding PHP 8 Support
2 parents 8c56497 + 49a6940 commit 1ba27d3

File tree

3 files changed

+8
-7
lines changed

3 files changed

+8
-7
lines changed

.github/workflows/run-tests.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
strategy:
1010
fail-fast: true
1111
matrix:
12-
php: [7.3, 7.4]
12+
php: [7.3, 7.4, 8.0]
1313
dependency-version: [prefer-lowest, prefer-stable]
1414

1515
name: PHP ${{ matrix.php }} - ${{ matrix.dependency-version }}
@@ -30,9 +30,10 @@ jobs:
3030
php-version: ${{ matrix.php }}
3131
extensions: curl, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, iconv
3232
coverage: xdebug
33+
tools: composer:v2
3334

3435
- name: Install dependencies
35-
run: composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction --no-suggest
36+
run: composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction
3637

3738
- name: Execute tests
3839
run: |

.scrutinizer.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ checks:
2323
tools:
2424
external_code_coverage:
2525
timeout: 600
26-
runs: 4
26+
runs: 6
2727
php_code_sniffer:
2828
enabled: true
2929
config:

composer.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@
1414
"type": "library",
1515
"license": "MIT",
1616
"require": {
17-
"php": "^7.3",
17+
"php": "^7.3|^8.0",
1818
"arcanedev/support": "^8.0"
1919
},
2020
"require-dev": {
21-
"mockery/mockery": "^1.3.1",
22-
"orchestra/testbench": "^6.0",
23-
"phpunit/phpunit": "^9.3"
21+
"mockery/mockery": "^1.4.2",
22+
"orchestra/testbench": "^6.4",
23+
"phpunit/phpunit": "^9.3.3"
2424
},
2525
"autoload": {
2626
"psr-4": {

0 commit comments

Comments
 (0)