EscolaLMS/Consultations

View on GitHub

Showing 1,241 of 1,241 total issues

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

            $table->dropColumn('image_path');

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

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

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

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

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

            $table->bigInteger('user_id')->unsigned();

Call to method findOrCreate from undeclared class \Spatie\Permission\Models\Permission
Open

        Permission::findOrCreate(ConsultationsPermissionsEnum::CONSULTATION_CHANGE_TERM, 'api');

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

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

Reference to undeclared property \EscolaLms\Consultations\Database\Factories\ConsultationFactory->faker
Open

            'name' => $this->faker->sentence(10),

Class extends undeclared class \Illuminate\Database\Eloquent\Factories\Factory
Open

class ConsultationUserFactory extends Factory

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

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

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

            $table->string('status')->default(ConsultationStatusEnum::DRAFT);

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

            $table->dateTime('started_at')->nullable();

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

            Schema::hasColumns('orders', ['executed_at', 'executed_status'])

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();

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

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

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

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

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

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

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

                $table->foreign('order_item_id')->on('order_items')->references('id')->cascadeOnDelete();

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

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

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

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