Skip to content

Commit

Permalink
chore!: support PHP 8.2, drop PHP 8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ksassnowski committed Mar 17, 2023
1 parent afe6254 commit a1351d1
Show file tree
Hide file tree
Showing 3 changed files with 1,881 additions and 2,511 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,18 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
php: [8.1]
php: [8.1, 8.2]
stability: [prefer-lowest, prefer-stable]
os: [ubuntu-latest]

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

steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Cache dependencies
uses: actions/cache@v1
uses: actions/cache@v3
with:
path: ~/.composer/cache/files
key: dependencies-php-${{ matrix.php }}-composer-${{ hashFiles('composer.json') }}
Expand All @@ -29,8 +29,6 @@ jobs:
with:
php-version: ${{ matrix.php }}
extensions: pdo, sqlite, pdo_sqlite
tools: composer:v2
coverage: none

- name: Install dependencies
run: composer update --${{ matrix.stability }} --prefer-dist --no-interaction
Expand Down
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
}
],
"require": {
"php": "^8.1",
"php": "~8.1.0 || ~8.2.0",
"illuminate/database": "^10.0",
"illuminate/http": "^10.0",
"illuminate/support": "^10.0",
Expand All @@ -20,9 +20,9 @@
"doctrine/dbal": "^3.5",
"ergebnis/composer-normalize": "^2.29",
"mockery/mockery": "^1.4.4",
"nunomaduro/larastan": "^2.4",
"nunomaduro/larastan": "^2.5.1",
"orchestra/testbench": "^8.0",
"phpunit/phpunit": "^9.5.10",
"phpunit/phpunit": "^10.0",
"roave/security-advisories": "dev-latest"
},
"minimum-stability": "dev",
Expand Down
Loading

0 comments on commit a1351d1

Please sign in to comment.