EscolaLMS/Consultations

View on GitHub

Showing 1,241 of 1,241 total issues

Return type of assignableUsers() is undeclared type \Illuminate\Http\JsonResponse
Open

    public function assignableUsers(ConsultationAssignableUserListRequest $request): JsonResponse;

Call to method allows from undeclared class \Illuminate\Support\Facades\Gate
Open

        return Gate::allows('list', Consultation::class);

Class extends undeclared class \Illuminate\Http\Resources\Json\JsonResource
Open

class ConsultationProposedTermResource extends JsonResource

syntax error, unexpected '...' (T_ELLIPSIS), expecting ']'
Open

            ...ModelFields::getExtraAttributesValues($this->resource, MetaFieldVisibilityEnum::PUBLIC)

Reference to undeclared property \EscolaLms\Consultations\Http\Resources\ConsultationTermsResource->resource
Open

            'status' => $this->resource->executed_status ?? '',

Reference to undeclared property \EscolaLms\Consultations\Http\Resources\ConsultationTermsResource->resource
Open

            'busy_terms' => ConsultationTermResource::collection($consultationServiceContract->getBusyTermsFormatDate($this->resource->consultation_id)),

Static call to undeclared method \EscolaLms\Consultations\Http\Resources\ConsultationTermResource::collection
Open

            'busy_terms' => ConsultationTermResource::collection($consultationServiceContract->getBusyTermsFormatDate($this->resource->consultation_id)),

Reference to undeclared property \EscolaLms\Consultations\Http\Resources\ConsultationUserResource->resource
Open

            'path_avatar' => $this->resource->pathAvatar,

Reference to undeclared property \EscolaLms\Consultations\Http\Resources\ConsultationUserResource->resource
Open

            'postcode' => $this->resource->postcode,

Reference to undeclared property \EscolaLms\Consultations\Http\Resources\ConsultationUserResource->resource
Open

            'current_timezone' => $this->resource->currentTimezone,

Call to method make from undeclared class \Illuminate\Support\Carbon
Open

            'date' => Carbon::make($this->resource->executed_at) ?? '',

Return type of terms() is undeclared type \Illuminate\Database\Eloquent\Relations\HasMany
Open

    public function terms(): HasMany
Severity: Minor
Found in src/Models/Consultation.php by phan

Reference to undeclared property \EscolaLms\Consultations\Models\Consultation->attributes
Open

        if ($this->attributes['logotype_path'] ?? null) {
Severity: Minor
Found in src/Models/Consultation.php by phan

Static call to undeclared method \EscolaLms\Consultations\Database\Factories\ConsultationProposedTermFactory::new
Open

        return ConsultationProposedTermFactory::new();
Severity: Critical
Found in src/Models/ConsultationProposedTerm.php by phan

Return type of user() is undeclared type \Illuminate\Database\Eloquent\Relations\BelongsTo
Open

    public function user(): BelongsTo
Severity: Minor
Found in src/Models/ConsultationUserPivot.php by phan

Parameter $table has undeclared type \Illuminate\Database\Schema\Blueprint
Open

        Schema::table('consultation_user', function (Blueprint $table) {

Call to method dropColumn from undeclared class \Illuminate\Database\Schema\Blueprint
Open

            $table->dropColumn('reminder_status');

Class extends undeclared class \Illuminate\Database\Migrations\Migration
Open

class RemoveUniqueIndexInConsultaionUserTable extends Migration

Class extends undeclared class \Illuminate\Database\Migrations\Migration
Open

class CreateLogotypeColumnInConsultationsTable extends Migration

Call to method table from undeclared class \Illuminate\Support\Facades\Schema
Open

        Schema::table('consultations', function (Blueprint $table) {
Severity
Category
Status
Source
Language