Annotate phpstan findings #1460
back-end.yml
on: pull_request
1️⃣ Syntax errors
17s
Matrix: 2️⃣ Unit and functional tests
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.
|