chamilo/chamilo-lms

View on GitHub
src/CoreBundle/Entity/Course.php

Summary

Maintainability
A
0 mins
Test Coverage

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

#[ApiFilter(filterClass: SearchFilter::class, properties: ['title' => 'partial', 'code' => 'partial'])]

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

    #[ORM\Id]

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

    #[ORM\GeneratedValue(strategy: 'AUTO')]

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

#[ORM\EntityListeners([ResourceListener::class, CourseListener::class])]

You must use "/**" style comments for a class comment
Open

class Course extends AbstractResource implements ResourceInterface, ResourceWithAccessUrlInterface, ResourceIllustrationInterface, ExtraFieldItemInterface, Stringable

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

    #[ApiProperty(iris: ['http://schema.org/courseCode'])]

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

    #[Groups([

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

#[UniqueEntity('visualCode')]

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

    #[ORM\Column(name: 'code', type: 'string', length: 40, unique: true, nullable: false)]

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

#[ApiResource(

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

#[ORM\Entity(repositoryClass: CourseRepository::class)]

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

    #[Assert\NotBlank]

Add a single space around assignment operators
Open

declare(strict_types=1);

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

    #[Groups([

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

    #[Assert\NotBlank(message: 'A Course requires a title')]

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

#[ORM\Table(name: 'course')]

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

    #[Gedmo\Slug(fields: ['title'], updatable: false, style: 'upper', unique: true, separator: '')]

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

    #[ORM\OneToMany(

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

#[ORM\Index(columns: ['sticky'], name: 'idx_course_sticky')]

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

#[ApiFilter(filterClass: OrderFilter::class, properties: ['id', 'title'])]

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

    #[Assert\Length(max: 40, maxMessage: 'Code cannot be longer than {{ limit }} characters')]

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

    #[ORM\Column(name: 'visual_code', type: 'string', length: 40, unique: false, nullable: true)]

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

    #[Assert\Length(max: 40, maxMessage: 'Code cannot be longer than {{ limit }} characters')]

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

    #[Groups(['course:read', 'user:write', 'course_rel_user:read'])]

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

#[UniqueEntity('code')]

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

    #[ORM\Column(name: 'id', type: 'integer')]

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

    #[ORM\Column(name: 'title', type: 'string', length: 250, unique: false, nullable: true)]

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

    #[ORM\OneToMany(mappedBy: 'course', targetEntity: CourseRelUser::class, cascade: ['persist'], orphanRemoval: true)]

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

    #[Groups([

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

    #[ORM\Column(name: 'directory', type: 'string', length: 40, unique: false, nullable: true)]

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

    #[ORM\Column(name: 'description', type: 'text', unique: false, nullable: true)]

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

    #[Groups(['course:read', 'course_rel_user:read'])]

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

    #[ORM\Column(name: 'tutor_name', type: 'string', length: 200, unique: false, nullable: true)]

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

    #[ORM\Column(name: 'department_name', type: 'string', length: 30, unique: false, nullable: true)]

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

    #[Groups(['course:read'])]

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

    #[ORM\Column(name: 'activate_legal', type: 'integer', unique: false, nullable: true)]

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

    #[ORM\OneToMany(mappedBy: 'course', targetEntity: Templates::class, cascade: ['persist', 'remove'])]

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

    #[ORM\Column(name: 'course_language', type: 'string', length: 20, unique: false, nullable: false)]

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

    #[Assert\Url]

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

    #[ORM\Column(name: 'disk_quota', type: 'integer', unique: false, nullable: true)]

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

    #[ORM\Column(name: 'course_type_id', type: 'integer', unique: false, nullable: true)]

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

    #[ORM\OneToMany(mappedBy: 'course', targetEntity: SkillRelCourse::class, cascade: ['persist', 'remove'])]

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

    #[ORM\OneToMany(mappedBy: 'course', targetEntity: GradebookCategory::class, cascade: ['persist', 'remove'])]

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

    #[ORM\OneToMany(mappedBy: 'course', targetEntity: SearchEngineRef::class, cascade: ['persist', 'remove'])]

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

    #[ORM\Column(name: 'visibility', type: 'integer', unique: false, nullable: false)]

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

    #[ORM\Column(name: 'show_score', type: 'integer', unique: false, nullable: true)]

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

    #[ORM\Column(name: 'department_url', type: 'string', length: 180, unique: false, nullable: true)]

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

    #[ORM\Column(name: 'legal', type: 'text', unique: false, nullable: true)]

Missing function doc comment
Open

    public function __construct()

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

    #[Groups(['course:read'])]

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

    #[ORM\OneToMany(mappedBy: 'course', targetEntity: SkillRelUser::class, cascade: ['persist', 'remove'])]

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

    #[ORM\JoinColumn(name: 'course_id', referencedColumnName: 'id')]

Missing function doc comment
Open

    public static function getStatusList(): array

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

    #[ORM\OneToMany(mappedBy: 'course', targetEntity: SessionRelCourse::class, cascade: ['persist', 'remove'])]

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

    #[Groups(['course:read', 'course_rel_user:read'])]

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

    #[ORM\ManyToMany(targetEntity: CourseCategory::class, inversedBy: 'courses')]

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

    #[ORM\Column(name: 'last_edit', type: 'datetime', unique: false, nullable: true)]

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

    #[Groups(['course:read', 'course:write', 'course_rel_user:read', 'session:read'])]

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

    #[Assert\Url]

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

    #[ORM\Column(name: 'add_teachers_to_sessions_courses', type: 'boolean', nullable: true)]

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

    #[Assert\NotBlank]

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

    #[ORM\JoinTable(name: 'course_rel_category')]

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

    #[Groups(['course:read', 'course:write'])]

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

    #[ORM\OneToMany(mappedBy: 'course', targetEntity: TrackEHotspot::class, cascade: ['persist', 'remove'])]

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

    #[Groups(['course:read', 'course_rel_user:read', 'course:write'])]

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

    #[ORM\OneToMany(mappedBy: 'course', targetEntity: GradebookEvaluation::class, cascade: ['persist', 'remove'])]

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

    #[Groups(['course:read', 'session:read'])]

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

    #[Groups(['course:read'])]

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

    #[ORM\Column(name: 'video_url', type: 'string', length: 255)]

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

    #[ORM\Column(name: 'last_visit', type: 'datetime', unique: false, nullable: true)]

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

    #[ORM\Column(name: 'expiration_date', type: 'datetime', unique: false, nullable: true)]

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

    #[ORM\JoinColumn(name: 'room_id', referencedColumnName: 'id')]

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

    #[ORM\OneToMany(mappedBy: 'course', targetEntity: SessionRelCourseRelUser::class, cascade: [

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

    #[ORM\InverseJoinColumn(name: 'course_category_id', referencedColumnName: 'id')]

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

    #[Assert\NotNull]

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

    #[ORM\Column(name: 'introduction', type: 'text', nullable: true)]

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

    #[Assert\NotBlank]

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

    #[Groups(['course:read', 'course:write'])]

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

    #[ORM\Column(name: 'creation_date', type: 'datetime', unique: false, nullable: false)]

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

    #[ORM\Column(name: 'unsubscribe', type: 'boolean', unique: false, nullable: false)]

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

    #[ORM\Column(name: 'registration_code', type: 'string', length: 255, unique: false, nullable: true)]

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

    #[ORM\ManyToOne(targetEntity: Room::class)]

Missing function doc comment
Open

    public function __toString(): string

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

    #[ORM\OneToMany(

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

    #[ORM\OneToOne(

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

    #[Groups(['course:read', 'course:write'])]

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

    #[Groups(['course:read', 'course:write'])]

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

    #[ORM\Column(name: 'sticky', type: 'boolean')]

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

    #[ORM\OneToMany(mappedBy: 'course', targetEntity: GradebookLink::class, cascade: ['persist', 'remove'])]

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

    #[ORM\Column(name: 'subscribe', type: 'boolean', unique: false, nullable: false)]

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

    #[Assert\NotNull]

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

    #[ORM\Column(type: 'integer', nullable: true)]

Missing function doc comment
Open

    public function removeSubscription(CourseRelUser $user): void

Missing function doc comment
Open

    public function hasUserAsStudent(User $user): bool

Missing function doc comment
Open

    public function hasUserAsTeacher(User $user): bool

Missing function doc comment
Open

    public function setTitle(string $title): self

Missing function doc comment
Open

    public function setTrackCourseRanking(?TrackCourseRanking $trackCourseRanking): self

Space before opening parenthesis of function call prohibited
Open

            fn (CourseRelUser $subscription) => $subscription->getUser()->getId() === $user->getId()

Missing function doc comment
Open

    public function addSubscription(CourseRelUser $courseRelUser): self

Missing function doc comment
Open

    public function hasUsers(CourseRelUser $subscription): bool

Missing function doc comment
Open

    public function addSubscriptionForUser(User $user, int $relationType, ?string $role, int $status): self

Space before opening parenthesis of function call prohibited
Open

            fn (CourseRelUser $subscription) => $subscription->getUser()->getId() === $user->getId()

Missing function doc comment
Open

    public function addTool(CTool $tool): self

Missing function doc comment
Open

    public function getSubscriptionByUser(User $user): ?CourseRelUser

You must use "/**" style comments for a function comment
Open

    public function getTeachersSubscriptions(): Collection

Missing function doc comment
Open

    public function setCode(string $code): self

Missing function doc comment
Open

    public function getTutorName(): ?string

Missing function doc comment
Open

    public function getTitle(): string

Missing function doc comment
Open

    public function addUserAsStudent(User $user): self

Missing function doc comment
Open

    public function getDescription(): ?string

Missing function doc comment
Open

    public function setVisibility(int $visibility): self

Missing function doc comment
Open

    public function getTrackCourseRanking(): ?TrackCourseRanking

Missing function doc comment
Open

    public function getStudentSubscriptions(): Collection

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

    #[SerializedName('teachers')]

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

    #[Groups(['course:read'])]

Missing function doc comment
Open

    public function setCategories(Collection $categories): self

Missing function doc comment
Open

    public function setTutorName(?string $tutorName): self

Missing function doc comment
Open

    public function setTools(array $tools): self

Missing function doc comment
Open

    public function hasSubscriptionByUser(User $user): bool

Missing function doc comment
Open

    public function setShowScore(int $showScore): self

Missing function doc comment
Open

    public function setVisualCode(string $visualCode): self

Missing function doc comment
Open

    public function setCourseLanguage(string $courseLanguage): self

Missing function doc comment
Open

    public function addCategory(CourseCategory $category): self

Missing function doc comment
Open

    public function getShowScore(): ?int

Missing function doc comment
Open

    public function setDepartmentName(string $departmentName): self

Missing function doc comment
Open

    public function hasGroup(CGroup $group): void

Missing function doc comment
Open

    public function getCourseLanguage(): string

Missing function doc comment
Open

    public function getCode(): string

Missing function doc comment
Open

    public function getTitleAndCode(): string

Missing function doc comment
Open

    public function setDescription(string $description): self

Missing function doc comment
Open

    public function getVisualCode(): ?string

Missing function doc comment
Open

    public function setDepartmentUrl(string $departmentUrl): self

Missing function doc comment
Open

    public function getVisibility(): int

Missing function doc comment
Open

    public function addUserAsTeacher(User $user): self

Missing function doc comment
Open

    public function getId(): ?int

Missing function doc comment
Open

    public function getExpirationDate(): ?DateTime

Missing function doc comment
Open

    public function getSubscribe(): bool

Missing function doc comment
Open

    public function getCreationDate(): DateTime

Missing function doc comment
Open

    public function setCourseTypeId(int $courseTypeId): self

Missing function doc comment
Open

    public function isAddTeachersToSessionsCourses(): ?bool

Missing function doc comment
Open

    public function getCourseTypeId(): ?int

Missing function doc comment
Open

    public function getRegistrationCode(): ?string

Missing function doc comment
Open

    public function getLastEdit(): ?DateTime

Missing function doc comment
Open

    public function setSubscribe(bool $subscribe): self

Missing function doc comment
Open

    public function setDiskQuota(int $diskQuota): self

Missing function doc comment
Open

    public function setLastEdit(DateTime $lastEdit): self

Missing function doc comment
Open

    public function getUnsubscribe(): bool

Missing function doc comment
Open

    public function setRegistrationCode(string $registrationCode): self

Missing function doc comment
Open

    public function getRoom(): ?Room

Missing function doc comment
Open

    public function isActive(): bool

Missing function doc comment
Open

    public function removeCategory(CourseCategory $category): void

Missing function doc comment
Open

    public function getDepartmentName(): ?string

Missing function doc comment
Open

    public function getDepartmentUrl(): ?string

Missing function doc comment
Open

    public function getActivateLegal(): ?int

Missing function doc comment
Open

    public function setLastVisit(DateTime $lastVisit): self

Missing function doc comment
Open

    public function setLegal(string $legal): self

Missing function doc comment
Open

    public function setRoom(Room $room): self

Missing function doc comment
Open

    public function getDiskQuota(): ?int

Missing function doc comment
Open

    public function setAddTeachersToSessionsCourses(bool $addTeachersToSessionsCourses): self

Missing function doc comment
Open

    public function getLastVisit(): ?DateTime

Missing function doc comment
Open

    public function setCreationDate(DateTime $creationDate): self

Missing function doc comment
Open

    public function getLegal(): ?string

Missing function doc comment
Open

    public function setUnsubscribe(bool $unsubscribe): self

Missing function doc comment
Open

    public function setExpirationDate(DateTime $expirationDate): self

Missing function doc comment
Open

    public function setActivateLegal(int $activateLegal): self

Missing function doc comment
Open

    public function setGradebookCategories(Collection $gradebookCategories): self

Missing function doc comment
Open

    public function setSkills(Collection $skills): self

Missing function doc comment
Open

    public function setGradebookLinks(Collection $gradebookLinks): self

Missing function doc comment
Open

    public function setGradebookEvaluations(Collection $gradebookEvaluations): self

Scope keyword "static" must be followed by a single space
Open

    public function addUrls(AccessUrlRelCourse $urlRelCourse): static

Missing function doc comment
Open

    public function setTrackEHotspots(Collection $trackEHotspots): self

Missing function doc comment
Open

    public function getCurrentUrl(): AccessUrl

Missing function doc comment
Open

    public function getUrls(): Collection

Missing function doc comment
Open

    public function setSessionRelCourseRelUsers(Collection $sessionUserSubscriptions): self

Missing function doc comment
Open

    public function setCurrentUrl(AccessUrl $url): self

Missing function doc comment
Open

    public function addAccessUrl(?AccessUrl $url): self

Missing function doc comment
Open

    public function setSearchEngineRefs(Collection $searchEngineRefs): self

Missing function doc comment
Open

    public function addUrls(AccessUrlRelCourse $urlRelCourse): static

Missing function doc comment
Open

    public function setIntroduction(?string $introduction): self

Missing function doc comment
Open

    public function isHidden(): bool

Missing function doc comment
Open

    public function setCurrentSession(Session $session): self

Missing function doc comment
Open

    public function getIntroduction(): ?string

Missing function doc comment
Open

    public function getCurrentSession(): Session

Missing function doc comment
Open

    public function getVideoUrl(): string

Missing function doc comment
Open

    public function setSticky(bool $sticky): self

Missing function doc comment
Open

    public function isSticky(): bool

Missing function doc comment
Open

    public function getResourceIdentifier(): int

Missing function doc comment
Open

    public function setVideoUrl(string $videoUrl): self

Missing function doc comment
Open

    public function setTemplates(Collection $templates): self

Missing function doc comment
Open

    public function setResourceName(string $name): self

Missing function doc comment
Open

    public function getResourceName(): string

Missing function doc comment
Open

    public function getDuration(): ?int

Missing function doc comment
Open

    public function setDuration(?int $duration): self

Missing function doc comment
Open

    public function getDefaultIllustration(int $size): string

Line indented incorrectly; expected 8 spaces, found 4
Open

    public const OPEN_WORLD = 3;

Line indented incorrectly; expected 4 spaces, found 0
Open

class Course extends AbstractResource implements ResourceInterface, ResourceWithAccessUrlInterface, ResourceIllustrationInterface, ExtraFieldItemInterface, Stringable

Line indented incorrectly; expected 8 spaces, found 4
Open

    protected ?string $title = null;

Line indented incorrectly; expected 8 spaces, found 4
Open

    protected ?string $visualCode = null;

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    ])]

Line indented incorrectly; expected 8 spaces, found 4
Open

    protected ?int $id = null;

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    ])]

Line indented incorrectly; expected 8 spaces, found 4
Open

    protected string $code;

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    ])]

Line indented incorrectly; expected 8 spaces, found 4
Open

    public const CLOSED = 0;

Line indented incorrectly; expected at least 4 spaces, found 0
Open

{

Line indented incorrectly; expected 8 spaces, found 4
Open

    public const REGISTERED = 1;

Line indented incorrectly; expected 8 spaces, found 4
Open

    public const HIDDEN = 4;

Line indented incorrectly; expected 8 spaces, found 4
Open

    protected Collection $users;

Line indented incorrectly; expected 8 spaces, found 4
Open

    public const OPEN_PLATFORM = 2;

Line indented incorrectly; expected at least 4 spaces, found 0
Open

)]

Line indented incorrectly; expected 8 spaces, found 4
Open

    protected Collection $gradebookLinks;

Line indented incorrectly; expected 8 spaces, found 4
Open

    protected ?int $diskQuota = null;

Line indented incorrectly; expected 8 spaces, found 4
Open

    protected bool $subscribe;

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        $this->introduction = '';

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        $this->tutorName = '';

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        $this->urls = new ArrayCollection();

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        $this->courseLanguage = 'en';

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    )]

Line indented incorrectly; expected 8 spaces, found 4
Open

    protected Collection $skills;

Line indented incorrectly; expected 8 spaces, found 4
Open

    protected ?string $tutorName;

Line indented incorrectly; expected 8 spaces, found 4
Open

    protected ?DateTime $lastEdit;

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        $this->lastVisit = new DateTime();

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        $this->room = null;

Line indented incorrectly; expected 8 spaces, found 4
Open

    protected Collection $sessions;

Line indented incorrectly; expected 8 spaces, found 4
Open

    protected ?string $description;

Line indented incorrectly; expected 8 spaces, found 4
Open

    protected ?string $introduction;

Line indented incorrectly; expected 8 spaces, found 4
Open

    protected Collection $categories;

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        $this->skills = new ArrayCollection();

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        $this->categories = new ArrayCollection();

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        $this->courseTypeId = null;

Line indented incorrectly; expected 8 spaces, found 4
Open

    protected string $courseLanguage;

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        $this->templates = new ArrayCollection();

Line indented incorrectly; expected 8 spaces, found 4
Open

    protected Session $currentSession;

Line indented incorrectly; expected 8 spaces, found 4
Open

    protected Collection $trackEHotspots;

Line indented incorrectly; expected 8 spaces, found 4
Open

    protected ?DateTime $expirationDate = null;

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        $this->registrationCode = null;

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        $this->gradebookEvaluations = new ArrayCollection();

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        $this->trackEHotspots = new ArrayCollection();

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    )]

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    )]

Line indented incorrectly; expected 8 spaces, found 4
Open

    protected Collection $tools;

Line indented incorrectly; expected 8 spaces, found 4
Open

    protected Collection $gradebookCategories;

Line indented incorrectly; expected 8 spaces, found 4
Open

    protected Collection $gradebookEvaluations;

Line indented incorrectly; expected 8 spaces, found 4
Open

    protected int $visibility;

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        $this->creationDate = new DateTime();

Line indented incorrectly; expected 8 spaces, found 4
Open

    protected bool $sticky;

Line indented incorrectly; expected 8 spaces, found 4
Open

    protected bool $unsubscribe;

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        $this->visibility = self::OPEN_PLATFORM;

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        $this->sessions = new ArrayCollection();

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        $this->legal = '';

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected 8 spaces, found 4
Open

    protected ?string $departmentName = null;

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        $this->lastEdit = new DateTime();

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        $this->unsubscribe = false;

Line indented incorrectly; expected 8 spaces, found 4
Open

    protected ?TrackCourseRanking $trackCourseRanking = null;

Line indented incorrectly; expected 8 spaces, found 4
Open

    protected AccessUrl $currentUrl;

Line indented incorrectly; expected 8 spaces, found 4
Open

    protected ?string $directory = null;

Line indented incorrectly; expected 8 spaces, found 4
Open

    protected ?string $registrationCode;

Line indented incorrectly; expected 8 spaces, found 4
Open

    protected ?int $courseTypeId;

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        $this->addTeachersToSessionsCourses = false;

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function __toString(): string

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected 8 spaces, found 4
Open

    public static function getStatusList(): array

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected 8 spaces, found 4
Open

    protected Collection $urls;

Line indented incorrectly; expected 8 spaces, found 4
Open

    protected ?string $departmentUrl = null;

Line indented incorrectly; expected 8 spaces, found 4
Open

    protected ?int $activateLegal;

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        $this->sticky = false;

Line indented incorrectly; expected 8 spaces, found 4
Open

    protected string $videoUrl;

Line indented incorrectly; expected 8 spaces, found 4
Open

    protected ?Room $room;

Line indented incorrectly; expected 8 spaces, found 4
Open

    private ?int $duration = null;

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        $this->users = new ArrayCollection();

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        $this->gradebookCategories = new ArrayCollection();

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        $this->searchEngineRefs = new ArrayCollection();

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        $this->activateLegal = 0;

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        $this->tools = new ArrayCollection();

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        $this->gradebookLinks = new ArrayCollection();

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $this->getTitle();

Line indented incorrectly; expected 8 spaces, found 4
Open

    protected Collection $searchEngineRefs;

Line indented incorrectly; expected 8 spaces, found 4
Open

    protected ?DateTime $lastVisit;

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        $this->sessionRelCourseRelUsers = new ArrayCollection();

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        $this->issuedSkills = new ArrayCollection();

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        $this->description = '';

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        $this->subscribe = true;

Line indented incorrectly; expected 8 spaces, found 4
Open

    protected Collection $sessionRelCourseRelUsers;

Line indented incorrectly; expected 8 spaces, found 4
Open

    protected DateTime $creationDate;

Line indented incorrectly; expected 8 spaces, found 4
Open

    protected ?string $legal;

Line indented incorrectly; expected 8 spaces, found 4
Open

    protected ?bool $addTeachersToSessionsCourses;

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return [

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    ])]

Line indented incorrectly; expected 8 spaces, found 4
Open

    protected Collection $issuedSkills;

Line indented incorrectly; expected 8 spaces, found 4
Open

    protected Collection $templates;

Line indented incorrectly; expected 8 spaces, found 4
Open

    protected ?int $showScore = null;

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function __construct()

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        $this->videoUrl = '';

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        ];

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        $this->title = $title;

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function setTools(array $tools): self

Line indented incorrectly; expected 12 spaces, found 8
Open

        if (0 === $users->count()) {

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected 16 spaces, found 12
Open

            if ($value->getId() === $user->getId()) {

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected at least 20 spaces, found 16
Open

                )

Line indented incorrectly; expected 12 spaces, found 8
Open

        }

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return false;

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        $criteria = Criteria::create()->where(Criteria::expr()->eq('user', $user));

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        $this->addSubscriptionForUser($user, 0, '', CourseRelUser::STUDENT);

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function getTools(): Collection

Line indented incorrectly; expected 12 spaces, found 8
Open

        if (!$this->hasUsers($courseRelUser)) {

Line indented incorrectly; expected at least 20 spaces, found 16
Open

                )

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $this->title;

Line indented incorrectly; expected 12 spaces, found 8
Open

        }

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        $tool->setCourse($this);

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return (bool) $this->getSubscriptionByUser($user);

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        $courseRelUser = (new CourseRelUser())

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $this;

Line indented incorrectly; expected 16 spaces, found 12
Open

            }

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function hasUsers(CourseRelUser $subscription): bool

Line indented incorrectly; expected at least 20 spaces, found 16
Open

                ->andWhere(

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function addUserAsStudent(User $user): self

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        );

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected 12 spaces, found 8
Open

        foreach ($tools as $tool) {

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function getTrackCourseRanking(): ?TrackCourseRanking

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        $matching = $users->filter(

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $matching->count() > 0 ? $matching->first() : null;

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        $courseRelUser->setCourse($this);

Line indented incorrectly; expected 12 spaces, found 8
Open

        if (0 !== $this->users->count()) {

Line indented incorrectly; expected at least 20 spaces, found 16
Open

                ->andWhere(

Line indented incorrectly; expected at least 20 spaces, found 12
Open

            $relation = $this->users->matching($criteria);

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function hasUserAsStudent(User $user): bool

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function getStudentSubscriptions(): Collection

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $this->users->matching($criteria);

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $this;

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function hasUserAsTeacher(User $user): bool

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        $teacherSubscriptions = new ArrayCollection();

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function addSubscription(CourseRelUser $courseRelUser): self

Line indented incorrectly; expected 12 spaces, found 8
Open

        foreach ($this->users as $key => $value) {

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        $users = $this->getTeachersSubscriptions();

Line indented incorrectly; expected at least 16 spaces, found 12
Open

            $this->setCode($title);

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $this->tools;

Line indented incorrectly; expected at least 16 spaces, found 12
Open

            return null;

Line indented incorrectly; expected at least 20 spaces, found 16
Open

                unset($this->users[$key]);

Line indented incorrectly; expected at least 20 spaces, found 16
Open

                )

Line indented incorrectly; expected at least 20 spaces, found 12
Open

            ;

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected 12 spaces, found 8
Open

        }

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        $criteria = Criteria::create();

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected 12 spaces, found 8
Open

        if (empty($this->code)) {

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $this;

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $this;

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $this;

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        $criteria->where(Criteria::expr()->eq('status', CourseRelUser::STUDENT));

Line indented incorrectly; expected 12 spaces, found 8
Open

        if (0 === $users->count()) {

Space before opening parenthesis of function call prohibited
Open

            fn (CourseRelUser $subscription) => $subscription->getUser()->getId() === $user->getId()

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected 12 spaces, found 8
Open

        foreach ($this->users as $subscription) {

Line indented incorrectly; expected 16 spaces, found 12
Open

            if (CourseRelUser::TEACHER === $subscription->getStatus()) {

Line indented incorrectly; expected 12 spaces, found 8
Open

        }

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $this;

Line indented incorrectly; expected 12 spaces, found 8
Open

        }

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function getUsers(): Collection

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $this->getTitle().' ('.$this->getCode().')';

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function getVisibility(): int

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $this->visibility;

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        $this->visibility = $visibility;

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $this;

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function addTool(CTool $tool): self

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $this->trackCourseRanking;

Space before opening parenthesis of function call prohibited
Open

            fn (CourseRelUser $subscription) => $subscription->getUser()->getId() === $user->getId()

Line indented incorrectly; expected 12 spaces, found 8
Open

        }

Line indented incorrectly; expected at least 16 spaces, found 12
Open

            return false;

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        $matching = $users->filter(

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $this->directory;

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function setVisibility(int $visibility): self

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function setTutorName(?string $tutorName): self

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function setTitle(string $title): self

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function hasSubscriptionByUser(User $user): bool

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $this->code;

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function setCode(string $code): self

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function setDescription(string $description): self

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        $this->categories->removeElement($category);

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $this;

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function setVisualCode(string $visualCode): self

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function setDepartmentUrl(string $departmentUrl): self

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        $this->trackCourseRanking = $trackCourseRanking;

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function getSubscriptionByUser(User $user): ?CourseRelUser

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function addSubscriptionForUser(User $user, int $relationType, ?string $role, int $status): self

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $teacherSubscriptions;

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $this->id;

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        $this->courseLanguage = $courseLanguage;

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        $this->departmentUrl = $departmentUrl;

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function setTrackCourseRanking(?TrackCourseRanking $trackCourseRanking): self

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        );

Line indented incorrectly; expected at least 16 spaces, found 12
Open

            $this->users->add($courseRelUser);

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $this;

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function removeSubscription(CourseRelUser $user): void

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        $this->addSubscription($courseRelUser);

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        $this->visualCode = $code;

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        $this->description = $description;

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        $this->showScore = $showScore;

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        $this->tutorName = $tutorName;

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function getTitle(): string

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected at least 16 spaces, found 12
Open

            $criteria = Criteria::create()

Line indented incorrectly; expected at least 20 spaces, found 12
Open

            return $relation->count() > 0;

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        ;

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $this->getStudentSubscriptions()->matching($criteria)->count() > 0;

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $this;

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected at least 16 spaces, found 12
Open

            $this->addTool($tool);

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        $this->tools->add($tool);

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        $users = $this->getUsers();

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $this->users;

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected 12 spaces, found 8
Open

        }

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $matching->count() > 0;

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function getTeachersSubscriptions(): Collection

Line indented incorrectly; expected at least 20 spaces, found 16
Open

                $teacherSubscriptions->add($subscription);

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function getTitleAndCode(): string

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function getCategories(): Collection

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $this->categories;

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function setCategories(Collection $categories): self

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $this;

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $this->visualCode;

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        $this->departmentName = $departmentName;

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function getDirectory(): ?string

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function getCourseLanguage(): string

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $this;

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected 16 spaces, found 12
Open

            }

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        $this->categories = $categories;

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        $this->categories[] = $category;

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function getVisualCode(): ?string

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $this;

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $this;

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function setShowScore(int $showScore): self

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function getDepartmentUrl(): ?string

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $this->departmentUrl;

Line indented incorrectly; expected 12 spaces, found 8
Open

        }

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function hasGroup(CGroup $group): void

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function getCode(): string

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $this->description;

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $this->showScore;

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $this->tutorName;

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $this->departmentName;

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function getId(): ?int

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $this;

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function getShowScore(): ?int

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        $this->addSubscriptionForUser($user, 0, 'Trainer', CourseRelUser::TEACHER);

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $this->courseLanguage;

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function getDescription(): ?string

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function setDepartmentName(string $departmentName): self

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        $this->visualCode = $visualCode;

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function getDepartmentName(): ?string

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function setLastEdit(DateTime $lastEdit): self

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function setSubscribe(bool $subscribe): self

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $this;

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function addUserAsTeacher(User $user): self

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $this;

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        $this->code = $code;

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function addCategory(CourseCategory $category): self

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function getTutorName(): ?string

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $this->subscribe;

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        $this->room = $room;

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function getDiskQuota(): ?int

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function getLastEdit(): ?DateTime

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $this;

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $this;

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $this->activateLegal;

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function isPublic(): bool

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        $this->legal = $legal;

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $this->room;

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $this->lastEdit;

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $this;

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function getCreationDate(): DateTime

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        $this->creationDate = $creationDate;

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        $this->subscribe = $subscribe;

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $this->addTeachersToSessionsCourses;

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function setRoom(Room $room): self

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        $this->lastEdit = $lastEdit;

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function setExpirationDate(DateTime $expirationDate): self

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $this;

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $this;

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        $activeVisibilityList = [self::REGISTERED, self::OPEN_PLATFORM, self::OPEN_WORLD];

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return \in_array($this->visibility, $activeVisibilityList, true);

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function setDiskQuota(int $diskQuota): self

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $this->creationDate;

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function setLegal(string $legal): self

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        $this->activateLegal = $activateLegal;

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function getCourseTypeId(): ?int

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        $this->courseTypeId = $courseTypeId;

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        $this->lastVisit = $lastVisit;

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function getExpirationDate(): ?DateTime

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        $this->expirationDate = $expirationDate;

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function getSubscribe(): bool

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function setCourseTypeId(int $courseTypeId): self

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function setCourseLanguage(string $courseLanguage): self

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $this;

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $this;

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $this;

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function removeCategory(CourseCategory $category): void

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $this->legal;

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function setAddTeachersToSessionsCourses(bool $addTeachersToSessionsCourses): self

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function isActive(): bool

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $this->registrationCode;

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        $this->diskQuota = $diskQuota;

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        $this->registrationCode = $registrationCode;

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $this;

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $this;

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        $this->unsubscribe = $unsubscribe;

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $this;

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $this;

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function getRoom(): ?Room

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $this;

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function setLastVisit(DateTime $lastVisit): self

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $this;

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $this->unsubscribe;

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function getRegistrationCode(): ?string

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function getActivateLegal(): ?int

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function isAddTeachersToSessionsCourses(): ?bool

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $this->courseTypeId;

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $this->diskQuota;

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function setCreationDate(DateTime $creationDate): self

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function setUnsubscribe(bool $unsubscribe): self

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function getUnsubscribe(): bool

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function setRegistrationCode(string $registrationCode): self

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function getLegal(): ?string

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function setActivateLegal(int $activateLegal): self

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function getSessions(): Collection

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        $this->skills = $skills;

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function getGradebookCategories(): Collection

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function setGradebookEvaluations(Collection $gradebookEvaluations): self

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function setSearchEngineRefs(Collection $searchEngineRefs): self

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function getLastVisit(): ?DateTime

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $this->lastVisit;

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $this->expirationDate;

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $this;

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        $this->addTeachersToSessionsCourses = $addTeachersToSessionsCourses;

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        $this->sessionRelCourseRelUsers = $sessionUserSubscriptions;

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $this->skills;

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function setGradebookCategories(Collection $gradebookCategories): self

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected at least 20 spaces, found 16
Open

                break;

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function getGradebookLinks(): Collection

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return self::HIDDEN === $this->visibility;

Line indented incorrectly; expected 12 spaces, found 8
Open

        }

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function setCurrentUrl(AccessUrl $url): self

Line indented incorrectly; expected 12 spaces, found 8
Open

        foreach ($urlList as $item) {

Line indented incorrectly; expected at least 20 spaces, found 16
Open

                $this->currentUrl = $url;

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $this->issuedSkills;

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function getSessionRelCourseRelUsers(): Collection

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $this->sessions;

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function getSearchEngineRefs(): Collection

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $this;

Line indented incorrectly; expected at least 16 spaces, found 12
Open

            $urlRelCourse->setCourse($this);

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function addAccessUrl(?AccessUrl $url): self

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function getIssuedSkills(): Collection

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function getSkills(): Collection

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function addUrls(AccessUrlRelCourse $urlRelCourse): static

Line indented incorrectly; expected 16 spaces, found 12
Open

            if ($item->getSession()->getId() === $session->getId()) {

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $this->sessionRelCourseRelUsers;

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function getTrackEHotspots(): Collection

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $this;

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function setIntroduction(?string $introduction): self

Line indented incorrectly; expected at least 16 spaces, found 12
Open

            $this->urls->add($urlRelCourse);

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function isHidden(): bool

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function getCurrentSession(): Session

Line indented incorrectly; expected 12 spaces, found 8
Open

        foreach ($list as $item) {

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $this->urls;

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $this;

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $this->gradebookCategories;

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $this;

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        $this->gradebookCategories = $gradebookCategories;

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function getGradebookEvaluations(): Collection

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function setGradebookLinks(Collection $gradebookLinks): self

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $this;

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function setTrackEHotspots(Collection $trackEHotspots): self

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected 16 spaces, found 12
Open

            }

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected 16 spaces, found 12
Open

            if ($item->getUrl()->getId() === $url->getId()) {

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        $this->trackEHotspots = $trackEHotspots;

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $this;

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return self::OPEN_WORLD === $this->visibility;

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $this->currentSession;

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        $list = $this->getSessions();

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $this;

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function setSessionRelCourseRelUsers(Collection $sessionUserSubscriptions): self

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $this;

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $this->searchEngineRefs;

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected at least 20 spaces, found 16
Open

                $this->currentSession = $session;

Line indented incorrectly; expected at least 20 spaces, found 16
Open

                break;

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $this->currentUrl;

Line indented incorrectly; expected 16 spaces, found 12
Open

            }

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function getUrls(): Collection

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $this;

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $this->gradebookEvaluations;

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $this;

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function getCurrentUrl(): AccessUrl

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        $urlList = $this->getUrls();

Line indented incorrectly; expected 12 spaces, found 8
Open

        }

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        $this->addUrls($urlRelCourse);

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        $this->gradebookLinks = $gradebookLinks;

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $this->trackEHotspots;

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function setCurrentSession(Session $session): self

Line indented incorrectly; expected 12 spaces, found 8
Open

        }

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        $urlRelCourse = (new AccessUrlRelCourse())->setUrl($url);

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $this->gradebookLinks;

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        $this->searchEngineRefs = $searchEngineRefs;

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function getIntroduction(): ?string

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected 12 spaces, found 8
Open

        if (!$this->urls->contains($urlRelCourse)) {

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function setSkills(Collection $skills): self

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        $this->gradebookEvaluations = $gradebookEvaluations;

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $this;

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $this->introduction;

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $this->templates;

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $this->videoUrl;

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $this->getId();

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function setTemplates(Collection $templates): self

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $this;

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function setDuration(?int $duration): self

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $this->setCode($name);

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $this;

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        $this->templates = $templates;

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        $this->duration = $duration;

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        $this->videoUrl = $videoUrl;

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $this;

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function getResourceName(): string

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function setResourceName(string $name): self

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $this;

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $this->duration;

Line indented incorrectly; expected 4 spaces, found 0
Open

}

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function getTemplates(): Collection

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        $this->sticky = $sticky;

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function getDefaultIllustration(int $size): string

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $this->sticky;

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function getDuration(): ?int

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        $this->introduction = $introduction;

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function getVideoUrl(): string

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function isSticky(): bool

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return '/img/session_default.svg';

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $this;

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function setSticky(bool $sticky): self

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function getResourceIdentifier(): int

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function setVideoUrl(string $videoUrl): self

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $this->getCode();

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

There are no issues that match your filters.

Category
Status