EscolaLMS/Webinar

View on GitHub

Showing 636 of 636 total issues

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

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

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

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

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

            $table->dropColumn('yt_autostart_status');

Static call to undeclared method \EscolaLms\Webinar\Enum\WebinarPermissionsEnum::getValues
Open

        foreach (WebinarPermissionsEnum::getValues() as $permission) {

Call to method limit from undeclared class \EscolaLms\Core\Models\User (Did you mean class \EscolaLms\Webinar\Models\User)
Open

        $trainers = User::limit(5)->get();
Severity: Critical
Found in database/seeders/WebinarsTermsSeeder.php by phan

Call to undeclared function \now()
Open

            'active_to' => now(),
Severity: Critical
Found in database/seeders/WebinarsTermsSeeder.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

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

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

Reference to undeclared property \EscolaLms\Webinar\EscolaLmsWebinarServiceProvider->app
Open

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

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

    public function store(StoreWebinarRequest $storeWebinarRequest): JsonResponse;

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

    private WebinarServiceContract $webinarServiceContract;

Static call to undeclared method \EscolaLms\Webinar\Models\Webinar::findOrFail
Open

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

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

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

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

        $prefixPath = ConstantEnum::DIRECTORY . '/' . $this->route('id');
Severity: Critical
Found in src/Http/Requests/UpdateWebinarRequest.php by phan

Call to method __construct from undeclared class \EscolaLms\Files\Rules\FileOrStringRule
Open

            'image' => [new FileOrStringRule(['image'], $prefixPath)],
Severity: Critical
Found in src/Http/Requests/UpdateWebinarRequest.php by phan

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

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

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

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

Call to undeclared function \now()
Open

        $now = now();
Severity: Critical
Found in database/factories/WebinarFactory.php by phan

Static call to undeclared method \EscolaLms\Webinar\Enum\WebinarStatusEnum::getValues
Open

            'status' => $this->faker->randomElement(WebinarStatusEnum::getValues()),
Severity: Critical
Found in database/factories/WebinarFactory.php by phan

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

            $table->timestamps();
Severity
Category
Status
Source
Language