Showing 636 of 636 total issues
Class extends undeclared class \Illuminate\Database\Migrations\Migration
Open
Open
class AddTableRelationsUsersWebinar extends Migration
- Exclude checks
Parameter $table
has undeclared type \Illuminate\Database\Schema\Blueprint
Open
Open
Schema::create('webinar_user', function (Blueprint $table) {
- Exclude checks
Call to method timestamps
from undeclared class \Illuminate\Database\Schema\Blueprint
Open
Open
$table->timestamps();
- Exclude checks
Call to method integer
from undeclared class \Illuminate\Database\Schema\Blueprint
Open
Open
$table->integer('base_price')->nullable();
- Exclude checks
Call to method findOrCreate
from undeclared class \Spatie\Permission\Models\Role
Open
Open
$tutor = Role::findOrCreate(UserRole::TUTOR, 'api');
- Exclude checks
Static call to undeclared method \EscolaLms\Webinar\Models\Webinar::factory
Open
Open
Webinar::factory(5, [
- Exclude checks
Class extends undeclared class \EscolaLms\Core\Enums\BasicEnum
Open
Open
class WebinarStatusEnum extends BasicEnum
- Exclude checks
Reference to undeclared property \EscolaLms\Webinar\EscolaLmsWebinarServiceProvider->app
Open
Open
$this->app->register(EscolaLmsSettingsServiceProvider::class);
- Exclude checks
Call to method allows
from undeclared class \Illuminate\Support\Facades\Gate
Open
Open
return Gate::allows('create', Webinar::class);
- Exclude checks
Reference to undeclared property \EscolaLms\Webinar\Http\Resources\TrainerResource->resource
Open
Open
'path_avatar' => $this->resource->path_avatar,
- Exclude checks
Reference to undeclared property \EscolaLms\Webinar\Http\Resources\TrainerResource->resource
Open
Open
'interests' => TrainerInterestResource::collection($this->resource->interests),
- Exclude checks
Reference to undeclared property \EscolaLms\Webinar\Http\Resources\WebinarSimpleResource->resource
Open
Open
'active_from' => Carbon::make($this->resource->active_from),
- Exclude checks
Reference to undeclared property \EscolaLms\Webinar\Http\Resources\WebinarSimpleResource->resource
Open
Open
'status' => $this->resource->status,
- Exclude checks
Reference to undeclared property \EscolaLms\Webinar\Http\Resources\WebinarSimpleResource->resource
Open
Open
'logotype_url' => $this->resource->logotype_url,
- Exclude checks
Class extends undeclared class \Illuminate\Database\Eloquent\Model
Open
Open
class Webinar extends Model
- Exclude checks
Call to method string
from undeclared class \Illuminate\Database\Schema\Blueprint
Open
Open
$table->string('yt_url', 255)->nullable();
- Exclude checks
Parameter $table
has undeclared type \Illuminate\Database\Schema\Blueprint
Open
Open
Schema::table('webinars', function (Blueprint $table) {
- Exclude checks
Call to method unique
from undeclared class \Illuminate\Database\Schema\Blueprint
Open
Open
$table->unique(['user_id', 'webinar_id'], 'webinar_user_unique');
- Exclude checks
Call to method dropForeign
from undeclared class \Illuminate\Database\Schema\Blueprint
Open
Open
$table->dropForeign('webinar_trainers_webinar_id_foreign');
- Exclude checks
Call to method foreign
from undeclared class \Illuminate\Database\Schema\Blueprint
Open
Open
$table->foreign('webinar_id')->references('id')->on('webinars')->cascadeOnDelete();
- Exclude checks