Skip to content

Add model fields to course model #62

Add model fields to course model

Add model fields to course model #62

Triggered via pull request March 12, 2024 12:16
Status Failure
Total duration 1m 32s
Artifacts

stan.yml

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

Annotations

10 errors and 2 warnings
php82-laravel-latest-phpstan-postgres: src/AuthServiceProvider.php#L21
PHPDoc type array of property EscolaLms\Courses\AuthServiceProvider::$policies is not covariant with PHPDoc type array<class-string, class-string> of overridden property Illuminate\Foundation\Support\Providers\AuthServiceProvider::$policies.
php82-laravel-latest-phpstan-postgres: src/AuthServiceProvider.php#L21
Property EscolaLms\Courses\AuthServiceProvider::$policies type has no value type specified in iterable type array.
php82-laravel-latest-phpstan-postgres: src/AuthServiceProvider.php#L36
Call to an undefined method Illuminate\Contracts\Foundation\Application::routesAreCached().
php82-laravel-latest-phpstan-postgres: src/EscolaLmsCourseServiceProvider.php#L40
Property EscolaLms\Courses\EscolaLmsCourseServiceProvider::$singletons has no type specified.
php82-laravel-latest-phpstan-postgres: src/EscolaLmsCourseServiceProvider.php#L53
Method EscolaLms\Courses\EscolaLmsCourseServiceProvider::boot() has no return type specified.
php82-laravel-latest-phpstan-postgres: src/EscolaLmsCourseServiceProvider.php#L64
Cannot call method aliasMiddleware() on mixed.
php82-laravel-latest-phpstan-postgres: src/Exceptions/TopicException.php#L11
Property EscolaLms\Courses\Exceptions\TopicException::$data type has no value type specified in iterable type array.
php82-laravel-latest-phpstan-postgres: src/Exceptions/TopicException.php#L13
Method EscolaLms\Courses\Exceptions\TopicException::__construct() has parameter $data with no type specified.
php82-laravel-latest-phpstan-postgres: src/Exceptions/TopicException.php#L13
Method EscolaLms\Courses\Exceptions\TopicException::__construct() has parameter $message with no type specified.
php82-laravel-latest-phpstan-postgres: src/Exceptions/TopicException.php#L19
Method EscolaLms\Courses\Exceptions\TopicException::getData() has no return type specified.
php82-laravel-latest-phpstan-postgres
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
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/