EscolaLMS/Consultations

View on GitHub

Showing 1,011 of 1,011 total issues

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

            'consultation_term_id' => $this->resource->getKey(),

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

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

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

                ConsultationAuthorResource::make($this->resource->user) :

syntax error, unexpected 'string' (T_STRING), expecting function (T_FUNCTION) or const (T_CONST)
Open

    private string $status;
Severity: Critical
Found in src/Jobs/ReminderAboutConsultationJob.php by phan

Possibly zero references to use statement for classlike/namespace CoreUser (\EscolaLms\Core\Models\User)
Open

use EscolaLms\Core\Models\User as CoreUser;
Severity: Minor
Found in src/Models/Consultation.php by phan

Reference to undeclared property \EscolaLms\Consultations\EscolaLmsConsultationsServiceProvider->app
Open

        $this->app->register(AuthServiceProvider::class);

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

    public function approveTerm(int $consultationTermId): JsonResponse;

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

    public function proposedTerms(int $orderItemId): JsonResponse;

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

    public function schedule(int $id, ScheduleConsultationRequest $scheduleConsultationRequest): JsonResponse;

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

        return Gate::allows('read', $this->getConsultation());

Class uses undeclared trait \EscolaLms\Auth\Traits\ResourceExtandable
Open

class ConsultationAuthorResource extends JsonResource

Class uses undeclared trait \EscolaLms\Auth\Traits\ResourceExtandable
Open

class ConsultationTermResource extends JsonResource

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

        return is_string($this->resource) ? Carbon::make($this->resource) : $this->resource;

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

                $this->resource->consultation->getDuration()

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

            $table->unsignedBigInteger('consultation_id');

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

class AddShortDescInConsultationsTable extends Migration

Class extends undeclared class \BenSampo\Enum\Enum
Open

class ConstantEnum extends Enum
Severity: Critical
Found in src/Enum/ConstantEnum.php by phan

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

            $table->id();

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

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

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

            $table->bigInteger('consultation_id')->unsigned()->nullable();
Severity
Category
Status
Source
Language