tighten / parental

Use single table inheritance in your Laravel app
MIT License
1.36k stars 98 forks source link

Laravel 9.x Compatibility #101

Closed laravel-shift closed 2 years ago

laravel-shift commented 2 years ago

This is an automated pull request from Shift to update your package code and dependencies to be compatible with Laravel 9.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 2 years ago

:warning: The latest version of Laravel has a dependency for phpunit/phpunit of ^9.3. If you would like to also upgrade your tests, you may run the PHPUnit 9 Shift for free.

laravel-shift commented 2 years ago

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

laravel-shift commented 2 years 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/parental.git"
        }
    ]
}

Then update your dependency constraint to reference this branch:

{
    "require": {
        "calebporzio/parental": "dev-l9-compatibility",
    }
}

Finally, run: composer update

JustSteveKing commented 2 years ago

Waiting for stable 9 to be released so tests can pass 😃

jasonmccreary commented 2 years ago

@JustSteveKing, if you want, you can configure the min stability options in composer.json just to see if the tests pass.

JustSteveKing commented 2 years ago

Tested locally - works wonderfully @jasonmccreary 🔥

miken32 commented 2 years ago

@JustSteveKing Will a release be pushed out soon so this shows up in packagist?

JustSteveKing commented 2 years ago

@miken32 released!

https://github.com/calebporzio/parental/releases/tag/v1.1.0