EscolaLMS/Consultations

View on GitHub

Showing 1,011 of 1,011 total issues

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

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

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

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

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

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

Call to method findOrCreate from undeclared class \Spatie\Permission\Models\Permission
Open

        Permission::findOrCreate(ConsultationsPermissionsEnum::CONSULTATION_READ_OWN, 'api');

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

    private array $status;
Severity: Critical
Found in src/Dto/FilterConsultationTermsListDto.php by phan

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

            'short_desc' => $this->faker->sentence,

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

class CreateConsultationsTable extends Migration

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

            $table->integer('base_price')->nullable();

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

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

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

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

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

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

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

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

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

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

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

            $table->id();

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

            $table->dropColumn('logotype_path');

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

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

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

return new class extends Migration

syntax error, unexpected 'string' (T_STRING), expecting function (T_FUNCTION) or const (T_CONST)
Open

    protected string $name;
Severity: Critical
Found in src/Dto/ConsultationDto.php by phan

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

            'status' => $this->faker->randomElement(ConsultationStatusEnum::getValues()),
Severity: Critical
Found in database/factories/ConsultationFactory.php by phan

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

class ConsultationUserFactory extends Factory
Severity
Category
Status
Source
Language