Skip to content

Commit d711dfd

Browse files
committed
fix: drop PHP 8.2 from matrix, update lock for 8.3 compat, fix test
- Drop PHP 8.2 from test matrix (dev deps require >=8.2, lock has Symfony v7.4 packages incompatible with 8.2) - Update composer.json PHP constraint from >=8.1 to >=8.2 - Regenerate composer.lock to downgrade Symfony packages from v8.1 (requires PHP 8.4) to v7.4 (works on PHP 8.3+) - Remove expectsQuestion from test_generates_remote_model since Laravel 12's make:model only asks that question when the model already exists
1 parent a7eddab commit d711dfd

4 files changed

Lines changed: 76 additions & 69 deletions

File tree

.github/workflows/php.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
strategy:
4545
fail-fast: false
4646
matrix:
47-
php: ["8.2", "8.3", "8.4"]
47+
php: ["8.3", "8.4"]
4848

4949
steps:
5050
- uses: actions/checkout@v4

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"description": "A toolkit to use Laravel effectively as a microservice in a distributed architecture.",
44
"type": "library",
55
"require": {
6-
"php": ">=8.1",
6+
"php": ">=8.2",
77
"illuminate/support": "^10.0|^11.0|^12.0",
88
"firebase/php-jwt": "^7.0"
99
},

composer.lock

Lines changed: 74 additions & 66 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/Commands/MakeModelCommandTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ protected function getPackageProviders($app)
1616
public function test_generates_remote_model()
1717
{
1818
$this->artisan('make:model', ['name' => 'RemoteUser', '--remote' => true])
19-
->expectsQuestion('Do you want to generate additional components for the model?', false)
2019
->assertExitCode(0);
2120

2221
$path = app_path('Models/RemoteUser.php');

0 commit comments

Comments
 (0)