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 #36

Closed

Conversation

laravel-shift
Copy link
Contributor

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
Contributor 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
Contributor Author

⚠️ 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
Copy link
Contributor 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/laravel-passport-claims.git"
        }
    ]
}

Then update your dependency constraint to reference this branch:

{
    "require": {
        "corbosman/laravel-passport-claims": "dev-l11-compatibility",
    }
}

Finally, run: composer update

Copy link

what-the-diff bot commented Mar 1, 2024

PR Summary

  • Updated Continuous Integration Settings
    The continuous integration settings have been modified to support the latest version of Laravel (11.*). Some combinations of Laravel and PHP versions have been excluded from the tests to avoid potential compatibility issues.

  • Updated Package Requirements
    The list of required packages in the project has been updated. There is now support for the latest versions of important packages such as illuminate/support, laravel/passport, phpunit/phpunit, and orchestra/testbench. These updates ensure that our project can benefit from the latest features and fixes associated with these packages.

"illuminate/support": "^9.0|^10.0",
"laravel/passport": "^10.3|^11.2"
"illuminate/support": "^9.0|^10.0|^11.0",
"laravel/passport": "^10.3|^11.2|dev-master"

Choose a reason for hiding this comment

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

Passport 12 instead of dev According to the upgrade guide

Suggested change
"laravel/passport": "^10.3|^11.2|dev-master"
"laravel/passport": "^10.3|^11.2|^12.0"

@corbosman corbosman closed this Mar 15, 2024
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