Skip to content

Prepare PHPStan

Prepare PHPStan #1489

Triggered via pull request October 25, 2023 01:25
Status Success
Total duration 1m 8s
Artifacts

back-end.yml

on: pull_request
1️⃣ Syntax errors
10s
1️⃣ Syntax errors
3️⃣ Static Analysis
38s
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/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.