EscolaLMS/Consultations

View on GitHub

Showing 1,241 of 1,241 total issues

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

    private ConsultationServiceContract $consultationServiceContract;

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

    public function store(StoreConsultationRequest $storeConsultationRequest): JsonResponse;

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

use EscolaLms\Consultations\Models\Consultation;

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

            $table->id();

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

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

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

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

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

            $table->text('short_desc')->nullable();

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

        Schema::dropIfExists('consultation_user');

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

            $table->string('executed_status')->nullable();

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

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

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

            $table->id();

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

            $table->dateTime('executed_at')->nullable();

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

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

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

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

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

        Schema::dropIfExists('consultation_teachers');

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

            $table->timestamps();

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

        Schema::dropIfExists('consultation_user_terms');

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

        $admin = Role::findOrCreate(UserRole::ADMIN, 'api');

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

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

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

        $this->mergeConfigFrom(__DIR__ . '/config.php', 'escolalms_consultations');
Severity
Category
Status
Source
Language