Prepare PHPStan #1482
back-end.yml
on: pull_request
1️⃣ Syntax errors
9s
Matrix: 2️⃣ Unit and functional tests
Annotations
10 errors
3️⃣ Static Analysis:
src/Fields/File.php#L159
Call to an undefined method Illuminate\Foundation\Auth\User::uploads().
|
3️⃣ Static Analysis:
src/Fields/Meta.php#L28
Call to an undefined method Illuminate\Database\Eloquent\Model::metaData().
|
3️⃣ Static Analysis:
src/Fields/Meta.php#L30
Call to an undefined method Illuminate\Database\Eloquent\Model::metaData().
|
3️⃣ Static Analysis:
src/Fields/Meta.php#L66
Method Cone\Root\Fields\Meta::resolveValue() invoked with 1 parameter, 2 required.
|
3️⃣ Static Analysis:
src/Fields/Meta.php#L251
Call to an undefined method Cone\Root\Fields\Field::render().
|
3️⃣ Static Analysis:
src/Fields/Slug.php#L137
Class Cone\Root\Fields\SoftDeletes not found.
|
3️⃣ Static Analysis:
src/Fields/Slug.php#L155
Parameter #2 $replace of function str_replace expects array|string, int given.
|
3️⃣ Static Analysis:
src/Filters/Filters.php#L63
Method Cone\Root\Filters\Filters::active() should return static(Cone\Root\Filters\Filters) but returns Cone\Root\Filters\Filters.
|
3️⃣ Static Analysis:
src/Http/Controllers/ActionController.php#L18
Cannot call method authorized() on object|string.
|
3️⃣ Static Analysis:
src/Http/Controllers/ActionController.php#L20
Cannot call method perform() on object|string.
|