Showing 636 of 636 total issues
Call to method table
from undeclared class \Illuminate\Support\Facades\Schema
Open
Open
Schema::table('webinars', function (Blueprint $table) {
- Exclude checks
Call to method table
from undeclared class \Illuminate\Support\Facades\Schema
Open
Open
Schema::table('webinars', function (Blueprint $table) {
- Exclude checks
Call to method dropColumn
from undeclared class \Illuminate\Database\Schema\Blueprint
Open
Open
$table->dropColumn('yt_autostart_status');
- Exclude checks
Static call to undeclared method \EscolaLms\Webinar\Enum\WebinarPermissionsEnum::getValues
Open
Open
foreach (WebinarPermissionsEnum::getValues() as $permission) {
- Exclude checks
Call to method limit
from undeclared class \EscolaLms\Core\Models\User
(Did you mean class \EscolaLms\Webinar\Models\User) Open
Open
$trainers = User::limit(5)->get();
- Exclude checks
Call to undeclared function \now()
Open
Open
'active_to' => now(),
- Exclude checks
syntax error, unexpected 'string' (T_STRING), expecting function (T_FUNCTION) or const (T_CONST)
Open
Open
private string $name;
- Exclude checks
Class extends undeclared class \EscolaLms\Core\Enums\BasicEnum
Open
Open
class WebinarPermissionsEnum extends BasicEnum
- Exclude checks
Reference to undeclared property \EscolaLms\Webinar\EscolaLmsWebinarServiceProvider->app
Open
Open
$this->app->register(AuthServiceProvider::class);
- Exclude checks
Return type of store()
is undeclared type \Illuminate\Http\JsonResponse
Open
Open
public function store(StoreWebinarRequest $storeWebinarRequest): JsonResponse;
- Exclude checks
syntax error, unexpected 'WebinarServiceContract' (T_STRING), expecting function (T_FUNCTION) or const (T_CONST)
Open
Open
private WebinarServiceContract $webinarServiceContract;
- Exclude checks
Static call to undeclared method \EscolaLms\Webinar\Models\Webinar::findOrFail
Open
Open
return Webinar::findOrFail($this->route('webinar'));
- Exclude checks
Class extends undeclared class \Illuminate\Foundation\Http\FormRequest
Open
Open
class ListWebinarsRequest extends FormRequest
- Exclude checks
Call to undeclared method \EscolaLms\Webinar\Http\Requests\UpdateWebinarRequest::route
Open
Open
$prefixPath = ConstantEnum::DIRECTORY . '/' . $this->route('id');
- Exclude checks
Call to method __construct
from undeclared class \EscolaLms\Files\Rules\FileOrStringRule
Open
Open
'image' => [new FileOrStringRule(['image'], $prefixPath)],
- Exclude checks
Reference to undeclared property \EscolaLms\Webinar\Http\Resources\TrainerResource->resource
Open
Open
'url_avatar' => $this->resource->avatar_url,
- Exclude checks
Reference to undeclared property \EscolaLms\Webinar\Http\Resources\WebinarSimpleResource->resource
Open
Open
'id' => $this->resource->id,
- Exclude checks
Call to undeclared function \now()
Open
Open
$now = now();
- Exclude checks
Static call to undeclared method \EscolaLms\Webinar\Enum\WebinarStatusEnum::getValues
Open
Open
'status' => $this->faker->randomElement(WebinarStatusEnum::getValues()),
- Exclude checks
Call to method timestamps
from undeclared class \Illuminate\Database\Schema\Blueprint
Open
Open
$table->timestamps();
- Exclude checks