Skip to content

Commit b354720

Browse files
authored
Laravel 11 compatibility (#135)
* Bump dependencies for Laravel 11 * Update GitHub Actions for Laravel 11 * specify l11-compatibility branch for laravel-doctrine/orm * changed orm's dev version * restricted phpunit/phpunit verstion to v9 * added missing ->once() call to Mockery stubs * switched dependency to laravel-doctrine/orm to newly released v2.1.0 * dropeed support for Laravel v6, v7, v8 * fixed php version
1 parent 098e8fa commit b354720

File tree

3 files changed

+96
-88
lines changed

3 files changed

+96
-88
lines changed

.github/workflows/ci.yml

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,32 @@
11
name: CI
2+
23
on:
34
schedule:
45
- cron: '0 0 * * *'
56
push:
67
pull_request:
8+
79
jobs:
810
tests:
9-
runs-on: 'ubuntu-latest'
11+
runs-on: ubuntu-latest
12+
1013
name: PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }}
14+
1115
strategy:
1216
matrix:
1317
php: ['8.0', '8.1', '8.2']
14-
laravel: ['8', '9', '10']
18+
laravel: ['9', '10', '11']
1519
exclude:
16-
- php: '8.2'
17-
laravel: '8'
1820
- php: '8.0'
1921
laravel: '10'
22+
- laravel: '11'
23+
php: '8.0'
24+
- laravel: '11'
25+
php: '8.1'
26+
2027
steps:
2128
- uses: actions/checkout@v3
29+
2230
- name: Setup PHP
2331
uses: shivammathur/setup-php@v2
2432
with:

composer.json

Lines changed: 43 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -1,46 +1,46 @@
11
{
2-
"name": "laravel-doctrine/migrations",
3-
"type": "library",
4-
"description": "Doctrine Migrations for Laravel",
5-
"license": "MIT",
6-
"keywords": [
7-
"doctrine",
8-
"laravel",
9-
"orm",
10-
"data mapper",
11-
"database",
12-
"migrations"
13-
],
14-
"authors": [
15-
{
16-
"name": "Patrick Brouwers",
17-
"email": "patrick@maatwebsite.nl"
2+
"name": "laravel-doctrine/migrations",
3+
"type": "library",
4+
"description": "Doctrine Migrations for Laravel",
5+
"license": "MIT",
6+
"keywords": [
7+
"doctrine",
8+
"laravel",
9+
"orm",
10+
"data mapper",
11+
"database",
12+
"migrations"
13+
],
14+
"authors": [
15+
{
16+
"name": "Patrick Brouwers",
17+
"email": "patrick@maatwebsite.nl"
18+
}
19+
],
20+
"require": {
21+
"php": "^8",
22+
"doctrine/migrations": "^3.4",
23+
"doctrine/dbal": "^2.10.1|^3",
24+
"illuminate/config": "^9.0|^10.0|^11.0",
25+
"illuminate/contracts": "^9.0|^10.0|^11.0",
26+
"illuminate/console": "^9.0|^10.0|^11.0",
27+
"laravel-doctrine/orm": "^2.0"
28+
},
29+
"require-dev": {
30+
"phpunit/phpunit": "^7.0 | ^8.3 | ^9.3",
31+
"phpstan/phpstan": "^1.9",
32+
"mockery/mockery": "^1.3.1"
33+
},
34+
"autoload": {
35+
"psr-4": {
36+
"LaravelDoctrine\\Migrations\\": "src/"
37+
}
38+
},
39+
"extra": {
40+
"laravel": {
41+
"providers": [
42+
"LaravelDoctrine\\Migrations\\MigrationsServiceProvider"
43+
]
44+
}
1845
}
19-
],
20-
"require": {
21-
"php": "^7.4|^8",
22-
"doctrine/migrations": "^3.4",
23-
"doctrine/dbal": "^2.10.1|^3",
24-
"illuminate/config": "^6.0|^7.0|^8.0|^9.0|^10.0",
25-
"illuminate/contracts": "^6.0|^7.0|^8.0|^9.0|^10.0",
26-
"illuminate/console": "^6.0|^7.0|^8.0|^9.0|^10.0",
27-
"laravel-doctrine/orm": "^1.0|^2.0"
28-
},
29-
"require-dev": {
30-
"phpunit/phpunit": "^7.0 | ^8.3 | ^9.3",
31-
"phpstan/phpstan": "^1.9",
32-
"mockery/mockery": "^1.3.1"
33-
},
34-
"autoload": {
35-
"psr-4": {
36-
"LaravelDoctrine\\Migrations\\": "src/"
37-
}
38-
},
39-
"extra": {
40-
"laravel": {
41-
"providers": [
42-
"LaravelDoctrine\\Migrations\\MigrationsServiceProvider"
43-
]
44-
}
45-
}
4646
}

0 commit comments

Comments
 (0)