src/CoreBundle/Entity/AccessUrl.php
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ApiResource(
- Exclude checks
Add a single space around assignment operators Open
Open
declare(strict_types=1);
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\OneToMany(mappedBy: 'url', targetEntity: AccessUrlRelUser::class, cascade: ['persist'], orphanRemoval: true)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'url', type: 'string', length: 255)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\OneToMany(mappedBy: 'url', targetEntity: SessionCategory::class, cascade: ['persist'], orphanRemoval: true)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'active', type: 'integer')]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'tms', type: 'datetime', nullable: true)]
- Exclude checks
Missing function doc comment Open
Open
public function setUrl(string $url): self
- Exclude checks
Missing function doc comment Open
Open
public function setActive(int $active): self
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\ManyToOne(targetEntity: self::class, inversedBy: 'children')]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'lvl', type: 'integer')]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Id]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\OneToMany(mappedBy: 'url', targetEntity: AccessUrlRelCourseCategory::class, cascade: ['persist'], orphanRemoval: true)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[Gedmo\TreeLeft]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'url_type', type: 'boolean', nullable: true)]
- Exclude checks
You must use "/**" style comments for a class comment Open
Open
class AccessUrl extends AbstractResource implements ResourceInterface, Stringable
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\OneToMany(mappedBy: 'parent', targetEntity: self::class)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'limit_users', type: 'integer', nullable: true)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'limit_teachers', type: 'integer', nullable: true)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[Gedmo\TreeRoot]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'description', type: 'text')]
- Exclude checks
Missing function doc comment Open
Open
public function getTms(): ?DateTime
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Table(name: 'access_url')]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\OneToMany(mappedBy: 'url', targetEntity: AccessUrlRelSession::class, cascade: ['persist'], orphanRemoval: true)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[Assert\NotBlank]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'limit_courses', type: 'integer', nullable: true)]
- Exclude checks
Missing function doc comment Open
Open
public function setCreatedBy(int $createdBy): self
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'id', type: 'integer')]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'created_by', type: 'integer')]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'limit_sessions', type: 'integer', nullable: true)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[Assert\Email]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'email', type: 'string', length: 255, nullable: true)]
- Exclude checks
Missing function doc comment Open
Open
public function getUrl(): string
- Exclude checks
Missing function doc comment Open
Open
public function setDescription(string $description): self
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[Gedmo\TreeParent]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\GeneratedValue]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\OrderBy(['id' => 'ASC'])]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'limit_active_courses', type: 'integer', nullable: true)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\OneToMany(mappedBy: 'url', targetEntity: AccessUrlRelColorTheme::class, cascade: ['persist'], orphanRemoval: true)]
- Exclude checks
Missing function doc comment Open
Open
public function getDescription(): ?string
- Exclude checks
Missing function doc comment Open
Open
public function getActive(): int
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'lft', type: 'integer')]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'rgt', type: 'integer')]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\JoinColumn(name: 'tree_root', onDelete: 'CASCADE')]
- Exclude checks
Missing function doc comment Open
Open
public function getCreatedBy(): int
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[Groups(['access_url:read', 'access_url:write'])]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[Gedmo\TreeLevel]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\OneToMany(mappedBy: 'url', targetEntity: SettingsCurrent::class, cascade: ['persist'], orphanRemoval: true)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\JoinColumn(onDelete: 'CASCADE')]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[Gedmo\TreeRight]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[Groups(['access_url:read', 'access_url:write'])]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'limit_disk_space', type: 'integer', nullable: true)]
- Exclude checks
Missing function doc comment Open
Open
public function __construct()
- Exclude checks
Missing function doc comment Open
Open
public function setTms(DateTime $tms): self
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[Gedmo\Tree(type: 'nested')]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Entity(repositoryClass: AccessUrlRepository::class)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\OneToMany(mappedBy: 'url', targetEntity: AccessUrlRelCourse::class, cascade: ['persist'], orphanRemoval: true)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\ManyToOne(targetEntity: self::class)]
- Exclude checks
Missing function doc comment Open
Open
public function __toString(): string
- Exclude checks
Missing function doc comment Open
Open
public function hasCourse(Course $course): bool
- Exclude checks
Missing function doc comment Open
Open
public function getLimitSessions(): ?int
- Exclude checks
Missing function doc comment Open
Open
public function getEmail(): ?string
- Exclude checks
Missing function doc comment Open
Open
public function setLimitCourses(int $limitCourses): self
- Exclude checks
Missing function doc comment Open
Open
public function setSessionCategories(Collection $sessionCategories): self
- Exclude checks
Missing function doc comment Open
Open
public function setCourses(Collection $courses): self
- Exclude checks
Missing function doc comment Open
Open
public function getLimitTeachers(): ?int
- Exclude checks
Missing function doc comment Open
Open
public function getLimitDiskSpace(): ?int
- Exclude checks
Missing function doc comment Open
Open
public function setEmail(string $email): self
- Exclude checks
Missing function doc comment Open
Open
public function getLimitCourses(): ?int
- Exclude checks
Missing function doc comment Open
Open
public function addCourse(Course $course): self
- Exclude checks
Missing function doc comment Open
Open
public function setLimitActiveCourses(int $limitActiveCourses): self
- Exclude checks
Missing function doc comment Open
Open
public function setLimitUsers(int $limitUsers): self
- Exclude checks
Missing function doc comment Open
Open
public function getUrlType(): ?bool
- Exclude checks
Missing function doc comment Open
Open
public function setLimitSessions(int $limitSessions): self
- Exclude checks
Missing function doc comment Open
Open
public function getLimitActiveCourses(): ?int
- Exclude checks
Missing function doc comment Open
Open
public function getLimitUsers(): ?int
- Exclude checks
Missing function doc comment Open
Open
public function setLimitTeachers(int $limitTeachers): self
- Exclude checks
Missing function doc comment Open
Open
public function setLimitDiskSpace(int $limitDiskSpace): self
- Exclude checks
Missing function doc comment Open
Open
public function getResourceIdentifier(): int
- Exclude checks
Missing function doc comment Open
Open
public function removeColorTheme(AccessUrlRelColorTheme $colorTheme): static
- Exclude checks
Missing function doc comment Open
Open
public function setUrlType(bool $urlType): self
- Exclude checks
Missing function doc comment Open
Open
public function getLft(): int
- Exclude checks
Missing function doc comment Open
Open
public function getRoot(): ?self
- Exclude checks
Missing function doc comment Open
Open
public function setResourceName(string $name): self
- Exclude checks
Missing function doc comment Open
Open
public function getColorThemeByTheme(ColorTheme $theme): ?AccessUrlRelColorTheme
- Exclude checks
Scope keyword "static" must be followed by a single space Open
Open
public function removeColorTheme(AccessUrlRelColorTheme $colorTheme): static
- Exclude checks
Missing function doc comment Open
Open
public function getRgt(): int
- Exclude checks
Scope keyword "static" must be followed by a single space Open
Open
public function addColorTheme(AccessUrlRelColorTheme $colorTheme): static
- Exclude checks
Missing function doc comment Open
Open
public function getLvl(): int
- Exclude checks
Missing function doc comment Open
Open
public function getActiveColorTheme(): ?AccessUrlRelColorTheme
- Exclude checks
Missing function doc comment Open
Open
public function addUser(User $user): self
- Exclude checks
Missing function doc comment Open
Open
public function hasUser(User $user): bool
- Exclude checks
Missing function doc comment Open
Open
public function getId(): ?int
- Exclude checks
Missing function doc comment Open
Open
public function getResourceName(): string
- Exclude checks
Missing function doc comment Open
Open
public function addColorTheme(AccessUrlRelColorTheme $colorTheme): static
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public const DEFAULT_ACCESS_URL = 'http://localhost/';
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
protected Collection $users;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
protected ?AccessUrl $parent = null;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
protected ?DateTime $tms;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
protected ?int $limitCourses = null;
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->description = '';
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->sessionCategories = new ArrayCollection();
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function setCreatedBy(int $createdBy): self
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
protected int $createdBy;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function __construct()
- Exclude checks
Line indented incorrectly; expected at least 4 spaces, found 0 Open
Open
)]
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
private Collection $colorThemes;
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->createdBy = 1;
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->tms = $tms;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
protected Collection $courseCategory;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
protected int $rgt;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
protected ?int $limitDiskSpace = null;
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->courses = new ArrayCollection();
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->users = new ArrayCollection();
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function __toString(): string
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function setDescription(string $description): self
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this->active;
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function setUrl(string $url): self
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->active = $active;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function getCreatedBy(): int
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this->description;
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->createdBy = $createdBy;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
protected int $lft;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
protected string $url;
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->tms = new DateTime();
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->colorThemes = new ArrayCollection();
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->description = $description;
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this;
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this->url;
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->url = $url;
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this->createdBy;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function getTms(): ?DateTime
- Exclude checks
Line indented incorrectly; expected at least 4 spaces, found 0 Open
Open
{
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
protected ?string $description = null;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
protected ?int $limitActiveCourses = null;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
protected ?int $limitUsers = null;
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->sessions = new ArrayCollection();
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function getDescription(): ?string
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this->tms;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
protected Collection $courses;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
protected Collection $sessions;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
protected ?int $limitTeachers = null;
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this->getUrl();
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this;
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
protected Collection $settings;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
protected Collection $sessionCategories;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
protected ?bool $urlType = null;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
protected ?int $limitSessions = null;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
protected ?string $email = null;
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->children = new ArrayCollection();
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function setTms(DateTime $tms): self
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
protected ?AccessUrl $root = null;
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->settings = new ArrayCollection();
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
protected int $lvl;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function getUrl(): string
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function getActive(): int
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function setActive(int $active): self
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected 4 spaces, found 0 Open
Open
class AccessUrl extends AbstractResource implements ResourceInterface, Stringable
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
protected ?int $id = null;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
protected Collection $children;
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->courseCategory = new ArrayCollection();
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
protected int $active;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function setUrlType(bool $urlType): self
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function getLimitDiskSpace(): ?int
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this->limitDiskSpace;
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this->limitCourses;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function getCourses(): Collection
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function hasCourse(Course $course): bool
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function getSessionCategories(): Collection
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this;
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->limitCourses = $limitCourses;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function setSessionCategories(Collection $sessionCategories): self
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function getLimitTeachers(): ?int
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function getLimitCourses(): ?int
- Exclude checks
Line indented incorrectly; expected 12 spaces, found 8 Open
Open
if (!$this->hasCourse($course)) {
- Exclude checks
Line indented incorrectly; expected 12 spaces, found 8 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this->sessionCategories;
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function getLimitUsers(): ?int
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this;
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->settings = $settings;
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return false;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function getChildren(): Collection
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this->children;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->urlType = $urlType;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 16 spaces, found 12 Open
Open
$this->courses->add($urlRelCourse);
- Exclude checks
Line indented incorrectly; expected 12 spaces, found 8 Open
Open
if ($this->courses->count() > 0) {
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->limitActiveCourses = $limitActiveCourses;
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->limitUsers = $limitUsers;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function getEmail(): ?string
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this->sessions;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function getUrlType(): ?bool
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function getLimitActiveCourses(): ?int
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function setLimitUsers(int $limitUsers): self
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this->limitTeachers;
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->limitTeachers = $limitTeachers;
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function setCourses(Collection $courses): self
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected at least 16 spaces, found 12 Open
Open
$found = $this->courses->matching($criteria);
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function setLimitCourses(int $limitCourses): self
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this;
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected at least 16 spaces, found 12 Open
Open
$urlRelCourse = (new AccessUrlRelCourse())->setUrl($this);
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this;
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function setLimitTeachers(int $limitTeachers): self
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function setSettings(Collection $settings): self
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function addCourse(Course $course): self
- Exclude checks
Line indented incorrectly; expected at least 16 spaces, found 12 Open
Open
$course->addUrls($urlRelCourse);
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function getSessions(): Collection
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this->users;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function setLimitDiskSpace(int $limitDiskSpace): self
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this->courses;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 16 spaces, found 12 Open
Open
return $found->count() > 0;
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this->urlType;
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this->limitSessions;
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->limitDiskSpace = $limitDiskSpace;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 16 spaces, found 12 Open
Open
$criteria = Criteria::create()->where(Criteria::expr()->eq('course', $course));
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->sessionCategories = $sessionCategories;
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function getLimitSessions(): ?int
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this->limitUsers;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->email = $email;
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this->settings;
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function getUsers(): Collection
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function setLimitActiveCourses(int $limitActiveCourses): self
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 12 spaces, found 8 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this->limitActiveCourses;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function setLimitSessions(int $limitSessions): self
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function getSettings(): Collection
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->courses = $courses;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function addUser(User $user): self
- Exclude checks
Line indented incorrectly; expected at least 16 spaces, found 12 Open
Open
return $relation->count() > 0;
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected 16 spaces, found 12 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this->root;
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $url['host'];
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$criteria = Criteria::create();
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$criteria->where(
- Exclude checks
Line indented incorrectly; expected at least 16 spaces, found 12 Open
Open
$this->users->add($accessUrlRelUser);
- Exclude checks
Line indented incorrectly; expected at least 16 spaces, found 12 Open
Open
$relation = $this->users->matching($criteria);
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this->lft;
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$url = $this->getUrl();
- Exclude checks
Line indented incorrectly; expected at least 16 spaces, found 12 Open
Open
$colorTheme->setUrl($this);
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->limitSessions = $limitSessions;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this->email;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function setEmail(string $email): self
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function hasUser(User $user): bool
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function getRoot(): ?self
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this->setUrl($name);
- Exclude checks
Line indented incorrectly; expected 12 spaces, found 8 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 12 spaces, found 8 Open
Open
if (!$this->hasUser($user)) {
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$criteria->where(
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this->colorThemes;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function getId(): ?int
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function getCourseCategory(): Collection
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this->courseCategory;
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
);
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function getColorThemeByTheme(ColorTheme $theme): ?AccessUrlRelColorTheme
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this->colorThemes->matching($criteria)->first() ?: null;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function getColorThemes(): Collection
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this;
- Exclude checks
Line indented incorrectly; expected 16 spaces, found 12 Open
Open
if ($colorTheme->getUrl() === $this) {
- Exclude checks
Line indented incorrectly; expected at least 16 spaces, found 12 Open
Open
$criteria = Criteria::create()->where(Criteria::expr()->eq('user', $user));
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$url = parse_url($url);
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 12 spaces, found 8 Open
Open
if ($this->colorThemes->removeElement($colorTheme)) {
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this;
- Exclude checks
Line indented incorrectly; expected 4 spaces, found 0 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 12 spaces, found 8 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this->getId();
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function setResourceName(string $name): self
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this;
- Exclude checks
Line indented incorrectly; expected 12 spaces, found 8 Open
Open
if (0 !== $this->users->count()) {
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this->rgt;
- Exclude checks
Line indented incorrectly; expected at least 20 spaces, found 16 Open
Open
$colorTheme->setUrl(null);
- Exclude checks
Line indented incorrectly; expected 12 spaces, found 8 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this->id;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function getResourceName(): string
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 12 spaces, found 8 Open
Open
if (!$this->colorThemes->contains($colorTheme)) {
- Exclude checks
Line indented incorrectly; expected at least 16 spaces, found 12 Open
Open
$this->colorThemes->add($colorTheme);
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$criteria = Criteria::create();
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function getLft(): int
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return false;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function getActiveColorTheme(): ?AccessUrlRelColorTheme
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this->colorThemes->matching($criteria)->first() ?: null;
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function addColorTheme(AccessUrlRelColorTheme $colorTheme): static
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function removeColorTheme(AccessUrlRelColorTheme $colorTheme): static
- Exclude checks
Line indented incorrectly; expected 12 spaces, found 8 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
);
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function getLvl(): int
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected at least 16 spaces, found 12 Open
Open
$accessUrlRelUser = (new AccessUrlRelUser())->setUser($user)->setUrl($this);
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this->lvl;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function getRgt(): int
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function getResourceIdentifier(): int
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks