orm icon indicating copy to clipboard operation
orm copied to clipboard

Laravel 11.x Compatibility

Open laravel-shift opened this issue 11 months ago • 7 comments

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:

  • Checkout the l11-compatibility branch
  • Review all comments for additional changes
  • Thoroughly test your package

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

laravel-shift avatar Mar 02 '24 06:03 laravel-shift

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

laravel-shift avatar Mar 02 '24 06:03 laravel-shift

: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/orm.git"
        }
    ]
}

Then update your dependency constraint to reference this branch:

{
    "require": {
        "laravel-doctrine/orm": "dev-l11-compatibility",
    }
}

Finally, run: composer update

laravel-shift avatar Mar 02 '24 06:03 laravel-shift

Now that Laravel11 has released, this PR should be proceeded. (I'll try today :)

77web avatar Mar 13 '24 00:03 77web

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 66.15%. Comparing base (bfd7f8a) to head (67159af).

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff            @@
##                2.0     #573   +/-   ##
=========================================
  Coverage     66.15%   66.15%           
  Complexity      548      548           
=========================================
  Files            81       81           
  Lines          1764     1764           
=========================================
  Hits           1167     1167           
  Misses          597      597           

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

codecov-commenter avatar Mar 13 '24 06:03 codecov-commenter

I tried this branch for my product along with laravel-doctrine/extensions https://github.com/laravel-doctrine/extensions/pull/66 and laravel-doctrine/migrations https://github.com/laravel-doctrine/migrations/pull/135 , it worked perfectly and all tests in my product passed successfully. No update for config was needed, just run "composer update".

77web avatar Apr 05 '24 13:04 77web

Is there any update on this ?

DK-Mino avatar Apr 08 '24 13:04 DK-Mino

We should fix builds first, maybe?

77web avatar Apr 08 '24 23:04 77web

I almost fixed builds in #575. Only 1 phpstan failure left, but I have no idea how to fix it :(


update: I've fixed the problem in #575 :tada:

77web avatar May 06 '24 09:05 77web

Replaced by #575

eigan avatar May 13 '24 06:05 eigan