EscolaLMS/Consultations

View on GitHub

Showing 1,241 of 1,241 total issues

Call to method in from undeclared class \Illuminate\Validation\Rule
Open

            'status' => ['required', 'string', Rule::in(ConsultationStatusEnum::getValues())],

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

            $table->dropColumn('duration');

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

class AddColumnImagePathForConsultationsTable extends Migration

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

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

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

        Schema::dropIfExists('category_consultation');

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

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

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

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

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

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

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

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

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

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

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

            $table->unsignedInteger('max_session_students')->default(1);

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

return new class extends Migration

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

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

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

    private ?int $author = null;

Call to undeclared method \EscolaLms\Consultations\AuthServiceProvider::registerPolicies
Open

        $this->registerPolicies();
Severity: Critical
Found in src/AuthServiceProvider.php by phan

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

    public ?int $id = null;
Severity: Critical
Found in src/Dto/ConsultationUserResourceDto.php by phan

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

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

Reference to constant class from undeclared class \EscolaLms\Consultations\Repositories\ConsultationUserTermRepository
Open

        ConsultationUserTermRepositoryContract::class => ConsultationUserTermRepository::class,

Call to undeclared method \EscolaLms\Consultations\EscolaLmsConsultationsServiceProvider::publishes
Open

        $this->publishes([

Call to undeclared function \config_path()
Open

            __DIR__ . '/config.php' => config_path('config.php'),
Severity
Category
Status
Source
Language