Skip to content

Commit faa98f6

Browse files
authored
Laravel 10 compatibility (#2)
* Support Laravel 10, drop Laravel 8 * Update actions to latest version
1 parent f5f6ef9 commit faa98f6

File tree

4 files changed

+14
-14
lines changed

4 files changed

+14
-14
lines changed

.github/workflows/php-cs-fixer.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@ jobs:
88

99
steps:
1010
- name: Checkout code
11-
uses: actions/checkout@v2
11+
uses: actions/checkout@v3
1212
with:
1313
ref: ${{ github.head_ref }}
1414

1515
- name: Run PHP CS Fixer
16-
uses: docker://oskarstark/php-cs-fixer-ga
16+
uses: docker://oskarstark/php-cs-fixer-ga:3.15.1
1717
with:
1818
args: --config=.php_cs.dist.php --allow-risky=yes
1919

.github/workflows/psalm.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
name: psalm
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: actions/checkout@v2
14+
- uses: actions/checkout@v3
1515

1616
- name: Setup PHP
1717
uses: shivammathur/setup-php@v2
@@ -21,7 +21,7 @@ jobs:
2121
coverage: none
2222

2323
- name: Cache composer dependencies
24-
uses: actions/cache@v2
24+
uses: actions/cache@v3
2525
with:
2626
path: vendor
2727
key: composer-${{ hashFiles('composer.lock') }}

.github/workflows/run-tests.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,15 @@ jobs:
1313
fail-fast: true
1414
matrix:
1515
os: [ubuntu-latest]
16-
php: [8.0, 8.1]
17-
laravel: ['^9.0']
16+
php: [8.1, 8.2]
17+
laravel: ['^9.0', '^10.0']
1818
stability: [prefer-lowest, prefer-stable]
1919

2020
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}
2121

2222
steps:
2323
- name: Checkout code
24-
uses: actions/checkout@v2
24+
uses: actions/checkout@v3
2525

2626
- name: Download Franc binary
2727
run: |

composer.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,16 +17,16 @@
1717
],
1818
"require": {
1919
"php": "^8.0",
20-
"illuminate/contracts": "^8.37|^9.0",
21-
"illuminate/support": "^8.37|^9.0",
22-
"illuminate/http": "^8.37|^9.0",
23-
"symfony/process": "^5.1.4|^6.0"
20+
"illuminate/contracts": "^9.0|^10.0",
21+
"illuminate/support": "^9.0|^10.0",
22+
"illuminate/http": "^9.0|^10.0",
23+
"symfony/process": "^6.0"
2424
},
2525
"require-dev": {
2626
"brianium/paratest": "^6.2",
27-
"nunomaduro/collision": "^5.3|^6.1",
28-
"orchestra/testbench": "^6.6|^7.0",
29-
"phpunit/phpunit": "^9.5.10",
27+
"nunomaduro/collision": "^6.1|^7.0",
28+
"orchestra/testbench": "^7.0|^8.0",
29+
"phpunit/phpunit": "^9.5.10|^10.0",
3030
"vimeo/psalm": "^4.8",
3131
"guzzlehttp/guzzle": "^7.0.1"
3232
},

0 commit comments

Comments
 (0)