EscolaLMS/Webinar

View on GitHub

Showing 636 of 636 total issues

Class extends undeclared class \Illuminate\Database\Seeder
Open

class WebinarsPermissionSeeder extends Seeder

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

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

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

        Schema::create('webinar_authors', function (Blueprint $table) {

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

            $table->id();

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

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

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

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

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

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

Call to undeclared method \EscolaLms\Webinar\AuthServiceProvider::registerPolicies
Open

        $this->registerPolicies();
Severity: Critical
Found in src/AuthServiceProvider.php by phan

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

syntax error, unexpected 'array' (T_ARRAY), expecting function (T_FUNCTION) or const (T_CONST)
Open

    protected array $relations = [];
Severity: Critical
Found in src/Dto/Traits/DtoHelper.php by phan

Call to undeclared method \EscolaLms\Webinar\EscolaLmsWebinarServiceProvider::loadTranslationsFrom
Open

        $this->loadTranslationsFrom(__DIR__ . '/../resources/lang', 'webinar');
Severity: Critical
Found in src/EscolaLmsWebinarServiceProvider.php by phan

Reference to constant class from undeclared class \EscolaLms\Youtube\EscolaLmsYoutubeServiceProvider
Open

        $this->app->register(EscolaLmsYoutubeServiceProvider::class);
Severity: Critical
Found in src/EscolaLmsWebinarServiceProvider.php by phan

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

    public function forCurrentUser(ListWebinarsRequest $listWebinarsRequest): JsonResponse;

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

    public function show(int $id, ShowWebinarRequest $request): JsonResponse;

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

    public function update(int $id, UpdateWebinarRequest $updateWebinarRequest): JsonResponse;

Reference to undeclared property \EscolaLms\Webinar\Http\Resources\TrainerInterestResource->resource
Open

            'is_active' => $this->resource->is_active,

Reference to undeclared property \EscolaLms\Webinar\Http\Resources\TrainerResource->resource
Open

            'id' => $this->resource->id,
Severity: Minor
Found in src/Http/Resources/TrainerResource.php by phan

Reference to undeclared property \EscolaLms\Webinar\Database\Factories\WebinarFactory->faker
Open

            'name' => $this->faker->sentence(10),
Severity: Minor
Found in database/factories/WebinarFactory.php by phan

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

            $table->string('name', 255);

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

            $table->bigInteger('author_id')->unsigned()->nullable();
Severity
Category
Status
Source
Language