Added consultation_user_terms table #15
phpstan.yml
on: pull_request
php82-laravel-latest-phpstan-postgres
1m 25s
Annotations
10 errors and 2 warnings
php82-laravel-latest-phpstan-postgres:
src/Models/ConsultationUserPivot.php#L23
PHPDoc tag @Property has invalid value (@deprecated Carbon $executed_at): Unexpected token "@deprecated", expected type at offset 120
|
php82-laravel-latest-phpstan-postgres:
src/Models/ConsultationUserPivot.php#L23
PHPDoc tag @Property has invalid value (@deprecated ConsultationTermReminderStatusEnum $reminder_status): Unexpected token "@deprecated", expected type at offset 165
|
php82-laravel-latest-phpstan-postgres:
src/Models/ConsultationUserPivot.php#L23
PHPDoc tag @Property has invalid value (@deprecated ConsultationTermStatusEnum $executed_status): Unexpected token "@deprecated", expected type at offset 242
|
php82-laravel-latest-phpstan-postgres:
src/Models/ConsultationUserPivot.php#L54
Access to an undefined property EscolaLms\Consultations\Models\ConsultationUserPivot::$executed_status.
|
php82-laravel-latest-phpstan-postgres:
src/Models/ConsultationUserPivot.php#L62
Access to an undefined property EscolaLms\Consultations\Models\ConsultationUserPivot::$executed_status.
|
php82-laravel-latest-phpstan-postgres:
src/Repositories/ConsultationUserTermRepository.php#L88
Method EscolaLms\Consultations\Repositories\ConsultationUserTermRepository::getBusyTerms() should return Illuminate\Database\Eloquent\Collection<int, EscolaLms\Consultations\Models\ConsultationUserTerm> but returns Illuminate\Database\Eloquent\Collection<int, Illuminate\Database\Eloquent\Model>.
|
php82-laravel-latest-phpstan-postgres:
src/Repositories/ConsultationUserTermRepository.php#L101
Method EscolaLms\Consultations\Repositories\ConsultationUserTermRepository::getUserTermByConsultationUserIdAndExecutedAt() should return EscolaLms\Consultations\Models\ConsultationUserTerm but returns Illuminate\Database\Eloquent\Model.
|
php82-laravel-latest-phpstan-postgres:
src/Repositories/ConsultationUserTermRepository.php#L127
Strict comparison using === between Illuminate\Support\Carbon and string will always evaluate to false.
|
php82-laravel-latest-phpstan-postgres:
src/Services/ConsultationService.php#L431
If condition is always true.
|
php82-laravel-latest-phpstan-postgres:
src/Services/ConsultationService.php#L593
Parameter #1 $models of method EscolaLms\Consultations\Repositories\Contracts\ConsultationUserTermRepositoryContract::updateModels() expects Illuminate\Database\Eloquent\Collection, Illuminate\Support\Collection given.
|
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 use a deprecated Node.js version 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/
|