Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Changes
Allow Laravel 12 and adjust tests and dependencies where needed.
There are some interesting things.
dms/phpunit-arraysubset-asserts
dependency is not yet out for the phpunit we need for L12 and thus I've included the fork with the compatible PR. Since it's adev
only dependency this might be fine for now but should be reverted in the future. It does allow us to move forward at least.laravel/scout
versions since Scout doesn't update its version every time Laravel does, this was probably done in error in previous Laravel version updates.unset.possiblyHookedProperty
phpstan errors is a bug on their side, should be fixed soon-ish: Fix unsetting array item triggers unset.possiblyHookedProperty phpstan/phpstan-src#3855Breaking changes
None. Laravel 12 is also a super simple release for us from what it seems (in the BC department at least).