Skip to content

Commit a90a915

Browse files
UPDATE drops support to older laravel versions
1 parent 155726f commit a90a915

File tree

3 files changed

+17
-17
lines changed

3 files changed

+17
-17
lines changed

.github/workflows/psalm.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- name: Setup PHP
1717
uses: shivammathur/setup-php@v2
1818
with:
19-
php-version: '7.4'
19+
php-version: '8.0'
2020
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick
2121
coverage: none
2222

.github/workflows/run-tests.yml

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
name: run-tests
22

3-
on: [push, pull_request]
3+
on:
4+
push:
5+
branches: [master]
6+
pull_request:
7+
branches: [master]
48

59
jobs:
610
test:
@@ -9,16 +13,12 @@ jobs:
913
fail-fast: true
1014
matrix:
1115
os: [ubuntu-latest, windows-latest]
12-
php: [8.1, 8.0, 7.4]
13-
laravel: [9.*, 8.*, 7.*]
16+
php: [8.1, 8.0]
17+
laravel: [9.*]
1418
stability: [prefer-lowest, prefer-stable]
1519
include:
1620
- laravel: 9.*
1721
testbench: 7.*
18-
- laravel: 8.*
19-
testbench: 6.*
20-
- laravel: 7.*
21-
testbench: 5.*
2222

2323
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}
2424

composer.json

+9-9
Original file line numberDiff line numberDiff line change
@@ -16,17 +16,17 @@
1616
}
1717
],
1818
"require": {
19-
"php": "^7.4|^8.0",
20-
"illuminate/database": "^7.0|^8.0|^9.0",
21-
"illuminate/support": "^7.0|^8.0|^9.0",
22-
"spatie/laravel-package-tools": "^1.4.3"
19+
"php": "^8.0",
20+
"illuminate/database": "^9.0",
21+
"illuminate/support": "^9.0",
22+
"spatie/laravel-package-tools": "^1.9.2"
2323
},
2424
"require-dev": {
25-
"friendsofphp/php-cs-fixer": "^2.18",
26-
"orchestra/testbench": "^5.0|^6.0|^7.0",
27-
"phpunit/phpunit": "^9.3",
28-
"spatie/laravel-ray": "^1.12",
29-
"vimeo/psalm": "^4.4"
25+
"friendsofphp/php-cs-fixer": "^3.4",
26+
"orchestra/testbench": "^7.0",
27+
"phpunit/phpunit": "^9.5",
28+
"spatie/laravel-ray": "^1.26",
29+
"vimeo/psalm": "^4.20"
3030
},
3131
"autoload": {
3232
"psr-4": {

0 commit comments

Comments
 (0)