EscolaLMS/Consultations

View on GitHub

Showing 1,011 of 1,011 total issues

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

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

Call to method statement from undeclared class \DB
Open

            DB::statement('ALTER TABLE `consultation_user` DROP INDEX `consultation_user_unique`, ADD INDEX (user_id, consultation_id)');

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 dropIfExists from undeclared class \Illuminate\Support\Facades\Schema
Open

        Schema::dropIfExists('consultation_teachers');

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

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

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

        if (!$this->app->routesAreCached() && method_exists(Passport::class, 'routes')) {
Severity: Minor
Found in src/AuthServiceProvider.php by phan

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

    private string $name;
Severity: Critical
Found in src/Dto/FilterListDto.php by phan

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

        ConsultationRepositoryContract::class => ConsultationRepository::class,

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

class AddProductColumnInConsultationUserTable extends Migration

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

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

Reference to constant class from undeclared class \EscolaLms\Auth\EscolaLmsAuthServiceProvider
Open

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

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

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

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

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

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

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

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

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

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

class ConsultationAssignableUserListRequest extends FormRequest

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

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

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

class ListConsultationsRequest extends FormRequest

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

        Permission::findOrCreate(ConsultationsPermissionsEnum::CONSULTATION_CHANGE_TERM, 'api');
Severity
Category
Status
Source
Language