EscolaLMS/Consultations

View on GitHub

Showing 1,011 of 1,011 total issues

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

        $this->loadTranslationsFrom(__DIR__ . '/../resources/lang', 'consultation');

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

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

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

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

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

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

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

    public function render($request): JsonResponse
Severity: Minor
Found in src/Exceptions/ChangeTermException.php by phan

Call to method __construct from undeclared class \EscolaLms\Files\Rules\FileOrStringRule
Open

            'image' => [new FileOrStringRule(['image'], $prefixPath)],

Class extends undeclared class \Illuminate\Http\Resources\Json\JsonResource
Open

class ConsultationProposedTermResource extends JsonResource

syntax error, unexpected '...' (T_ELLIPSIS), expecting ']'
Open

            ...ModelFields::getExtraAttributesValues($this->resource, MetaFieldVisibilityEnum::PUBLIC)

Reference to undeclared property \EscolaLms\Consultations\Http\Resources\ConsultationTermResource->resource
Open

        return is_string($this->resource) ? Carbon::make($this->resource) : $this->resource;

Reference to undeclared property \EscolaLms\Consultations\Http\Resources\ConsultationTermsResource->resource
Open

            'status' => $this->resource->executed_status ?? '',

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

    private ConsultationServiceContract $consultationServiceContract;

Class extends undeclared class \EscolaLms\Core\Enums\BasicEnum
Open

class ConsultationStatusEnum extends BasicEnum
Severity: Critical
Found in src/Enum/ConsultationStatusEnum.php by phan

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

    private string $status;
Severity: Critical
Found in src/Events/ReminderAboutTerm.php by phan

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

    private ConsultationServiceContract $consultationServiceContract;

Static call to undeclared method \EscolaLms\Consultations\Models\Consultation::find
Open

        $consultation = Consultation::find($id ?? $this->getRouteIdParameter());
Severity: Critical
Found in src/Http/Requests/ConsultationRequest.php by phan

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

class ReportTermConsultationRequest extends FormRequest

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

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

Call to undeclared method \EscolaLms\Consultations\Http\Requests\UpdateConsultationRequest::route
Open

        $prefixPath = ConstantEnum::DIRECTORY . '/' . $this->route('id');

Call to method make from undeclared class \Illuminate\Support\Carbon
Open

        return is_string($this->resource) ? Carbon::make($this->resource) : $this->resource;

Class uses undeclared trait \EscolaLms\Auth\Traits\ResourceExtandable
Open

class ConsultationTermsResource extends JsonResource
Severity
Category
Status
Source
Language