Skip to content

fix: change role name for author data #113

fix: change role name for author data

fix: change role name for author data #113

Triggered via push December 7, 2024 16:18
Status Failure
Total duration 41s
Artifacts

phpstan.yml

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

Annotations

23 errors and 1 warning
PHPStan - P8.2: src/Enums/StatusEnum.php#L12
Class CSlant\Blog\Api\Enums\StatusEnum extends unknown class Botble\Base\Supports\Enum.
PHPStan - P8.2: src/Http/Controllers/PostController.php#L21
Method CSlant\Blog\Api\Http\Controllers\PostController::index() has invalid return type Botble\Base\Http\Responses\BaseHttpResponse.
PHPStan - P8.2: src/Http/Controllers/PostController.php#L23
Access to an undefined property CSlant\Blog\Api\Http\Controllers\PostController::$postRepository.
PHPStan - P8.2: src/Http/Controllers/PostController.php#L33
Call to an undefined method CSlant\Blog\Api\Http\Controllers\PostController::httpResponse().
PHPStan - P8.2: src/Http/Controllers/PostController.php#L35
Call to an undefined static method CSlant\Blog\Api\Http\Resources\ListPostResource::collection().
PHPStan - P8.2: src/Http/Resources/AuthorResource.php#L12
PHPDoc tag @mixin contains unknown class Botble\Blog\Models\Category.
PHPStan - P8.2: src/Http/Resources/AuthorResource.php#L15
Method CSlant\Blog\Api\Http\Resources\AuthorResource::toArray() return type has no value type specified in iterable type array.
PHPStan - P8.2: src/Http/Resources/AuthorResource.php#L19
Access to an undefined property CSlant\Blog\Core\Models\User::$roles.
PHPStan - P8.2: src/Http/Resources/AuthorResource.php#L22
Access to an undefined property CSlant\Blog\Core\Models\User::$id.
PHPStan - P8.2: src/Http/Resources/AuthorResource.php#L23
Access to an undefined property CSlant\Blog\Core\Models\User::$first_name.
PHPStan - P8.3
The job was canceled because "ubuntu-latest_8_2" failed.
PHPStan - P8.3: src/Enums/StatusEnum.php#L12
Class CSlant\Blog\Api\Enums\StatusEnum extends unknown class Botble\Base\Supports\Enum.
PHPStan - P8.3: src/Http/Controllers/PostController.php#L21
Method CSlant\Blog\Api\Http\Controllers\PostController::index() has invalid return type Botble\Base\Http\Responses\BaseHttpResponse.
PHPStan - P8.3: src/Http/Controllers/PostController.php#L23
Access to an undefined property CSlant\Blog\Api\Http\Controllers\PostController::$postRepository.
PHPStan - P8.3: src/Http/Controllers/PostController.php#L33
Call to an undefined method CSlant\Blog\Api\Http\Controllers\PostController::httpResponse().
PHPStan - P8.3: src/Http/Controllers/PostController.php#L35
Call to an undefined static method CSlant\Blog\Api\Http\Resources\ListPostResource::collection().
PHPStan - P8.3: src/Http/Resources/AuthorResource.php#L12
PHPDoc tag @mixin contains unknown class Botble\Blog\Models\Category.
PHPStan - P8.3: src/Http/Resources/AuthorResource.php#L15
Method CSlant\Blog\Api\Http\Resources\AuthorResource::toArray() return type has no value type specified in iterable type array.
PHPStan - P8.3: src/Http/Resources/AuthorResource.php#L19
Access to an undefined property CSlant\Blog\Core\Models\User::$roles.
PHPStan - P8.3: src/Http/Resources/AuthorResource.php#L22
Access to an undefined property CSlant\Blog\Core\Models\User::$id.
PHPStan - P8.3: src/Http/Resources/AuthorResource.php#L23
Access to an undefined property CSlant\Blog\Core\Models\User::$first_name.
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