Skip to content

Added phpstan

Added phpstan #1

Triggered via pull request July 19, 2024 12:04
Status Failure
Total duration 1m 25s
Artifacts

phpstan.yml

on: pull_request
php82-laravel-latest-phpstan-postgres
1m 16s
php82-laravel-latest-phpstan-postgres
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
php82-laravel-latest-phpstan-postgres: src/Exceptions/StationaryEventNotFoundException.php#L8
Parameter $previous of method EscolaLms\StationaryEvents\Exceptions\StationaryEventNotFoundException::__construct() has invalid type EscolaLms\StationaryEvents\Exceptions\Throwable.
php82-laravel-latest-phpstan-postgres: src/Exceptions/StationaryEventNotFoundException.php#L10
Parameter #2 $previous of method Symfony\Component\HttpKernel\Exception\UnprocessableEntityHttpException::__construct() expects Throwable|null, EscolaLms\StationaryEvents\Exceptions\Throwable|null given.
php82-laravel-latest-phpstan-postgres: src/Http/Resources/StationaryEventAdminResource.php#L10
Access to an undefined property EscolaLms\StationaryEvents\Http\Resources\StationaryEventAdminResource::$users.
php82-laravel-latest-phpstan-postgres: src/Http/Resources/StationaryEventResource.php#L16
Access to an undefined property EscolaLms\StationaryEvents\Http\Resources\StationaryEventResource::$id.
php82-laravel-latest-phpstan-postgres: src/Http/Resources/StationaryEventResource.php#L17
Access to an undefined property EscolaLms\StationaryEvents\Http\Resources\StationaryEventResource::$created_at.
php82-laravel-latest-phpstan-postgres: src/Http/Resources/StationaryEventResource.php#L18
Access to an undefined property EscolaLms\StationaryEvents\Http\Resources\StationaryEventResource::$updated_at.
php82-laravel-latest-phpstan-postgres: src/Http/Resources/StationaryEventResource.php#L19
Access to an undefined property EscolaLms\StationaryEvents\Http\Resources\StationaryEventResource::$name.
php82-laravel-latest-phpstan-postgres: src/Http/Resources/StationaryEventResource.php#L20
Access to an undefined property EscolaLms\StationaryEvents\Http\Resources\StationaryEventResource::$description.
php82-laravel-latest-phpstan-postgres: src/Http/Resources/StationaryEventResource.php#L21
Access to an undefined property EscolaLms\StationaryEvents\Http\Resources\StationaryEventResource::$short_desc.
php82-laravel-latest-phpstan-postgres: src/Http/Resources/StationaryEventResource.php#L22
Access to an undefined property EscolaLms\StationaryEvents\Http\Resources\StationaryEventResource::$started_at.
php82-laravel-latest-phpstan-postgres
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
php82-laravel-latest-phpstan-postgres
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/