EscolaLMS/Consultations

View on GitHub

Showing 1,241 of 1,241 total issues

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

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

Class uses undeclared trait \EscolaLms\Consultations\Dto\Traits\DtoHelper
Open

abstract class BaseDto
Severity: Critical
Found in src/Dto/BaseDto.php by phan

Reference to undeclared property \EscolaLms\Consultations\EscolaLmsConsultationsServiceProvider->app
Open

        $this->app->register(EscolaLmsAuthServiceProvider::class);

Class extends undeclared class \EscolaLms\Consultations\Events\ConsultationTerm
Open

class ApprovedTerm extends ConsultationTerm
Severity: Critical
Found in src/Events/ApprovedTerm.php by phan

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

class CreateConsultationProposedTermsTale extends Migration

Class extends undeclared class \EscolaLms\Consultations\Events\ConsultationTerm
Open

class ApprovedTermWithTrainer extends ConsultationTerm
Severity: Critical
Found in src/Events/ApprovedTermWithTrainer.php by phan

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

            $table->unsignedBigInteger('consultation_id');

Return type of schedule() is undeclared type \Illuminate\Http\JsonResponse
Open

    public function schedule(int $id, ScheduleConsultationRequest $scheduleConsultationRequest): JsonResponse;

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

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

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

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

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

            $table->dropColumn('consultation_id');

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

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

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) {

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

            $table->dropColumn('base_price');

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

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

Class extends undeclared class \Illuminate\Database\Seeder
Open

class ConsultationsPermissionSeeder extends Seeder

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

        Permission::findOrCreate(ConsultationsPermissionsEnum::CONSULTATION_DELETE_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

Class extends undeclared class \BenSampo\Enum\Enum
Open

class ConsultationTermStatusEnum extends Enum
Severity: Critical
Found in src/Enum/ConsultationTermStatusEnum.php by phan
Severity
Category
Status
Source
Language