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.x Compatibility #31

Closed
wants to merge 1 commit into from

Conversation

laravel-shift
Copy link

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
Copy link
Author

⚠️ 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
Copy link
Author

⚗️ 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/unobserve.git"
        }
    ]
}

Then update your dependency constraint to reference this branch:

{
    "require": {
        "monooso/unobserve": "dev-l11-compatibility",
    }
}

Finally, run: composer update

@mbardelmeijer
Copy link

@monooso would you mind taking a look at this PR to support Laravel 11? Thanks! 🙏

@monooso
Copy link
Owner

monooso commented Mar 16, 2024

@mbardelmeijer Looks like I need to pull down the code and make some updates locally. I'll try to get to it this week, but as I don't have even PHP installed at present it's a bit more hassle than it first appears.

@monooso monooso marked this pull request as draft March 16, 2024 19:34
@monooso
Copy link
Owner

monooso commented Mar 20, 2024

@mbardelmeijer @laravel-shift This ended up being a bit more work than expected, so I started from scratch on a separate branch.

Everything is now merged to main and I've released a new version, compatible with Laravel 11.

@monooso monooso closed this Mar 20, 2024
@mbardelmeijer
Copy link

@mbardelmeijer @laravel-shift This ended up being a bit more work than expected, so I started from scratch on a separate branch.

Everything is now merged to main and I've released a new version, compatible with Laravel 11.

Awesome, thanks! :shipit:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants