EscolaLMS/Consultations

View on GitHub

Showing 1,011 of 1,011 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('short_desc');

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

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

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('user_id')->references('id')->on('users')->onDelete('cascade');

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

class ChangeColumnsInConsultationuserTable extends Migration

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

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

Call to method connection from undeclared class \DB
Open

        if (DB::connection() instanceof MySqlConnection) {

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

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

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

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

syntax error, unexpected 'array' (T_ARRAY), expecting function (T_FUNCTION) or const (T_CONST)
Open

    protected array $relations = [];
Severity: Critical
Found in src/Dto/Traits/DtoHelper.php by phan

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

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

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

            Schema::hasTable('orders') &&

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

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

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

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

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

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

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

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

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

class AddTableRelationsUsersConsultations extends Migration

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

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

Checking instanceof against undeclared class \Illuminate\Database\MySqlConnection
Open

        if (DB::connection() instanceof MySqlConnection) {
Severity
Category
Status
Source
Language