Skip to content

Fix component pivot lookup #1482

Fix component pivot lookup

Fix component pivot lookup #1482

Triggered via pull request January 5, 2026 13:35
Status Failure
Total duration 5m 3s
Artifacts

run-tests.yml

on: pull_request
Matrix: mysql
Matrix: postgres13
Matrix: postgres14
Matrix: postgres15
Matrix: sqlite
Matrix: static-analysis
Fit to window
Zoom out
Zoom in

Annotations

64 errors
Static Analysis - P8.4 - L11.x - prefer-lowest
Process completed with exit code 1.
Static Analysis - P8.4 - L11.x - prefer-lowest: src/Http/Resources/Component.php#L37
Using nullsafe method call on non-nullable type Cachet\Enums\ComponentStatusEnum. Use -> instead.
Static Analysis - P8.4 - L11.x - prefer-lowest: src/Http/Resources/Component.php#L37
Parameter #1 $value of static method Cachet\Enums\ComponentStatusEnum::from() expects int|string, Cachet\Enums\ComponentStatusEnum|null given.
Static Analysis - P8.4 - L11.x - prefer-lowest: src/Http/Resources/Component.php#L34
Parameter #1 $condition of method Illuminate\Http\Resources\Json\JsonResource::when() expects bool, Cachet\Enums\ComponentStatusEnum|null given.
Static Analysis - P8.2 - L11.x - prefer-stable
Process completed with exit code 1.
Static Analysis - P8.2 - L11.x - prefer-stable: src/Models/Subscriber.php#L40
PHPDoc type array<string, string> of property Cachet\Models\Subscriber::$dispatchesEvents is not covariant with PHPDoc type array<string, class-string> of overridden property Illuminate\Database\Eloquent\Model::$dispatchesEvents.
Static Analysis - P8.2 - L11.x - prefer-stable: src/Models/MetricPoint.php#L39
PHPDoc type array<string, string> of property Cachet\Models\MetricPoint::$dispatchesEvents is not covariant with PHPDoc type array<string, class-string> of overridden property Illuminate\Database\Eloquent\Model::$dispatchesEvents.
Static Analysis - P8.2 - L11.x - prefer-stable: src/Models/Metric.php#L59
PHPDoc type array<string, string> of property Cachet\Models\Metric::$dispatchesEvents is not covariant with PHPDoc type array<string, class-string> of overridden property Illuminate\Database\Eloquent\Model::$dispatchesEvents.
Static Analysis - P8.2 - L11.x - prefer-stable: src/Models/Incident.php#L77
PHPDoc type array<string, string> of property Cachet\Models\Incident::$dispatchesEvents is not covariant with PHPDoc type array<string, class-string> of overridden property Illuminate\Database\Eloquent\Model::$dispatchesEvents.
Static Analysis - P8.2 - L11.x - prefer-stable: src/Http/Resources/Component.php#L37
Using nullsafe method call on non-nullable type Cachet\Enums\ComponentStatusEnum. Use -> instead.
Static Analysis - P8.2 - L11.x - prefer-stable: src/Http/Resources/Component.php#L37
Parameter #1 $value of static method Cachet\Enums\ComponentStatusEnum::from() expects int|string, Cachet\Enums\ComponentStatusEnum|null given.
Static Analysis - P8.2 - L11.x - prefer-stable: src/Http/Resources/Component.php#L34
Parameter #1 $condition of method Illuminate\Http\Resources\Json\JsonResource::when() expects bool, Cachet\Enums\ComponentStatusEnum|null given.
Static Analysis - P8.2 - L11.x - prefer-stable: src/Filament/Widgets/Feed.php#L66
Call to an undefined method Illuminate\Http\Client\Response::getBody().
Static Analysis - P8.2 - L11.x - prefer-lowest
Process completed with exit code 1.
Static Analysis - P8.2 - L11.x - prefer-lowest: src/Http/Resources/Component.php#L37
Using nullsafe method call on non-nullable type Cachet\Enums\ComponentStatusEnum. Use -> instead.
Static Analysis - P8.2 - L11.x - prefer-lowest: src/Http/Resources/Component.php#L37
Parameter #1 $value of static method Cachet\Enums\ComponentStatusEnum::from() expects int|string, Cachet\Enums\ComponentStatusEnum|null given.
Static Analysis - P8.2 - L11.x - prefer-lowest: src/Http/Resources/Component.php#L34
Parameter #1 $condition of method Illuminate\Http\Resources\Json\JsonResource::when() expects bool, Cachet\Enums\ComponentStatusEnum|null given.
Static Analysis - P8.4 - L11.x - prefer-stable
Process completed with exit code 1.
Static Analysis - P8.4 - L11.x - prefer-stable: src/Models/Subscriber.php#L40
PHPDoc type array<string, string> of property Cachet\Models\Subscriber::$dispatchesEvents is not covariant with PHPDoc type array<string, class-string> of overridden property Illuminate\Database\Eloquent\Model::$dispatchesEvents.
Static Analysis - P8.4 - L11.x - prefer-stable: src/Models/MetricPoint.php#L39
PHPDoc type array<string, string> of property Cachet\Models\MetricPoint::$dispatchesEvents is not covariant with PHPDoc type array<string, class-string> of overridden property Illuminate\Database\Eloquent\Model::$dispatchesEvents.
Static Analysis - P8.4 - L11.x - prefer-stable: src/Models/Metric.php#L59
PHPDoc type array<string, string> of property Cachet\Models\Metric::$dispatchesEvents is not covariant with PHPDoc type array<string, class-string> of overridden property Illuminate\Database\Eloquent\Model::$dispatchesEvents.
Static Analysis - P8.4 - L11.x - prefer-stable: src/Models/Incident.php#L77
PHPDoc type array<string, string> of property Cachet\Models\Incident::$dispatchesEvents is not covariant with PHPDoc type array<string, class-string> of overridden property Illuminate\Database\Eloquent\Model::$dispatchesEvents.
Static Analysis - P8.4 - L11.x - prefer-stable: src/Http/Resources/Component.php#L37
Using nullsafe method call on non-nullable type Cachet\Enums\ComponentStatusEnum. Use -> instead.
Static Analysis - P8.4 - L11.x - prefer-stable: src/Http/Resources/Component.php#L37
Parameter #1 $value of static method Cachet\Enums\ComponentStatusEnum::from() expects int|string, Cachet\Enums\ComponentStatusEnum|null given.
Static Analysis - P8.4 - L11.x - prefer-stable: src/Http/Resources/Component.php#L34
Parameter #1 $condition of method Illuminate\Http\Resources\Json\JsonResource::when() expects bool, Cachet\Enums\ComponentStatusEnum|null given.
Static Analysis - P8.4 - L11.x - prefer-stable: src/Filament/Widgets/Feed.php#L66
Call to an undefined method Illuminate\Http\Client\Response::getBody().
Static Analysis - P8.3 - L11.x - prefer-lowest
Process completed with exit code 1.
Static Analysis - P8.3 - L11.x - prefer-lowest: src/Http/Resources/Component.php#L37
Using nullsafe method call on non-nullable type Cachet\Enums\ComponentStatusEnum. Use -> instead.
Static Analysis - P8.3 - L11.x - prefer-lowest: src/Http/Resources/Component.php#L37
Parameter #1 $value of static method Cachet\Enums\ComponentStatusEnum::from() expects int|string, Cachet\Enums\ComponentStatusEnum|null given.
Static Analysis - P8.3 - L11.x - prefer-lowest: src/Http/Resources/Component.php#L34
Parameter #1 $condition of method Illuminate\Http\Resources\Json\JsonResource::when() expects bool, Cachet\Enums\ComponentStatusEnum|null given.
Tests - P8.3 - L11.x - prefer-lowest - SQLite
Process completed with exit code 1.
Static Analysis - P8.3 - L11.x - prefer-stable
Process completed with exit code 1.
Static Analysis - P8.3 - L11.x - prefer-stable: src/Models/Subscriber.php#L40
PHPDoc type array<string, string> of property Cachet\Models\Subscriber::$dispatchesEvents is not covariant with PHPDoc type array<string, class-string> of overridden property Illuminate\Database\Eloquent\Model::$dispatchesEvents.
Static Analysis - P8.3 - L11.x - prefer-stable: src/Models/MetricPoint.php#L39
PHPDoc type array<string, string> of property Cachet\Models\MetricPoint::$dispatchesEvents is not covariant with PHPDoc type array<string, class-string> of overridden property Illuminate\Database\Eloquent\Model::$dispatchesEvents.
Static Analysis - P8.3 - L11.x - prefer-stable: src/Models/Metric.php#L59
PHPDoc type array<string, string> of property Cachet\Models\Metric::$dispatchesEvents is not covariant with PHPDoc type array<string, class-string> of overridden property Illuminate\Database\Eloquent\Model::$dispatchesEvents.
Static Analysis - P8.3 - L11.x - prefer-stable: src/Models/Incident.php#L77
PHPDoc type array<string, string> of property Cachet\Models\Incident::$dispatchesEvents is not covariant with PHPDoc type array<string, class-string> of overridden property Illuminate\Database\Eloquent\Model::$dispatchesEvents.
Static Analysis - P8.3 - L11.x - prefer-stable: src/Http/Resources/Component.php#L37
Using nullsafe method call on non-nullable type Cachet\Enums\ComponentStatusEnum. Use -> instead.
Static Analysis - P8.3 - L11.x - prefer-stable: src/Http/Resources/Component.php#L37
Parameter #1 $value of static method Cachet\Enums\ComponentStatusEnum::from() expects int|string, Cachet\Enums\ComponentStatusEnum|null given.
Static Analysis - P8.3 - L11.x - prefer-stable: src/Http/Resources/Component.php#L34
Parameter #1 $condition of method Illuminate\Http\Resources\Json\JsonResource::when() expects bool, Cachet\Enums\ComponentStatusEnum|null given.
Static Analysis - P8.3 - L11.x - prefer-stable: src/Filament/Widgets/Feed.php#L66
Call to an undefined method Illuminate\Http\Client\Response::getBody().
Tests - P8.2 - L11.x - prefer-lowest - SQLite
Process completed with exit code 1.
Tests - P8.3 - L11.x - prefer-stable - SQLite
Process completed with exit code 1.
Tests - P8.2 - L11.x - prefer-stable - SQLite
Process completed with exit code 1.
Tests - P8.4 - L11.x - prefer-lowest - PostgreSQL 13
Process completed with exit code 1.
Tests - P8.4 - L11.x - prefer-lowest - MySQL 8.0
Process completed with exit code 1.
Tests - P8.2 - L11.x - prefer-lowest - PostgreSQL 13
Process completed with exit code 1.
Tests - P8.2 - L11.x - prefer-stable - PostgreSQL 14
Process completed with exit code 1.
Tests - P8.4 - L11.x - prefer-stable - PostgreSQL 13
Process completed with exit code 1.
Tests - P8.2 - L11.x - prefer-stable - PostgreSQL 13
Process completed with exit code 1.
Tests - P8.3 - L11.x - prefer-stable - MySQL 8.0
Process completed with exit code 1.
Tests - P8.2 - L11.x - prefer-lowest - MySQL 8.0
Process completed with exit code 1.
Tests - P8.2 - L11.x - prefer-stable - PostgreSQL 15
Process completed with exit code 1.
Tests - P8.3 - L11.x - prefer-lowest - PostgreSQL 14
Process completed with exit code 1.
Tests - P8.2 - L11.x - prefer-lowest - PostgreSQL 14
Process completed with exit code 1.
Tests - P8.3 - L11.x - prefer-lowest - MySQL 8.0
Process completed with exit code 1.
Tests - P8.2 - L11.x - prefer-stable - MySQL 8.0
Process completed with exit code 1.
Tests - P8.3 - L11.x - prefer-stable - PostgreSQL 15
Process completed with exit code 1.
Tests - P8.3 - L11.x - prefer-lowest - PostgreSQL 15
Process completed with exit code 1.
Tests - P8.3 - L11.x - prefer-lowest - PostgreSQL 13
Process completed with exit code 1.
Tests - P8.4 - L11.x - prefer-stable - MySQL 8.0
Process completed with exit code 1.
Tests - P8.2 - L11.x - prefer-lowest - PostgreSQL 15
Process completed with exit code 1.
Tests - P8.3 - L11.x - prefer-stable - PostgreSQL 13
Process completed with exit code 1.
Tests - P8.3 - L11.x - prefer-stable - PostgreSQL 14
Process completed with exit code 1.
check
Process completed with exit code 1.