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 table from undeclared class \Illuminate\Support\Facades\Schema
Open

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

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

            $table->dropColumn('duration');

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

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

Call to method role from undeclared class \EscolaLms\Auth\Models\User (Did you mean class \EscolaLms\Consultations\Models\User)
Open

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

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

class ConsultationProposedTermFactory extends Factory

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

            $table->bigInteger('author_id')->unsigned()->nullable();

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

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

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

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

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

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

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

class AddPivotTableForOrderItemsAndUser extends Migration

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

            Schema::hasTable('orders') &&

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

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

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

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

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

        Schema::dropIfExists('consultations_participants');

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

            $table->timestamps();

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

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

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

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

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

            $table->text('description');

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

            $table->text('calendar_url')->nullable();
Severity
Category
Status
Source
Language