Skip to content

Add test coverage for untested components #2161

Add test coverage for untested components

Add test coverage for untested components #2161

Re-run triggered January 6, 2026 21:48
Status Failure
Total duration 1m 20s
Artifacts

back-end.yml

on: pull_request
1️⃣ Syntax errors
12s
1️⃣ Syntax errors
3️⃣ Static Analysis
45s
3️⃣ Static Analysis
4️⃣ Coding Standards
25s
4️⃣ Coding Standards
Matrix: 2️⃣ Unit and functional tests
Fit to window
Zoom out
Zoom in

Annotations

18 errors and 16 warnings
4️⃣ Coding Standards
Process completed with exit code 1.
4️⃣ Coding Standards
Process completed with exit code 1.
2️⃣ Unit and functional tests (8.5, lowest)
Process completed with exit code 1.
3️⃣ Static Analysis: src/Fields/Field.php#L472
Call to an undefined method Illuminate\Http\Request::isTurboFrameRequest().
3️⃣ Static Analysis: src/Fields/BelongsToMany.php#L224
Parameter #1 $model of method Cone\Root\Fields\BelongsToMany<TRelation of Illuminate\Database\Eloquent\Relations\BelongsToMany>::getRelation() expects Illuminate\Database\Eloquent\Model, string|null given.
3️⃣ Static Analysis: src/Enums/Arrayable.php#L7
Trait Cone\Root\Enums\Arrayable is used zero times and is not analysed.
3️⃣ Static Analysis: src/Conversion/Driver.php#L48
Property Cone\Root\Models\Medium::$properties (string|null) does not accept array<int|string, list<(int|string)>|string>.
3️⃣ Static Analysis: src/Actions/SendVerificationNotification.php#L19
Parameter #1 $callback of method Illuminate\Support\Collection<(int|string),Illuminate\Database\Eloquent\Model>::each() expects callable(Illuminate\Database\Eloquent\Model, int|string): mixed, Closure(Cone\Root\Models\User): void given.
3️⃣ Static Analysis: src/Actions/SendVerificationNotification.php#L18
Parameter #1 $callback of method Illuminate\Support\Collection<(int|string),Illuminate\Database\Eloquent\Model>::reject() expects bool|(callable(Illuminate\Database\Eloquent\Model, int|string): bool)|Illuminate\Database\Eloquent\Model, Closure(Cone\Root\Models\User): bool given.
3️⃣ Static Analysis: src/Actions/SendPasswordResetNotification.php#L23
Call to an undefined method Illuminate\Contracts\Auth\PasswordBroker::createToken().
3️⃣ Static Analysis: src/Actions/SendPasswordResetNotification.php#L21
Parameter #1 $callback of method Illuminate\Support\Collection<(int|string),Illuminate\Database\Eloquent\Model>::each() expects callable(Illuminate\Database\Eloquent\Model, int|string): mixed, Closure(Cone\Root\Models\User): void given.
3️⃣ Static Analysis: src/Actions/Action.php#L219
Call to an undefined method Illuminate\Database\Eloquent\Model::recordRootEvent().
3️⃣ Static Analysis: src/Actions/Action.php#L139
Anonymous function should return Illuminate\Support\MessageBag but returns Illuminate\Contracts\Support\MessageBag.
2️⃣ Unit and functional tests (8.4, lowest)
Process completed with exit code 1.
2️⃣ Unit and functional tests (8.5, locked)
Process completed with exit code 1.
2️⃣ Unit and functional tests (8.4, locked)
Process completed with exit code 1.
2️⃣ Unit and functional tests (8.4, highest)
Process completed with exit code 1.
2️⃣ Unit and functional tests (8.5, highest)
Process completed with exit code 1.
4️⃣ Coding Standards: tests/View/Components/ChartTest.php#L1
Found violation(s) of type: new_with_parentheses
4️⃣ Coding Standards: tests/View/Components/AlertComponentTest.php#L1
Found violation(s) of type: new_with_parentheses
4️⃣ Coding Standards: tests/Casts/MetaValueTest.php#L1
Found violation(s) of type: braces_position
4️⃣ Coding Standards: tests/Casts/MetaValueTest.php#L1
Found violation(s) of type: class_definition
4️⃣ Coding Standards: tests/Casts/MetaValueTest.php#L1
Found violation(s) of type: new_with_parentheses
4️⃣ Coding Standards: tests/Notifications/RootMessageTest.php#L1
Found violation(s) of type: new_with_parentheses
4️⃣ Coding Standards: tests/Notifications/RootChannelTest.php#L1
Found violation(s) of type: new_with_parentheses
4️⃣ Coding Standards: tests/Listeners/FormatRootStubsTest.php#L1
Found violation(s) of type: no_unused_imports
4️⃣ Coding Standards: tests/Listeners/FormatRootStubsTest.php#L1
Found violation(s) of type: new_with_parentheses
4️⃣ Coding Standards: tests/Support/ClassListTest.php#L1
Found violation(s) of type: new_with_parentheses
2️⃣ Unit and functional tests (8.5, lowest)
No files were found with the provided path: storage/logs/. No artifacts will be uploaded.
2️⃣ Unit and functional tests (8.4, lowest)
No files were found with the provided path: storage/logs/. No artifacts will be uploaded.
2️⃣ Unit and functional tests (8.5, locked)
No files were found with the provided path: storage/logs/. No artifacts will be uploaded.
2️⃣ Unit and functional tests (8.4, locked)
No files were found with the provided path: storage/logs/. No artifacts will be uploaded.
2️⃣ Unit and functional tests (8.4, highest)
No files were found with the provided path: storage/logs/. No artifacts will be uploaded.
2️⃣ Unit and functional tests (8.5, highest)
No files were found with the provided path: storage/logs/. No artifacts will be uploaded.