EscolaLMS/Consultations

View on GitHub

Showing 1,011 of 1,011 total issues

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

            $table->dropColumn('calendar_url');

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

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

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

        Schema::dropIfExists('consultations_participants');

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 dropColumn from undeclared class \Illuminate\Database\Schema\Blueprint
Open

            $table->dropColumn('duration');

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 unsignedInteger from undeclared class \Illuminate\Database\Schema\Blueprint
Open

            $table->unsignedInteger('category_id');

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

        Schema::dropIfExists('consultation_user');

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

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

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

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

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

class RemoveUniqueIndexInConsultaionUserTable extends Migration

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

            $table->dropColumn('base_price');

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

            $table->dropColumn('max_session_students');

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

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

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

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

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

        $tutor = Role::findOrCreate(UserRole::TUTOR, 'api');

Return type of model() is undeclared type \Illuminate\Database\Eloquent\Model
Open

    public function model(): Model;
Severity: Minor
Found in src/Dto/Contracts/ModelDtoContract.php by phan

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

        $tutor = User::role(UserRole::TUTOR)->inRandomOrder()->first();
Severity: Critical
Found in database/factories/ConsultationFactory.php by phan
Severity
Category
Status
Source
Language