EscolaLMS/Webinar

View on GitHub

Showing 636 of 636 total issues

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

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

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

            $table->foreign('webinar_id')->references('id')->on('webinars')->onDelete('cascade');

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

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

Class extends undeclared class \Illuminate\Foundation\Support\Providers\AuthServiceProvider (Did you mean class \EscolaLms\Webinar\AuthServiceProvider)
Open

class AuthServiceProvider extends ServiceProvider
Severity: Critical
Found in src/AuthServiceProvider.php by phan

Possibly zero references to use statement for classlike/namespace Schedule (\Illuminate\Console\Scheduling\Schedule)
Open

use Illuminate\Console\Scheduling\Schedule;

Reference to constant class from undeclared class \EscolaLms\Webinar\Repositories\WebinarRepository
Open

        WebinarRepositoryContract::class => WebinarRepository::class,
Severity: Critical
Found in src/EscolaLmsWebinarServiceProvider.php by phan

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

        $this->loadRoutesFrom(__DIR__ . '/routes.php');
Severity: Critical
Found in src/EscolaLmsWebinarServiceProvider.php by phan

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

        $this->mergeConfigFrom(__DIR__ . '/config.php', 'escolalms_webinar');
Severity: Critical
Found in src/EscolaLmsWebinarServiceProvider.php by phan

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

    public function index(ListWebinarsRequest $listWebinarsRequest): JsonResponse;

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

    public function index(ListWebinarsRequest $listWebinarsRequest): JsonResponse;

Call to undeclared method \EscolaLms\Webinar\Http\Requests\BaseWebinarRequest::route
Open

        return Webinar::findOrFail($this->route('webinar'));
Severity: Critical
Found in src/Http/Requests/BaseWebinarRequest.php by phan

Possibly zero references to use statement for classlike/namespace WebinarPermissionsEnum (\EscolaLms\Webinar\Enum\WebinarPermissionsEnum)
Open

use EscolaLms\Webinar\Enum\WebinarPermissionsEnum;

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

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

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

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

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

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

Call to method url from undeclared class \Illuminate\Support\Facades\Storage
Open

                $logotype = Storage::url(trim($this->attributes['logotype_path'], '/'));
Severity: Critical
Found in src/Models/Webinar.php by phan

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

    private User $user;
Severity: Critical
Found in src/Events/Webinar.php by phan

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

class StoreWebinarRequest extends FormRequest
Severity: Critical
Found in src/Http/Requests/StoreWebinarRequest.php by phan

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

            'status' => ['required', 'string', Rule::in(WebinarStatusEnum::getValues())],
Severity: Critical
Found in src/Http/Requests/StoreWebinarRequest.php by phan

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

            'duration' => $this->resource->getDuration(),
Severity
Category
Status
Source
Language