Skip to content

Create pint.json

Create pint.json #2042

Triggered via pull request August 11, 2025 07:12
Status Failure
Total duration 1m 25s
Artifacts

back-end.yml

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

Annotations

12 errors and 10 warnings
4️⃣ Coding Standards
Process completed with exit code 1.
4️⃣ Coding Standards
Process completed with exit code 1.
3️⃣ Static Analysis: src/Fields/Relation.php#L467
Anonymous function should return Illuminate\Support\MessageBag but returns Illuminate\Contracts\Support\MessageBag.
3️⃣ Static Analysis: src/Fields/Media.php#L96
Parameter #1 $callback of method Illuminate\Pagination\AbstractPaginator<int,Illuminate\Database\Eloquent\Model>::through() expects callable(Illuminate\Database\Eloquent\Model, int): non-empty-array, Closure(Cone\Root\Models\Medium): non-empty-array given.
3️⃣ Static Analysis: src/Fields/File.php#L244
Parameter #1 $callback of method Illuminate\Support\LazyCollection<int,Illuminate\Database\Eloquent\Model>::each() expects callable(Illuminate\Database\Eloquent\Model, int): mixed, Closure(Cone\Root\Models\Medium): void given.
3️⃣ Static Analysis: src/Fields/BelongsToMany.php#L217
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/Actions/SendVerificationNotification.php#L16
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/SendVerificationNotification.php#L16
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/SendPasswordResetNotification.php#L21
Call to an undefined method Illuminate\Contracts\Auth\PasswordBroker::createToken().
3️⃣ Static Analysis: src/Actions/SendPasswordResetNotification.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/Action.php#L215
Call to an undefined method Illuminate\Database\Eloquent\Model::recordRootEvent().
3️⃣ Static Analysis: src/Actions/Action.php#L137
Anonymous function should return Illuminate\Support\MessageBag but returns Illuminate\Contracts\Support\MessageBag.
4️⃣ Coding Standards: tests/Resources/ResourceTest.php#L0
Found violation(s) of type: blank_line_after_opening_tag
4️⃣ Coding Standards: tests/Resources/ResourceTest.php#L0
Found violation(s) of type: declare_strict_types
4️⃣ Coding Standards: tests/Resources/UserResource.php#L0
Found violation(s) of type: blank_line_after_opening_tag
4️⃣ Coding Standards: tests/Resources/UserResource.php#L0
Found violation(s) of type: declare_strict_types
4️⃣ Coding Standards: tests/app.php#L0
Found violation(s) of type: blank_line_after_opening_tag
4️⃣ Coding Standards: tests/app.php#L0
Found violation(s) of type: declare_strict_types
4️⃣ Coding Standards: tests/Breadcrumbs/RegistryTest.php#L0
Found violation(s) of type: blank_line_after_opening_tag
4️⃣ Coding Standards: tests/Breadcrumbs/RegistryTest.php#L0
Found violation(s) of type: declare_strict_types
4️⃣ Coding Standards: config/root.php#L0
Found violation(s) of type: blank_line_after_opening_tag
4️⃣ Coding Standards: config/root.php#L0
Found violation(s) of type: declare_strict_types