Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Laravel 11 compatibility (with laravel-doctrine/orm laravel-11 branch) #135

Merged
merged 9 commits into from
May 13, 2024
Merged
16 changes: 12 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,24 +1,32 @@
name: CI

on:
schedule:
- cron: '0 0 * * *'
push:
pull_request:

jobs:
tests:
runs-on: 'ubuntu-latest'
runs-on: ubuntu-latest

name: PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }}

strategy:
matrix:
php: ['8.0', '8.1', '8.2']
laravel: ['8', '9', '10']
laravel: ['9', '10', '11']
exclude:
- php: '8.2'
laravel: '8'
- php: '8.0'
laravel: '10'
- laravel: '11'
php: '8.0'
- laravel: '11'
php: '8.1'

steps:
- uses: actions/checkout@v3

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
Expand Down
86 changes: 43 additions & 43 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,46 +1,46 @@
{
"name": "laravel-doctrine/migrations",
"type": "library",
"description": "Doctrine Migrations for Laravel",
"license": "MIT",
"keywords": [
"doctrine",
"laravel",
"orm",
"data mapper",
"database",
"migrations"
],
"authors": [
{
"name": "Patrick Brouwers",
"email": "[email protected]"
"name": "laravel-doctrine/migrations",
"type": "library",
"description": "Doctrine Migrations for Laravel",
"license": "MIT",
"keywords": [
"doctrine",
"laravel",
"orm",
"data mapper",
"database",
"migrations"
],
"authors": [
{
"name": "Patrick Brouwers",
"email": "[email protected]"
}
],
"require": {
"php": "^7.4|^8",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

laravel-doctrine/orm 2.0 only supports PHP 8+ :)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's great 😁
930e094

"doctrine/migrations": "^3.4",
"doctrine/dbal": "^2.10.1|^3",
"illuminate/config": "^9.0|^10.0|^11.0",
"illuminate/contracts": "^9.0|^10.0|^11.0",
"illuminate/console": "^9.0|^10.0|^11.0",
"laravel-doctrine/orm": "^2.0"
},
"require-dev": {
"phpunit/phpunit": "^7.0 | ^8.3 | ^9.3",
"phpstan/phpstan": "^1.9",
"mockery/mockery": "^1.3.1"
},
"autoload": {
"psr-4": {
"LaravelDoctrine\\Migrations\\": "src/"
}
},
"extra": {
"laravel": {
"providers": [
"LaravelDoctrine\\Migrations\\MigrationsServiceProvider"
]
}
}
],
"require": {
"php": "^7.4|^8",
"doctrine/migrations": "^3.4",
"doctrine/dbal": "^2.10.1|^3",
"illuminate/config": "^6.0|^7.0|^8.0|^9.0|^10.0",
"illuminate/contracts": "^6.0|^7.0|^8.0|^9.0|^10.0",
"illuminate/console": "^6.0|^7.0|^8.0|^9.0|^10.0",
"laravel-doctrine/orm": "^1.0|^2.0"
},
"require-dev": {
"phpunit/phpunit": "^7.0 | ^8.3 | ^9.3",
"phpstan/phpstan": "^1.9",
"mockery/mockery": "^1.3.1"
},
"autoload": {
"psr-4": {
"LaravelDoctrine\\Migrations\\": "src/"
}
},
"extra": {
"laravel": {
"providers": [
"LaravelDoctrine\\Migrations\\MigrationsServiceProvider"
]
}
}
}
Loading
Loading