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

Call to method routes from undeclared class \Laravel\Passport\Passport
Open

            Passport::routes();
Severity: Critical
Found in src/AuthServiceProvider.php by phan

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

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

Class extends undeclared class \BenSampo\Enum\Enum
Open

class ConsultationTermReminderStatusEnum extends Enum

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

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

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

        $this->loadMigrationsFrom(__DIR__ . '/../database/migrations');

Reference to constant class from undeclared class \EscolaLms\Jitsi\EscolaLmsJitsiServiceProvider
Open

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

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_LIST, 'api');

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

    public function reportTerm(int $orderItemId, ReportTermConsultationRequest $request): JsonResponse;

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

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

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

    public function proposedTerms(int $orderItemId): JsonResponse;

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

        ConsultationUserRepositoryContract::class => ConsultationUserRepository::class,

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

    public function finishTerm(FinishTermRequest $request, int $consultationTermId): JsonResponse;

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

    private User $user;
Severity: Critical
Found in src/Events/ConsultationTerm.php by phan

Possibly zero references to use statement for classlike/namespace Consultation (\EscolaLms\Consultations\Models\Consultation)
Open

use EscolaLms\Consultations\Models\Consultation;

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

    public function forCurrentUser(ListConsultationsRequest $listConsultationsRequest): JsonResponse;

Class extends undeclared class \Illuminate\Foundation\Http\FormRequest
Open

class ShowAPIConsultationRequest extends FormRequest

Call to method allows from undeclared class \Illuminate\Support\Facades\Gate
Open

        return Gate::allows('create', Consultation::class);

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

            'status' => ['string', Rule::in(ConsultationStatusEnum::getValues())],
Severity
Category
Status
Source
Language