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

Add Support for Laravel 11 and drop Support for Laravel 8, 9, 10 #14

Merged
merged 10 commits into from
Feb 5, 2024
Merged

Add Support for Laravel 11 and drop Support for Laravel 8, 9, 10 #14

merged 10 commits into from
Feb 5, 2024

Conversation

stefanzweifel
Copy link
Contributor

This PR upgrades the package to support Laravel 11.

Laravel 11 will require symfony/console:^7.0, which had a breaking change in the SignalableCommandInterface@handleSignal method signature.

For easier maintenance, I've removed support for Laravel 8, 9 and 10 and PHP versions below 8.2.


I honestly have no clue what value handleSignal should return. I've opted to return the $signal in this PR, but please double check if this is the correct behaviour.

(While upgrading other packages to support Laravel 11 I noticed that this package doesn't support it either, so I thought I just send in a PR)

@freekmurze freekmurze merged commit aa6d8dc into spatie:main Feb 5, 2024
2 checks passed
@freekmurze
Copy link
Member

Thank you!

@stefanzweifel stefanzweifel deleted the feat/laravel-11 branch February 5, 2024 14:22
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.

2 participants