Skip to content

Commit eef8e03

Browse files
committed
Update to Laravel 10
1 parent 9ad945b commit eef8e03

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

.github/workflows/laravel.yml

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

1111
env:
1212
APP_ENV: test
1313

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

app/Providers/AuthServiceProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@ final class AuthServiceProvider extends ServiceProvider
1515

1616
public function boot(): void
1717
{
18-
$this->registerPolicies();
18+
//
1919
}
2020
}

composer.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@
1010
}
1111
],
1212
"require": {
13-
"php": ">=8.0.1",
13+
"php": ">=8.1",
1414
"ext-pdo": "*",
15-
"laravel/framework": "^9.0",
16-
"laravel/ui": "^3.4"
15+
"laravel/framework": "^10.0",
16+
"laravel/ui": "^4.0"
1717
},
1818
"require-dev": {
1919
"ext-fileinfo": "*",
@@ -24,8 +24,8 @@
2424
"codeception/module-asserts": "^3.0",
2525
"codeception/module-laravel": "^3.0 | *@dev",
2626
"fakerphp/faker": "^1.24",
27-
"nunomaduro/collision": "^v6.4",
28-
"spatie/laravel-ignition": "^1.7"
27+
"nunomaduro/collision": "^7.0",
28+
"spatie/laravel-ignition": "^2.0"
2929
},
3030
"config": {
3131
"optimize-autoloader": true,

0 commit comments

Comments
 (0)