Skip to content

Added consultation_user_terms table #14

Added consultation_user_terms table

Added consultation_user_terms table #14

Triggered via pull request November 5, 2024 12:39
Status Failure
Total duration 1m 30s
Artifacts

phpstan.yml

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

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#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/