Skip to content

fix: code analyse

fix: code analyse #117

Triggered via push December 8, 2024 02:36
Status Failure
Total duration 37s
Artifacts

phpstan.yml

on: push
Matrix: phpstan
Fit to window
Zoom out
Zoom in

Annotations

19 errors and 1 warning
PHPStan - P8.2: src/Http/Controllers/PostController.php#L37
Access to an undefined property CSlant\Blog\Api\Http\Controllers\PostController::$postRepository.
PHPStan - P8.2: src/Http/Controllers/PostController.php#L48
Call to an undefined method CSlant\Blog\Core\Http\Responses\Base\BaseHttpResponse::toApiResponse().
PHPStan - P8.2: src/Http/Controllers/PostController.php#L50
Call to an undefined static method CSlant\Blog\Api\Http\Resources\ListPostResource::collection().
PHPStan - P8.2: src/Http/Resources/ListPostResource.php#L13
Class CSlant\Blog\Api\Http\Resources\ListPostResource extends unknown class Botble\Blog\Http\Resources\ListPostResource.
PHPStan - P8.2: src/Http/Resources/ListPostResource.php#L20
Method CSlant\Blog\Api\Http\Resources\ListPostResource::toArray() has parameter $request with no type specified.
PHPStan - P8.2: src/Http/Resources/ListPostResource.php#L29
Call to static method url() on an unknown class Botble\Media\Facades\RvMedia.
PHPStan - P8.2: src/Http/Resources/ListPostResource.php#L31
Call to static method collection() on an unknown class Botble\Blog\Http\Resources\TagResource.
PHPStan - P8.2
Process completed with exit code 1.
PHPStan - P8.3
The job was canceled because "ubuntu-latest_8_2" failed.
PHPStan - P8.3: src/Http/Controllers/PostController.php#L37
Access to an undefined property CSlant\Blog\Api\Http\Controllers\PostController::$postRepository.
PHPStan - P8.3: src/Http/Controllers/PostController.php#L48
Call to an undefined method CSlant\Blog\Core\Http\Responses\Base\BaseHttpResponse::toApiResponse().
PHPStan - P8.3: src/Http/Controllers/PostController.php#L50
Call to an undefined static method CSlant\Blog\Api\Http\Resources\ListPostResource::collection().
PHPStan - P8.3: src/Http/Resources/ListPostResource.php#L13
Class CSlant\Blog\Api\Http\Resources\ListPostResource extends unknown class Botble\Blog\Http\Resources\ListPostResource.
PHPStan - P8.3: src/Http/Resources/ListPostResource.php#L20
Method CSlant\Blog\Api\Http\Resources\ListPostResource::toArray() has parameter $request with no type specified.
PHPStan - P8.3: src/Http/Resources/ListPostResource.php#L29
Call to static method url() on an unknown class Botble\Media\Facades\RvMedia.
PHPStan - P8.3: src/Http/Resources/ListPostResource.php#L31
Call to static method collection() on an unknown class Botble\Blog\Http\Resources\TagResource.
PHPStan - P8.3
The operation was canceled.
PHPStan - P8.1
The job was canceled because "ubuntu-latest_8_2" failed.
PHPStan - P8.1
The operation was canceled.
PHPStan - P8.2
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636