Change phpstan to larastan #45
Annotations
10 errors and 1 warning
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.
|
src/AuthServiceProvider.php#L37
Call to an undefined static method Laravel\Passport\Passport::routes().
|
src/Http/Controllers/CourseAPIController.php#L43
Property EscolaLms\Courses\Http\Controllers\CourseAPIController::$courseRepository (EscolaLms\Courses\Repositories\CourseRepository) does not accept EscolaLms\Courses\Repositories\Contracts\CourseRepositoryContract.
|
src/Http/Controllers/CourseAPIController.php#L114
Access to an undefined property Illuminate\Database\Eloquent\Model::$is_active.
|
src/Http/Controllers/CourseAPIController.php#L120
Call to an undefined method Illuminate\Database\Eloquent\Model::hasUser().
|
src/Http/Controllers/CourseAPIController.php#L141
Variable $course in empty() always exists and is not falsy.
|
src/Http/Controllers/CourseProgressAPIController.php#L68
Access to an undefined property EscolaLms\Courses\Models\Course::$status.
|
src/Http/Controllers/CourseProgressAPIController.php#L83
Access to an undefined property EscolaLms\Courses\Models\Course::$status.
|
src/Http/Controllers/CourseProgressAPIController.php#L100
Access to an undefined property EscolaLms\Courses\Models\Course::$status.
|
src/Http/Controllers/LessonAPIController.php#L73
Variable $lesson in empty() always exists and is not falsy.
|
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/
|
The logs for this run have expired and are no longer available.
Loading