EscolaLMS/Consultations

View on GitHub

Showing 1,241 of 1,241 total issues

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

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

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

            $table->foreign('teacher_id')->references('id')->on('users')->onDelete('CASCADE');

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

            'proposed_at' => $this->faker->dateTimeBetween($consultation->active_from, $consultation->active_to),

Static call to undeclared method \EscolaLms\Consultations\Enum\ConsultationTermStatusEnum::getValues
Open

            'executed_status' => $this->faker->randomElement(ConsultationTermStatusEnum::getValues()),

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

class AddMissingsColumnToConsultationsTable extends Migration

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

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

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

            $table->dropColumn('duration');

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

            $table->timestamps();

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

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

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

            $table->dateTime('proposed_at');

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

class AddTableRelationsUsersConsultations extends Migration

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

            $table->timestamps();

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

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

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

return new class extends Migration

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

        $admin = Role::findOrCreate(UserRole::ADMIN, 'api');

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

            $table->string('status')->default(null)->nullable();

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

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

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

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

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

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

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

            $table->id();
Severity
Category
Status
Source
Language