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) {

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

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

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

            $table->dropColumn(['short_desc', 'agenda']);

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

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

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

class AddSenderStatusInWebinar extends Migration

Parameter $table has undeclared type \Illuminate\Database\Schema\Blueprint
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 limit from undeclared class \EscolaLms\Core\Models\User (Did you mean class \EscolaLms\Webinar\Models\User)
Open

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

Call to undeclared method \EscolaLms\Webinar\Dto\BaseDto::setterByData
Open

        $this->setterByData($data);
Severity: Critical
Found in src/Dto/BaseDto.php by phan

Class extends undeclared class \EscolaLms\Webinar\Events\Webinar (Did you mean class \EscolaLms\Webinar\Models\Webinar)
Open

class WebinarTrainerUnassigned extends Webinar
Severity: Critical
Found in src/Events/WebinarTrainerUnassigned.php by phan

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

    public function destroy(int $id, DeleteWebinarRequest $request): JsonResponse;

Call to method allows from undeclared class \Illuminate\Support\Facades\Gate
Open

        return Gate::allows('delete', $this->getWebinar());
Severity: Critical
Found in src/Http/Requests/DeleteWebinarRequest.php by phan

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

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

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

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

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

            'active_to' => Carbon::make($this->resource->active_to),

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

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

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

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

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

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

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

        Schema::dropIfExists('webinar_authors');

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

class AddCcolumnsYTForWebinarTable extends Migration
Severity
Category
Status
Source
Language