Prepare PHPStan #1489
back-end.yml
on: pull_request
1️⃣ Syntax errors
10s
Matrix: 2️⃣ Unit and functional tests
Annotations
10 errors
3️⃣ Static Analysis:
src/Fields/Fields.php#L64
Call to an undefined method Cone\Root\Fields\Field::registerRoutes().
|
3️⃣ Static Analysis:
src/Fields/File.php#L151
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/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#L21
Method Cone\Root\Http\Controllers\ActionController::__invoke() should return Illuminate\Http\RedirectResponse but returns Symfony\Component\HttpFoundation\Response.
|
3️⃣ Static Analysis:
src/Http/Controllers/MediaController.php#L23
Cannot call method resolveRouteBinding() on object|string.
|
3️⃣ Static Analysis:
src/Http/Controllers/MediaController.php#L24
Cannot call method getModelInstance() on object|string.
|