EscolaLMS/Consultations

View on GitHub

Showing 1,241 of 1,241 total issues

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

            $table->foreign('user_id')->references('id')->on('users')->onDelete('SET NULL');

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

            $table->foreign('consultation_id')->references('id')->on('consultations')->onDelete('CASCADE');

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

            $table->unsignedBigInteger('user_id');

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

            $table->renameColumn('active_to', 'finished_at');

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

            $table->unsignedBigInteger('consultation_id');

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

            $table->foreign('consultation_id')->references('id')->on('consultations')->onDelete('cascade');

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

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

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

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

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

        Schema::dropIfExists('consultation_terms');

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

            $table->unique(['user_id', 'consultation_id'], 'consultation_user_unique');

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

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

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

            $table->dropColumn('logotype_path');

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

            if (Schema::hasTable('orders')) {

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

            if (Schema::hasTable('products')) {

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

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

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

            $table->id();

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

            $table->foreign('user_id')->on('users')->references('id');

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

            $table->foreignId('consultation_user_id')->references('id')->on('consultation_user')->onDelete('cascade');

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

            $table->string('reminder_status', 30)->nullable();

Reference to constant TUTOR from undeclared class \EscolaLms\Core\Enums\UserRole
Open

        $tutor = Role::findOrCreate(UserRole::TUTOR, 'api');
Severity
Category
Status
Source
Language