Skip to content
Open
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
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@
],
"require": {
"php": "^8.2",
"illuminate/support": "^10.0|^11.0|^12.0",
"illuminate/filesystem": "^10.0|^11.0|^12.0",
"illuminate/console": "^10.0|^11.0|^12.0"
"illuminate/support": "^10.0|^11.0|^12.0|^13.0",
"illuminate/filesystem": "^10.0|^11.0|^12.0|^13.0",
"illuminate/console": "^10.0|^11.0|^12.0|^13.0"
Comment on lines +14 to +16
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟠 Major

🧩 Analysis chain

🌐 Web query:

What is the official minimum PHP version required by Laravel 13.x (illuminate/support 13.x)?

💡 Result:

The official minimum PHP version required by Laravel 13.x (illuminate/support 13.x) is PHP 8.3.

Citations:


Update PHP constraint to support Laravel 13 requirement.

The package permits Laravel 13 (illuminate/*: ^13.0) but requires only PHP ^8.2. Laravel 13 requires PHP 8.3 as a minimum, creating an unresolvable conflict—installs targeting Laravel 13 on PHP 8.2 will fail. Change Line 13 to "php": "^8.3".

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@composer.json` around lines 14 - 16, The composer.json currently allows
illuminate/* up to ^13.0 but still requires PHP "^8.2", causing conflicts for
Laravel 13; open composer.json and change the PHP platform requirement from
"php": "^8.2" to "php": "^8.3" so it matches Laravel 13's minimum PHP version
(locate the "php" entry in composer.json and update its value).

},
"require-dev": {
"laravel/pint": "^1.0",
"mockery/mockery": "^1.6",
"orchestra/testbench": "^8.21|^9.2|^10.0",
"orchestra/testbench": "^8.21|^9.2|^10.0|^11.0",
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟡 Minor

🧩 Analysis chain

🌐 Web query:

What PHPUnit versions are supported by orchestra/testbench 11.x, and which Laravel versions does it target?

💡 Result:

orchestra/testbench 11.x supports PHPUnit ^11.5.50, ^12.5.8, or ^13.0.0 and targets Laravel Framework ^13.0.0.

Citations:


🏁 Script executed:

# Search for the PHPUnit constraint in composer.json
rg "phpunit" composer.json -A 1 -B 1

Repository: aarondfrancis/airdrop

Length of output: 169


Testbench 11.0 requires PHPUnit ^11.5.50, not ^11.0.

The constraint phpunit/phpunit: ^10.5|^11.0 includes PHPUnit versions 11.0.0–11.5.49, which are incompatible with orchestra/testbench:^11.0. This creates an unsatisfiable require-dev combination. Either remove ^11.0 from testbench or update the PHPUnit constraint to ^10.5|^11.5.50|^12.5.8|^13.0.0 to match testbench 11.x requirements.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@composer.json` at line 21, The composer dev dependency constraints are
incompatible: "orchestra/testbench" at ^11.0 requires PHPUnit >=11.5.50 but
"phpunit/phpunit" is constrained to ^10.5|^11.0; update the PHPUnit constraint
to match Testbench 11.x (for example replace ^10.5|^11.0 with
^10.5|^11.5.50|^12.5.8|^13.0.0) or alternatively downgrade/remove the ^11.0
segment from "orchestra/testbench" so the two requirements are satisfiable; edit
composer.json to adjust the "phpunit/phpunit" version string or the
"orchestra/testbench" version accordingly and run composer update to verify.

"phpunit/phpunit": "^10.5|^11.0"
},
"autoload": {
Expand Down