EscolaLMS/Consultations

View on GitHub

Showing 1,011 of 1,011 total issues

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

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

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

        Schema::create('category_consultation', function (Blueprint $table) {

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

            $table->text('short_desc')->nullable();

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

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

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

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

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

            $table->string('logotype_path')->nullable();

Reference to constant class from undeclared class \EscolaLms\Categories\EscolaLmsCategoriesServiceProvider
Open

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

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

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

Call to undeclared function \__()
Open

        $message = $message ?: __('Term is not changed');
Severity: Critical
Found in src/Exceptions/ChangeTermException.php by phan

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

    public function index(ListAPIConsultationsRequest $listConsultationsRequest): JsonResponse;

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

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

Possibly zero references to use statement for classlike/namespace Consultation (\EscolaLms\Consultations\Models\Consultation)
Open

use EscolaLms\Consultations\Models\Consultation;

Call to method in from undeclared class \Illuminate\Validation\Rule
Open

            'status' => ['required', 'string', Rule::in(ConsultationStatusEnum::getValues())],

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

class ConsultationProposedTermResource extends JsonResource

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

                $this->resource->executed_status,

Static call to undeclared method \EscolaLms\Consultations\Http\Resources\ConsultationTermsResource::apply
Open

        return self::apply($fields, $this);

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

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

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

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

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

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

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

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