EscolaLMS/Consultations

View on GitHub

Showing 1,241 of 1,241 total issues

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

            'executed_status' => $this->resource->executedStatus,

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

class ConsultationUserTermsResource extends JsonResource

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

                $this->resource->executed_status,

Class uses undeclared trait \EscolaLms\ModelFields\Traits\ModelFields
Open

class Consultation extends Model
Severity: Critical
Found in src/Models/Consultation.php by phan

Return type of categories() is undeclared type \Illuminate\Database\Eloquent\Relations\BelongsToMany
Open

    public function categories(): BelongsToMany
Severity: Minor
Found in src/Models/Consultation.php by phan

Call to undeclared method \EscolaLms\Consultations\Models\Consultation::hasMany
Open

        return $this->hasMany(ConsultationUserPivot::class);
Severity: Critical
Found in src/Models/Consultation.php by phan

Call to undeclared function \url()
Open

                    url($imagePath);
Severity: Critical
Found in src/Models/Consultation.php by phan

Class uses undeclared trait \Illuminate\Database\Eloquent\Factories\HasFactory
Open

class ConsultationProposedTerm extends Model
Severity: Critical
Found in src/Models/ConsultationProposedTerm.php by phan

Call to undeclared method \EscolaLms\Consultations\Dto\BaseDto::setterByData
Open

        $this->setterByData($data);
Severity: Critical
Found in src/Dto/BaseDto.php by phan

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

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

Reference to constant class from undeclared class \EscolaLms\ModelFields\ModelFieldsServiceProvider
Open

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

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

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

Class extends undeclared class \Symfony\Component\HttpKernel\Exception\UnprocessableEntityHttpException
Open

class ConsultationNotFound extends UnprocessableEntityHttpException
Severity: Critical
Found in src/Exceptions/ConsultationNotFound.php by phan

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

    public function show(ShowAPIConsultationRequest $showAPIConsultationRequest, int $id): JsonResponse;

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

    public function index(ListConsultationsRequest $listConsultationsRequest): JsonResponse;

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

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

Call to undeclared function \auth()
Open

        $user = auth()->user();

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

class ListAPIConsultationsRequest extends FormRequest

Possibly zero references to use statement for classlike/namespace FormRequest (\Illuminate\Foundation\Http\FormRequest)
Open

use Illuminate\Foundation\Http\FormRequest;

Static call to undeclared method \EscolaLms\Consultations\Http\Resources\ConsultationAuthorResource::apply
Open

        return self::apply($fields, $this);
Severity
Category
Status
Source
Language