Skip to content

Commit a1351d1

Browse files
committed
chore!: support PHP 8.2, drop PHP 8.0
1 parent afe6254 commit a1351d1

File tree

3 files changed

+1881
-2511
lines changed

3 files changed

+1881
-2511
lines changed

.github/workflows/run-tests.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,18 @@ jobs:
88
runs-on: ${{ matrix.os }}
99
strategy:
1010
matrix:
11-
php: [8.1]
11+
php: [8.1, 8.2]
1212
stability: [prefer-lowest, prefer-stable]
1313
os: [ubuntu-latest]
1414

1515
name: P${{ matrix.php }} - ${{ matrix.stability }} - ${{ matrix.os }}
1616

1717
steps:
1818
- name: Checkout code
19-
uses: actions/checkout@v2
19+
uses: actions/checkout@v3
2020

2121
- name: Cache dependencies
22-
uses: actions/cache@v1
22+
uses: actions/cache@v3
2323
with:
2424
path: ~/.composer/cache/files
2525
key: dependencies-php-${{ matrix.php }}-composer-${{ hashFiles('composer.json') }}
@@ -29,8 +29,6 @@ jobs:
2929
with:
3030
php-version: ${{ matrix.php }}
3131
extensions: pdo, sqlite, pdo_sqlite
32-
tools: composer:v2
33-
coverage: none
3432

3533
- name: Install dependencies
3634
run: composer update --${{ matrix.stability }} --prefer-dist --no-interaction

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
}
1111
],
1212
"require": {
13-
"php": "^8.1",
13+
"php": "~8.1.0 || ~8.2.0",
1414
"illuminate/database": "^10.0",
1515
"illuminate/http": "^10.0",
1616
"illuminate/support": "^10.0",
@@ -20,9 +20,9 @@
2020
"doctrine/dbal": "^3.5",
2121
"ergebnis/composer-normalize": "^2.29",
2222
"mockery/mockery": "^1.4.4",
23-
"nunomaduro/larastan": "^2.4",
23+
"nunomaduro/larastan": "^2.5.1",
2424
"orchestra/testbench": "^8.0",
25-
"phpunit/phpunit": "^9.5.10",
25+
"phpunit/phpunit": "^10.0",
2626
"roave/security-advisories": "dev-latest"
2727
},
2828
"minimum-stability": "dev",

0 commit comments

Comments
 (0)