Skip to content

fix CI

fix CI #6

Status Failure
Total duration 28s
Artifacts

laravel-ci.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
phpstan: app/Http/Controllers/BookController.php#L22
Parameter #2 $default of method Illuminate\Http\Request::query() expects array|string|null, int given.
phpstan: app/Http/Controllers/BookController.php#L26
Parameter #1 $perPage of method App\Services\BookService::getAllBooks() expects int, array|string|null given.
phpstan: app/Http/Resources/BookResource.php#L18
Access to an undefined property App\Http\Resources\BookResource::$id.
phpstan: app/Http/Resources/BookResource.php#L19
Access to an undefined property App\Http\Resources\BookResource::$book_number.
phpstan: app/Http/Resources/BookResource.php#L20
Access to an undefined property App\Http\Resources\BookResource::$slug.
phpstan: app/Http/Resources/BookResource.php#L21
Access to an undefined property App\Http\Resources\BookResource::$title.
phpstan: app/Http/Resources/BookResource.php#L22
Access to an undefined property App\Http\Resources\BookResource::$author.
phpstan: app/Http/Resources/BookResource.php#L23
Access to an undefined property App\Http\Resources\BookResource::$description.
phpstan: app/Http/Resources/BookResource.php#L24
Access to an undefined property App\Http\Resources\BookResource::$created_at.
phpstan: app/Http/Resources/BookResource.php#L25
Access to an undefined property App\Http\Resources\BookResource::$updated_at.
phpstan
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
phpstan
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.