Skip to content

Annotate phpstan findings #1460

Annotate phpstan findings

Annotate phpstan findings #1460

Triggered via pull request October 14, 2023 11:19
Status Success
Total duration 1m 5s
Artifacts

back-end.yml

on: pull_request
1️⃣ Syntax errors
17s
1️⃣ Syntax errors
3️⃣ Static Analysis
30s
3️⃣ Static Analysis
4️⃣ Coding Standards
18s
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#L135
Anonymous function should return Illuminate\Support\MessageBag but returns Illuminate\Contracts\Support\MessageBag.
3️⃣ Static Analysis: src/Conversion/Driver.php#L34
Access to an undefined property Cone\Root\Models\Medium::$disk.
3️⃣ Static Analysis: src/Conversion/Driver.php#L46
Access to an undefined property Cone\Root\Models\Medium::$properties.
3️⃣ Static Analysis: src/Conversion/Driver.php#L47
Access to an undefined property Cone\Root\Models\Medium::$properties.
3️⃣ Static Analysis: src/Fields/BelongsTo.php#L16
Method Cone\Root\Fields\BelongsTo::getRelation() should return Illuminate\Database\Eloquent\Relations\BelongsTo but returns Illuminate\Database\Eloquent\Relations\Relation.
3️⃣ Static Analysis: src/Fields/BelongsToMany.php#L39
Call to an undefined method Illuminate\Database\Eloquent\Relations\Relation::newPivot().
3️⃣ Static Analysis: src/Fields/BelongsToMany.php#L39
Call to an undefined method Illuminate\Database\Eloquent\Relations\Relation::withPivot().
3️⃣ Static Analysis: src/Fields/BelongsToMany.php#L68
Call to an undefined method Cone\Root\Fields\Fields::each().
3️⃣ Static Analysis: src/Fields/Boolean.php#L29
Parameter #1 $key of method Illuminate\Http\Request::boolean() expects string|null, array<int, string> given.
3️⃣ Static Analysis: src/Fields/Boolean.php#L45
Method Cone\Root\Fields\Boolean::resolveValue() overrides method Cone\Root\Fields\Field::resolveValue() but misses parameter #2 $model.