chamilo/chamilo-lms

View on GitHub
src/CourseBundle/Entity/CCalendarEvent.php

Summary

Maintainability
A
0 mins
Test Coverage

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

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

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

#[ApiFilter(filterClass: SidFilter::class)]

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

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

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

    #[ORM\JoinColumn(name: 'parent_event_id', referencedColumnName: 'iid')]

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

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

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

#[ApiFilter(GlobalEventFilter::class, properties: ['type'])]

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

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

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

    #[Groups(['calendar_event:write'])]

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

    #[ORM\JoinColumn(name: 'promotion_id', referencedColumnName: 'id', nullable: true)]

Missing function doc comment
Open

    public function __toString(): string

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

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

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

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

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

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

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

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

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

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

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

    #[Groups(['calendar_event:write'])]

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

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

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

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

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

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

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

    #[ORM\JoinColumn(name: 'career_id', referencedColumnName: 'id', nullable: true)]

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

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

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

    #[ORM\GeneratedValue]

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

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

Missing function doc comment
Open

    public function getTitle(): string

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

    #[Groups(['calendar_event:write'])]

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

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

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

    #[Groups(['calendar_event:write'])]

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

    #[Groups(['calendar_event:write'])]

Missing function doc comment
Open

    public function __construct()

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\Column(name: 'subscription_item_id', type: 'integer', nullable: true)]

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

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

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\ManyToOne(targetEntity: Promotion::class)]

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

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

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

    #[ORM\Column(name: 'color', type: 'string', length: 20, 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

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

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

    #[Groups(['calendar_event:write'])]

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\Table(name: 'c_calendar_event')]

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

#[ApiFilter(filterClass: DateFilter::class, strategy: 'exclude_null')]

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

    #[ORM\OneToMany(mappedBy: 'parentEvent', targetEntity: self::class)]

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: 'invitation_type', type: 'string', nullable: true)]

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

#[ApiFilter(filterClass: SearchFilter::class, properties: ['allDay' => 'boolean'])]

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

#[ApiFilter(filterClass: CidFilter::class)]

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

class CCalendarEvent extends AbstractResource implements ResourceInterface, Stringable

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\ManyToOne(targetEntity: self::class, inversedBy: 'children')]

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(['calendar_event:write', 'calendar_event:read'])]

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

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

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

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

Missing function doc comment
Open

    public function getContent(): ?string

Missing function doc comment
Open

    public function setEndDate(?DateTime $endDate): self

Missing function doc comment
Open

    public function setComment(string $comment): self

Missing function doc comment
Open

    public function setRoom(Room $room): self

Missing function doc comment
Open

    public function setAttachments(Collection $attachments): self

Missing function doc comment
Open

    public function setTitle(string $title): self

Missing function doc comment
Open

    public function setStartDate(?DateTime $startDate): self

Missing function doc comment
Open

    public function setContent(string $content): self

Missing function doc comment
Open

    public function getParentEvent(): ?self

Missing function doc comment
Open

    public function getComment(): ?string

Missing function doc comment
Open

    public function getEndDate(): ?DateTime

Missing function doc comment
Open

    public function addAttachment(CCalendarEventAttachment $attachment): self

Missing function doc comment
Open

    public function getRoom(): ?Room

Missing function doc comment
Open

    public function setParentEvent(self $parent): self

Missing function doc comment
Open

    public function isAllDay(): bool

Missing function doc comment
Open

    public function getColor(): ?string

Missing function doc comment
Open

    public function getIid(): ?int

Missing function doc comment
Open

    public function getResourceName(): string

Missing function doc comment
Open

    public function addChild(self $event): self

Missing function doc comment
Open

    public function getStartDate(): ?DateTime

Missing function doc comment
Open

    public function setColor(string $color): self

Missing function doc comment
Open

    public function setAllDay(bool $allDay): self

Missing function doc comment
Open

    public function getResourceIdentifier(): int|Uuid

Missing function doc comment
Open

    public function getInvitationType(): ?string

Missing function doc comment
Open

    public function getPromotion(): ?Promotion

Missing function doc comment
Open

    public function getSubscriptionItemId(): ?int

Missing function doc comment
Open

    public function isCollective(): bool

Missing function doc comment
Open

    public function getSubscriptionVisibility(): int

Missing function doc comment
Open

    public function setPromotion(?Promotion $promotion): self

Missing function doc comment
Open

    public function setResourceName(string $name): self

Missing function doc comment
Open

    public function getMaxAttendees(): int

Missing function doc comment
Open

    public function removeReminder(AgendaReminder $reminder): static

Missing function doc comment
Open

    public function setCollective(bool $collective): self

Missing function doc comment
Open

    public function determineType(): string

Missing function doc comment
Open

    public function setInvitationType(string $invitationType): self

Missing function doc comment
Open

    public function getCareer(): ?Career

Missing function doc comment
Open

    public function setSubscriptionVisibility(int $subscriptionVisibility): self

Missing function doc comment
Open

    public function setSubscriptionItemId(?int $subscriptionItemId): self

Missing function doc comment
Open

    public function addReminder(AgendaReminder $reminder): static

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

    public function removeReminder(AgendaReminder $reminder): static

Missing function doc comment
Open

    public function setCareer(?Career $career): self

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

    public function addReminder(AgendaReminder $reminder): static

Missing function doc comment
Open

    public function setMaxAttendees(int $maxAttendees): self

Line indented incorrectly; expected 8 spaces, found 4
Open

    protected int $subscriptionVisibility = self::SUBSCRIPTION_VISIBILITY_NO;

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

        $this->repeatEvents = new ArrayCollection();

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

        $this->collective = false;

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

        $this->reminders = 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

    public function __construct()

Line indented incorrectly; expected 8 spaces, found 4
Open

    protected ?Room $room = null;

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

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

{

Line indented incorrectly; expected 8 spaces, found 4
Open

    protected ?DateTime $endDate = null;

Line indented incorrectly; expected 8 spaces, found 4
Open

    protected ?CCalendarEvent $parentEvent = null;

Line indented incorrectly; expected 8 spaces, found 4
Open

    protected ?Career $career = null;

Line indented incorrectly; expected 8 spaces, found 4
Open

    public const TYPE_INVITATION = 'invitation';

Line indented incorrectly; expected 8 spaces, found 4
Open

    protected Collection $attachments;

Line indented incorrectly; expected 8 spaces, found 4
Open

    private Collection $reminders;

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

        $this->children = new ArrayCollection();

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

    {

Line indented incorrectly; expected 8 spaces, found 4
Open

    protected bool $allDay;

Line indented incorrectly; expected 8 spaces, found 4
Open

    protected bool $collective = false;

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected 8 spaces, found 4
Open

    protected ?int $iid = null;

Line indented incorrectly; expected 8 spaces, found 4
Open

    protected ?int $subscriptionItemId = null;

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

        $this->allDay = false;

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function getTitle(): string

Line indented incorrectly; expected 8 spaces, found 4
Open

    protected Collection $repeatEvents;

Line indented incorrectly; expected 8 spaces, found 4
Open

    protected ?Promotion $promotion = null;

Line indented incorrectly; expected 8 spaces, found 4
Open

    protected ?string $comment = null;

Line indented incorrectly; expected 8 spaces, found 4
Open

    protected ?string $color = null;

Line indented incorrectly; expected 8 spaces, found 4
Open

    public const SUBSCRIPTION_VISIBILITY_NO = 0;

Line indented incorrectly; expected 8 spaces, found 4
Open

    protected ?string $invitationType = null;

Line indented incorrectly; expected 8 spaces, found 4
Open

    protected int $maxAttendees = 0;

Line indented incorrectly; expected 8 spaces, found 4
Open

    public const TYPE_SUBSCRIPTION = 'subscription';

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

    )]

Line indented incorrectly; expected 4 spaces, found 0
Open

class CCalendarEvent extends AbstractResource implements ResourceInterface, Stringable

Line indented incorrectly; expected 8 spaces, found 4
Open

    public const COLOR_STUDENT_PUBLICATION = '#FF8C00';

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function __toString(): string

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

        return $this->title;

Line indented incorrectly; expected 8 spaces, found 4
Open

    protected ?string $content = null;

Line indented incorrectly; expected 8 spaces, found 4
Open

    protected Collection $children;

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

    {

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

)]

Line indented incorrectly; expected 8 spaces, found 4
Open

    public const SUBSCRIPTION_VISIBILITY_ALL = 1;

Line indented incorrectly; expected 8 spaces, found 4
Open

    protected ?DateTime $startDate = null;

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

    {

Line indented incorrectly; expected 8 spaces, found 4
Open

    public const SUBSCRIPTION_VISIBILITY_CLASS = 2;

Line indented incorrectly; expected 8 spaces, found 4
Open

    protected string $title;

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

        $this->attachments = new ArrayCollection();

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function getContent(): ?string

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function getParentEvent(): ?self

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

        return $this->parentEvent;

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

            $this->getChildren()->add($event);

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

        $this->allDay = $allDay;

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

    {

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

        $this->color = $color;

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

        return $this;

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function getIid(): ?int

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

        $this->title = $title;

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function setParentEvent(self $parent): self

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function addChild(self $event): 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 at least 12 spaces, found 8
Open

        return $this->comment;

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->repeatEvents;

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function getResourceIdentifier(): int|Uuid

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

        return $this->content;

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 8 spaces, found 4
Open

    public function setComment(string $comment): self

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 getAttachments(): Collection

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 8 spaces, found 4
Open

    public function setAllDay(bool $allDay): 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 12 spaces, found 8
Open

        return $this->getIid();

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

    public function setChildren(Collection $children): self

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function getRoom(): ?Room

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function setRoom(Room $room): self

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function setColor(string $color): self

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function addAttachment(CCalendarEventAttachment $attachment): 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 8 spaces, found 4
Open

    }

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function setContent(string $content): self

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

        $this->content = $content;

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 at least 12 spaces, found 8
Open

        return $this->attachments;

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 setEndDate(?DateTime $endDate): 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 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->endDate;

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

        return $this;

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

        return $this->children;

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

        $this->children = $children;

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 getEndDate(): ?DateTime

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

    public function getResourceName(): 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->startDate;

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

    {

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function getChildren(): Collection

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

        return $this;

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

        $this->attachments->add($attachment);

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function setRepeatEvents(Collection $repeatEvents): self

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function setTitle(string $title): self

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

        $this->endDate = $endDate;

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function getComment(): ?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 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 isAllDay(): bool

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

        return $this->allDay;

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->iid;

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

    {

Line indented incorrectly; expected 12 spaces, found 8
Open

        if (!$this->getChildren()->contains($event)) {

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->comment = $comment;

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function getRepeatEvents(): Collection

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

        return $this;

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

        $this->parentEvent = $parent;

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

    {

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function getColor(): ?string

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

        return $this->color;

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

        $this->attachments = $attachments;

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

    public function getStartDate(): ?DateTime

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function setStartDate(?DateTime $startDate): 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;

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

        $this->repeatEvents = $repeatEvents;

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

        $this->startDate = $startDate;

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 setAttachments(Collection $attachments): self

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

    {

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function setResourceName(string $name): self

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function getInvitationType(): ?string

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

        return $this->invitationType;

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

        return $this;

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function setSubscriptionVisibility(int $subscriptionVisibility): self

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

    {

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function setMaxAttendees(int $maxAttendees): self

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 8 spaces, found 4
Open

    {

Line indented incorrectly; expected 16 spaces, found 12
Open

            if (null !== $link->getCourse()) {

Line indented incorrectly; expected 16 spaces, found 12
Open

            if (null !== $link->getSession()) {

Line indented incorrectly; expected 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 8 spaces, found 4
Open

    public function getSubscriptionItemId(): ?int

Line indented incorrectly; expected 12 spaces, found 8
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 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 setPromotion(?Promotion $promotion): self

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

        $resourceLinks = $this->resourceNode->getResourceLinks();

Line indented incorrectly; expected at least 20 spaces, found 12
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 20 spaces, found 16
Open

                $reminder->setEvent(null);

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 12 spaces, found 8
Open

        }

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

        return $this->getTitle();

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 getReminders(): Collection

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function addReminder(AgendaReminder $reminder): static

Line indented incorrectly; expected 12 spaces, found 8
Open

        if (!$this->reminders->contains($reminder)) {

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

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

        $this->career = $career;

Line indented incorrectly; expected 16 spaces, found 12
Open

            }

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

        return $this->setTitle($name);

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function isCollective(): bool

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

            $reminder->setEvent($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->promotion = $promotion;

Line indented incorrectly; expected 16 spaces, found 12
Open

            if (null === $link->getCourse()

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

    {

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function setCollective(bool $collective): self

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 setSubscriptionItemId(?int $subscriptionItemId): self

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

        return $this->career;

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

    {

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

        $this->invitationType = $invitationType;

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->maxAttendees = $maxAttendees;

Line indented incorrectly; expected 12 spaces, found 8
Open

        }

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function getCareer(): ?Career

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function setCareer(?Career $career): self

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function determineType(): string

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

                return 'global';

Line indented incorrectly; expected 4 spaces, found 0
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 20 spaces, found 16
Open

                return 'course';

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

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

        return $this->collective;

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

        $this->collective = $collective;

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

        return $this->subscriptionVisibility;

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

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

        return $this->maxAttendees;

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 8 spaces, found 4
Open

    public function setInvitationType(string $invitationType): self

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 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->subscriptionVisibility = $subscriptionVisibility;

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected 16 spaces, found 12
Open

            if ($reminder->getEvent() === $this) {

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function getPromotion(): ?Promotion

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

    {

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

                return 'session';

Line indented incorrectly; expected 16 spaces, found 12
Open

            }

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

        return $this->subscriptionItemId;

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

        $this->subscriptionItemId = $subscriptionItemId;

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

        return $this->reminders;

Line indented incorrectly; expected 12 spaces, found 8
Open

        if ($this->reminders->removeElement($reminder)) {

Line indented incorrectly; expected 16 spaces, found 12
Open

            }

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function getSubscriptionVisibility(): int

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function getMaxAttendees(): int

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

            $this->reminders->add($reminder);

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

        return $this->promotion;

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

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

        return 'personal';

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

    public function removeReminder(AgendaReminder $reminder): static

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected 12 spaces, found 8
Open

        foreach ($resourceLinks as $link) {

There are no issues that match your filters.

Category
Status