Skip to content

Commit 9ad945b

Browse files
committed
Update to Laravel 9
1 parent 95684b8 commit 9ad945b

File tree

3 files changed

+18
-15
lines changed

3 files changed

+18
-15
lines changed

.github/workflows/laravel.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -3,22 +3,22 @@ name: CI
33
on:
44
push:
55
branches:
6-
- 'main'
6+
- '9.x'
77
pull_request:
88
branches:
9-
- 'main'
9+
- '9.x'
1010

1111
env:
1212
APP_ENV: test
1313

1414
jobs:
1515
laravel:
16-
name: Laravel 8 (PHP ${{ matrix.php-versions }})
16+
name: Laravel 9 (PHP ${{ matrix.php-versions }})
1717
runs-on: ubuntu-latest
1818
strategy:
1919
fail-fast: true
2020
matrix:
21-
php-versions: ['7.4', '8.0', '8.1']
21+
php-versions: ['8.0', '8.1', '8.2']
2222
steps:
2323
- name: Checkout code
2424
uses: actions/checkout@v3

composer.json

+13-10
Original file line numberDiff line numberDiff line change
@@ -10,22 +10,22 @@
1010
}
1111
],
1212
"require": {
13-
"php": ">=7.4.0",
13+
"php": ">=8.0.1",
1414
"ext-pdo": "*",
15-
"laravel/framework": "^8.83",
15+
"laravel/framework": "^9.0",
1616
"laravel/ui": "^3.4"
1717
},
1818
"require-dev": {
1919
"ext-fileinfo": "*",
2020
"ext-json": "*",
21-
"barryvdh/laravel-debugbar": "^3.7",
22-
"barryvdh/laravel-ide-helper": "^2.14",
23-
"codeception/codeception": "^4.1 | ^5.0.0-RC3",
24-
"codeception/module-asserts": "^2.0 | ^3.0",
25-
"codeception/module-laravel": "^2.1 | ^3.0 | *@dev",
26-
"facade/ignition": "^2.17",
27-
"fakerphp/faker": "^1.17",
28-
"nunomaduro/collision": "^5.11"
21+
"barryvdh/laravel-debugbar": "^3.14",
22+
"barryvdh/laravel-ide-helper": "^2.15",
23+
"codeception/codeception": "^5.0.8",
24+
"codeception/module-asserts": "^3.0",
25+
"codeception/module-laravel": "^3.0 | *@dev",
26+
"fakerphp/faker": "^1.24",
27+
"nunomaduro/collision": "^v6.4",
28+
"spatie/laravel-ignition": "^1.7"
2929
},
3030
"config": {
3131
"optimize-autoloader": true,
@@ -60,6 +60,9 @@
6060
"Illuminate\\Foundation\\ComposerScripts::postAutoloadDump",
6161
"@php artisan package:discover --ansi"
6262
],
63+
"post-update-cmd": [
64+
"@php artisan vendor:publish --tag=laravel-assets --force"
65+
],
6366
"post-root-package-install": [
6467
"@php -r \"file_exists('.env') || copy('.env.testing', '.env');\""
6568
],

config/filesystems.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
// Default Filesystem Disk
88

9-
'default' => env('FILESYSTEM_DRIVER', 'local'),
9+
'default' => env('FILESYSTEM_DISK', 'local'),
1010

1111
// Filesystem Disks
1212

0 commit comments

Comments
 (0)