Skip to content

Added phpstan

Added phpstan #2

Triggered via pull request July 19, 2024 06:42
Status Failure
Total duration 1m 41s
Artifacts

phpstan.yml

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

Annotations

10 errors and 2 warnings
php82-laravel-latest-phpstan-postgres: src/Http/Controllers/QuestionnaireApiController.php#L41
Call to an undefined method EscolaLms\Core\Dtos\Contracts\InstantiateFromRequest::toArray().
php82-laravel-latest-phpstan-postgres: src/Http/Controllers/QuestionnaireApiController.php#L106
Call to an undefined method EscolaLms\Core\Dtos\Contracts\InstantiateFromRequest::toArray().
php82-laravel-latest-phpstan-postgres: src/Http/Controllers/QuestionnaireApiController.php#L115
Call to an undefined method EscolaLms\Core\Dtos\Contracts\InstantiateFromRequest::toArray().
php82-laravel-latest-phpstan-postgres: src/Http/Requests/QuestionAnswerVisibilityRequest.php#L37
Method EscolaLms\Questionnaire\Http\Requests\QuestionAnswerVisibilityRequest::getQuestionAnswerId() should return int|null but returns object|string|null.
php82-laravel-latest-phpstan-postgres: src/Http/Requests/QuestionAnswersFrontReadRequest.php#L57
Method EscolaLms\Questionnaire\Http\Requests\QuestionAnswersFrontReadRequest::getParamId() should return int but returns object|string|null.
php82-laravel-latest-phpstan-postgres: src/Http/Requests/QuestionAnswersFrontReadRequest.php#L67
Method EscolaLms\Questionnaire\Http\Requests\QuestionAnswersFrontReadRequest::getParamModelId() should return int but returns object|string|null.
php82-laravel-latest-phpstan-postgres: src/Http/Requests/QuestionAnswersFrontStarsRequest.php#L54
Method EscolaLms\Questionnaire\Http\Requests\QuestionAnswersFrontStarsRequest::getParamId() should return int but returns object|string|null.
php82-laravel-latest-phpstan-postgres: src/Http/Requests/QuestionAnswersFrontStarsRequest.php#L64
Method EscolaLms\Questionnaire\Http\Requests\QuestionAnswersFrontStarsRequest::getParamModelId() should return int but returns object|string|null.
php82-laravel-latest-phpstan-postgres: src/Http/Requests/QuestionDeleteRequest.php#L38
Method EscolaLms\Questionnaire\Http\Requests\QuestionDeleteRequest::getParamId() should return int but returns object|string|null.
php82-laravel-latest-phpstan-postgres: src/Http/Requests/QuestionReadRequest.php#L38
Method EscolaLms\Questionnaire\Http\Requests\QuestionReadRequest::getParamId() should return int but returns object|string|null.
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/