Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 22 additions & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,21 +10,39 @@ jobs:

strategy:
matrix:
php: ['8.0', '8.1', '8.2']
laravel: [9.*, 10.*]
php: ['8.0', '8.1', '8.2', '8.3', '8.4']
laravel: [9.*, 10.*, 11.*, 12.*]
stability: [prefer-lowest, prefer-stable]
include:
- laravel: 9.*
testbench: 7.*
- laravel: 10.*
testbench: 8.*
- laravel: 11.*
testbench: 9.*
- laravel: 12.*
testbench: 10.*
exclude:
- laravel: 9.*
php: '8.3'
- laravel: 9.*
php: '8.4'
- laravel: 10.*
php: '8.0'
- laravel: 10.*
php: 8.0
php: '8.4'
- laravel: 11.*
php: '8.0'
- laravel: 11.*
php: '8.1'
- laravel: 12.*
php: '8.0'
- laravel: 12.*
php: '8.1'
Comment on lines +38 to +41
Copy link

Copilot AI Feb 19, 2026

Choose a reason for hiding this comment

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

Potential missing exclusion for Laravel 12 with PHP 8.2. The PR description states "Laravel 12 requires PHP 8.3+" but the test matrix only excludes PHP 8.0 and 8.1 for Laravel 12, which would allow testing with PHP 8.2. This creates a discrepancy between the documented requirements and the actual test matrix.

If Laravel 12 truly requires PHP 8.3+, add an exclusion for PHP 8.2. If Laravel 12 actually supports PHP 8.2+, the current exclusions are correct, but the PR description should be updated to reflect this.

Copilot uses AI. Check for mistakes.

steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Setup PHP
uses: shivammathur/setup-php@v2
Expand Down
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@
],
"require": {
"php": "^8.0",
"laravel/framework": "^9.0|^10.0"
"laravel/framework": "^9.0|^10.0|^11.0|^12.0"
},
"require-dev": {
"phpunit/phpunit": "^9.5|^10.0",
"orchestra/testbench": "^7.4|^8.0"
"phpunit/phpunit": "^9.5|^10.0|^11.0",
"orchestra/testbench": "^7.4|^8.0|^9.0|^10.0"
},
"autoload": {
"psr-4": {
Expand Down
4 changes: 2 additions & 2 deletions phpunit.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@
backupGlobals="false"
backupStaticProperties="false"
>
<coverage>
<source>
<include>
<directory suffix=".php">./src</directory>
</include>
</coverage>
</source>
<testsuites>
<testsuite name="Package Test Suite">
<directory suffix="Test.php">tests</directory>
Expand Down
Loading