-
-
Notifications
You must be signed in to change notification settings - Fork 266
Supports Laravel 12 #1164
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
Merged
Merged
Supports Laravel 12 #1164
Changes from all commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
913f569
Add Laravel 12 version constraints
duncanmcclean e3e3c9d
Update matrix in GitHub Actions workflow
duncanmcclean dd7f579
Add changelog entry
duncanmcclean 7ec6295
Require Larastan ^3
duncanmcclean 6431c2f
Laravel 9 is no longer supported. This can be removed.
duncanmcclean d557dd1
Require Testbench like this for the minute.
duncanmcclean 150eec2
wip
duncanmcclean bad4e01
wip
duncanmcclean 3034d79
Revert "Laravel 9 is no longer supported. This can be removed."
duncanmcclean 965f7e2
Remove only the portion we need to remove.
duncanmcclean d729458
Go back to how we were requiring Testbench 10 originally.
duncanmcclean 3889351
wip
duncanmcclean 0d8516c
wip
duncanmcclean 0f1fa9a
wip
duncanmcclean a8d412d
Empty commit
duncanmcclean a82fc9a
Remove unnecessary version check in tests
duncanmcclean 64b2afc
Swap testbench for testbench-core to see if it fixes the tests
duncanmcclean cd2bbd2
Testbench 10 requires PHPUnit 11
duncanmcclean 88a35c0
Fix Laravel 12 test failures
duncanmcclean f256332
Code Style
duncanmcclean File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When is this required? The tests work also without this line for me?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The
->assertCount()
here was asserting that 0 was 1, because of the filesystem route that Laravel 12 is registering.https://github.com/rebing/graphql-laravel/blob/master/tests/Unit/NoRoutesRegisteredTest.php#L54
Looks like it only happens on the
prefer-lowest
tests. Testbench 10.0.1 includes theserve
parameter in its stubs.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🤯