Skip to content

Prepare PHPStan

Prepare PHPStan #1666

Triggered via pull request January 17, 2024 18:23
Status Success
Total duration 1m 54s
Artifacts

back-end.yml

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

Annotations

10 errors
3️⃣ Static Analysis: src/Actions/Action.php#L113
Anonymous function should return Illuminate\Support\MessageBag but returns Illuminate\Contracts\Support\MessageBag.
3️⃣ Static Analysis: src/Actions/Actions.php#L31
Method Cone\Root\Actions\Actions::authorized() should return static(Cone\Root\Actions\Actions) but returns Cone\Root\Actions\Actions.
3️⃣ Static Analysis: src/Actions/Actions.php#L39
Method Cone\Root\Actions\Actions::visible() should return static(Cone\Root\Actions\Actions) but returns Cone\Root\Actions\Actions.
3️⃣ Static Analysis: src/Fields/BelongsToMany.php#L203
Parameter #1 $model of method Cone\Root\Fields\BelongsToMany<TRelation of Illuminate\Database\Eloquent\Relations\BelongsToMany>::getRelation() expects Illuminate\Database\Eloquent\Model, string given.
3️⃣ Static Analysis: src/Fields/Fields.php#L43
Method Cone\Root\Fields\Fields::authorized() should return static(Cone\Root\Fields\Fields) but returns Cone\Root\Fields\Fields.
3️⃣ Static Analysis: src/Fields/Fields.php#L51
Method Cone\Root\Fields\Fields::visible() should return static(Cone\Root\Fields\Fields) but returns Cone\Root\Fields\Fields.
3️⃣ Static Analysis: src/Fields/Fields.php#L59
Method Cone\Root\Fields\Fields::searchable() should return static(Cone\Root\Fields\Fields) but returns Cone\Root\Fields\Fields.
3️⃣ Static Analysis: src/Fields/Fields.php#L67
Method Cone\Root\Fields\Fields::sortable() should return static(Cone\Root\Fields\Fields) but returns Cone\Root\Fields\Fields.
3️⃣ Static Analysis: src/Fields/Relation.php#L366
Anonymous function should return Illuminate\Support\MessageBag but returns Illuminate\Contracts\Support\MessageBag.
3️⃣ Static Analysis: src/Fields/Relation.php#L563
Call to an undefined method TRelation of Illuminate\Database\Eloquent\Relations\Relation::findOrFail().