build: bump phpunit constraints past GHSA-qrr6-mg7r-m243 - #317
Closed
sandervanhooft wants to merge 594 commits into
Closed
build: bump phpunit constraints past GHSA-qrr6-mg7r-m243#317sandervanhooft wants to merge 594 commits into
sandervanhooft wants to merge 594 commits into
Conversation
Laravel 9 Support
Implements configurable models
…nd-or-fail-on-mollie-payment-owner Fixes findOrFail query on mollie payment owner
upgrade moneyphp to v4
Adds dynamic calculation of the reimbursable amount
* fix query * Matching test * improved test * query order
Laravel 12 support
Simplify the valid() method for readability. onTrial() and onGracePeriod() are already checked in active(), so no need to check them again.
…291) * fix 287 order id not found * property type docblock * swap http statuses
* improve action extraction * wip
…ice() ## Summary This PR fixes a PHP 8.4 deprecation warning by using explicit nullable type declaration. ## Problem PHP 8.4 deprecated implicit nullable parameter declarations. The following warning is triggered:
…cation fix: PHP 8.4 deprecation - use explicit nullable type in downloadInvoice()
fix: Use explicit nullable types in parameters
Replace all remaining implicit nullable parameter types with explicit nullable type declarations to resolve PHP 8.4 deprecation warnings. PR #306 previously fixed src/Billable.php; this commit addresses the remaining 13 occurrences across exception constructors, interval generators, Invoice methods, and test helpers.
* Add Laravel 13 support - Add ^13 to illuminate/database and illuminate/support constraints - Add orchestra/testbench ^11.0 and phpunit ^12.0 for L13 testing - Add Laravel 13 to CI matrix with PHP version excludes (L13 requires PHP 8.3+, L12 requires PHP 8.2+) - Bump actions/checkout to v4 Closes #311 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * Remove phpunit ^12.0 — test suite uses docblock annotations PHPUnit 12 dropped support for @test and @group docblock annotations in favor of PHP 8 attributes. The test suite relies on these throughout, so PHPUnit 12 either skips tests entirely (33 "no tests found" warnings) or runs integration tests that should be excluded via @group. Converting to attributes is a separate effort. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* Upgrade to mollie/laravel-mollie v4 - Update mollie/laravel-mollie constraint from ^3.0 to ^4.0 - Remove direct mollie/mollie-api-php dependency (now transitive) - Update Mollie SDK constant references (drop STATUS_/SEQUENCETYPE_ prefixes) - Handle RefundCollection and ApiException constructor changes - Migrate PHPUnit annotations to PHP 8 attributes (#[Test], #[Group]) - Require PHP 8.2+ and Laravel 11+ - Add CI resolve and prefer-lowest jobs * Fix malformed docblocks in ManageSubscriptionTest and ConfigPlanRepositoryTest * Bump orchestra/testbench minimum to ^9.6 for prefer-lowest compatibility Testbench v9.0.x resolves to early Laravel 11 versions that lack the $latestResponse static property, causing errors with --prefer-lowest.
sandervanhooft
force-pushed
the
fix/phpunit-ghsa-qrr6-mg7r-m243
branch
from
April 20, 2026 13:02
01ef723 to
fe740e2
Compare
Collaborator
Author
|
Closing this in favor of #318, which is based on the correct branch and contains only the intended one-line change. |
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Restrict PHPUnit to patched versions for GHSA-qrr6-mg7r-m243.
Affected ranges:
This updates the Composer constraint to allow only patched 12.x and 13.x releases while keeping existing 10.x and 11.x support.