EscolaLMS/Consultations

View on GitHub

Showing 1,241 of 1,241 total issues

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

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

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

class RejectTerm extends ConsultationTerm
Severity: Critical
Found in src/Events/RejectTerm.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

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

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

Call to undeclared function \__()
Open

        $message = $message ?: __('Term is not changed');
Severity: Critical
Found in src/Exceptions/ChangeTermException.php by phan

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

    public function show(ShowConsultationRequest $showConsultationRequest, int $id): JsonResponse;

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 ConsultationScreenSaveRequest extends FormRequest

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

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

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

            $table->foreign('consultation_id')->on('consultations')->references('id')->cascadeOnDelete();

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

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

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

            $table->bigInteger('consultation_id')->unsigned()->nullable();

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

            $table->foreign('consultation_id')->on('consultations')->references('id')->nullOnDelete();

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

class AddSenderStatusInConsultationUserTable extends Migration

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

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

Call to method connection from undeclared class \DB
Open

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

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

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

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

    public int $consultation_user_id;

Return type of model() is undeclared type \Illuminate\Database\Eloquent\Model
Open

    public function model(): Model;
Severity: Minor
Found in src/Dto/Contracts/ModelDtoContract.php by phan

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

        $this->loadRoutesFrom(__DIR__ . '/routes.php');
Severity
Category
Status
Source
Language