fumeapp / modeltyper

Generate TypeScript interfaces from Laravel Models
MIT License
136 stars 16 forks source link

Laravel 11.x Compatibility #70

Closed laravel-shift closed 8 months ago

laravel-shift commented 9 months ago

This is an automated pull request from Shift to update your package code and dependencies to be compatible with Laravel 11.x.

Before merging, you need to:

If you do find an issue, please report it by commenting on this PR to help improve future automation.

laravel-shift commented 9 months ago

:warning: Shift detected GitHub Actions which run jobs using a version matrix. Shift attempted to update your configuration for Laravel 11. However, you should review these changes to ensure the desired combination of versions are built for your package.

laravel-shift commented 9 months ago

:x: Laravel 11 has removed its dependency on doctrine/dbal. As such, all of Laravel's classes, methods, and configuration related Doctrine DBAL have been removed.

Shift detected potential uses of these within the following files. You should review these instances and, if they are still needed, reference the Upgrade Guide for native alternatives.

laravel-shift commented 9 months ago

:alembic: Using this package? If you would like to help test these changes or believe them to be compatible, you may update your project to reference this branch.

To do so, temporarily add Shift's fork to the repositories property of your composer.json:

{
    "repositories": [
        {
            "type": "vcs",
            "url": "https://github.com/laravel-shift/modeltyper.git"
        }
    ]
}

Then update your dependency constraint to reference this branch:

{
    "require": {
        "fumeapp/modeltyper": "dev-l11-compatibility",
    }
}

Finally, run: composer update

n1c commented 8 months ago

Hey team; any plans to get this merged in?