Skip to content

Add PHP 8.4 Support #2529

Add PHP 8.4 Support

Add PHP 8.4 Support #2529

Triggered via pull request January 4, 2025 00:46
Status Failure
Total duration 2m 25s
Artifacts

lint.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 2 warnings
PHPStan: app/Http/Middleware/Activity/TrackAPIKey.php#L22
Instanceof between Laravel\Sanctum\PersonalAccessToken and App\Models\ApiKey will always evaluate to false.
PHPStan: app/Http/Middleware/Api/Client/RequireClientApiKey.php#L19
Instanceof between Laravel\Sanctum\PersonalAccessToken and App\Models\ApiKey will always evaluate to false.
PHPStan: app/Http/Middleware/Api/Client/RequireClientApiKey.php#L19
Result of && is always false.
PHPStan: app/Http/Requests/Api/Application/ApplicationApiRequest.php#L41
Instanceof between Laravel\Sanctum\PersonalAccessToken and Laravel\Sanctum\TransientToken will always evaluate to false.
PHPStan: app/Providers/AppServiceProvider.php#L77
Parameter #1 $model of static method Laravel\Sanctum\Sanctum<Laravel\Sanctum\PersonalAccessToken>::usePersonalAccessTokenModel() expects class-string<Laravel\Sanctum\PersonalAccessToken>, string given.
PHPStan: app/Transformers/Api/Application/BaseTransformer.php#L73
Instanceof between Laravel\Sanctum\PersonalAccessToken and App\Models\ApiKey will always evaluate to false.
PHPStan: app/Transformers/Api/Application/BaseTransformer.php#L73
Result of || is always true.
PHPStan: app/Transformers/Api/Application/BaseTransformer.php#L80
Unreachable statement - code above always terminates.
PHPStan
Process completed with exit code 1.
Pint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHPStan
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636