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('consultations', function (Blueprint $table) {

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

            $table->dropColumn('calendar_url');

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

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

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

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

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

                $table->dropColumn(['executed_at', 'executed_status']);

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

class ConsultationFactory extends Factory
Severity: Critical
Found in database/factories/ConsultationFactory.php by phan

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

            'status' => $this->faker->randomElement(ConsultationStatusEnum::getValues()),

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

            $table->id();

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

            $table->timestamps();

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

class RemoveMissingColumns extends Migration

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

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

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

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

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

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

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

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

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

            Schema::hasTable('orders') &&

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

                $table->dropColumn(['executed_at', 'executed_status']);

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

            if (Schema::hasTable('orders')) {
Severity
Category
Status
Source
Language