src/CourseBundle/Entity/CCalendarEvent.php
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'title', type: 'string', length: 255, nullable: false)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ApiFilter(filterClass: SidFilter::class)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[Groups(['calendar_event:read'])]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\JoinColumn(name: 'parent_event_id', referencedColumnName: 'iid')]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'comment', type: 'text', nullable: true)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ApiFilter(GlobalEventFilter::class, properties: ['type'])]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\OneToMany(mappedBy: 'event', targetEntity: CCalendarEventAttachment::class, cascade: ['persist', 'remove'])]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\OneToMany(
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[Groups(['calendar_event:write'])]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\JoinColumn(name: 'promotion_id', referencedColumnName: 'id', nullable: true)]
- Exclude checks
Missing function doc comment Open
Open
public function __toString(): string
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'start_date', type: 'datetime', nullable: true)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'all_day', type: 'boolean', nullable: false)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\ManyToOne(targetEntity: Room::class)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\ManyToOne(targetEntity: Career::class)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'content', type: 'text', nullable: true)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[Groups(['calendar_event:write'])]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'subscription_visibility', type: 'integer')]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'max_attendees', type: 'integer')]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\OneToMany(mappedBy: 'event', targetEntity: AgendaReminder::class, cascade: ['persist'], orphanRemoval: true)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\JoinColumn(name: 'career_id', referencedColumnName: 'id', nullable: true)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'iid', type: 'integer')]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\GeneratedValue]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[Groups(['calendar_event:write', 'calendar_event:read'])]
- Exclude checks
Missing function doc comment Open
Open
public function getTitle(): string
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[Groups(['calendar_event:write'])]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'collective', type: 'boolean')]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[Groups(['calendar_event:write'])]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[Groups(['calendar_event:write'])]
- Exclude checks
Missing function doc comment Open
Open
public function __construct()
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Id]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'subscription_item_id', type: 'integer', nullable: true)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[Groups(['calendar_event:write', 'calendar_event:read'])]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[Assert\NotNull]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\ManyToOne(targetEntity: Promotion::class)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Entity(repositoryClass: CCalendarEventRepository::class)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'color', type: 'string', length: 20, nullable: true)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\JoinColumn(name: 'room_id', referencedColumnName: 'id')]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[Groups(['calendar_event:write', 'calendar_event:read'])]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[Groups(['calendar_event:write'])]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ApiResource(
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Table(name: 'c_calendar_event')]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ApiFilter(filterClass: DateFilter::class, strategy: 'exclude_null')]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\OneToMany(mappedBy: 'parentEvent', targetEntity: self::class)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[Assert\NotNull]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'invitation_type', type: 'string', nullable: true)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ApiFilter(filterClass: SearchFilter::class, properties: ['allDay' => 'boolean'])]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ApiFilter(filterClass: CidFilter::class)]
- Exclude checks
You must use "/**" style comments for a class comment Open
Open
class CCalendarEvent extends AbstractResource implements ResourceInterface, Stringable
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[Assert\NotBlank]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\ManyToOne(targetEntity: self::class, inversedBy: 'children')]
- Exclude checks
Add a single space around assignment operators Open
Open
declare(strict_types=1);
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[Groups(['calendar_event:write', 'calendar_event:read'])]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[Groups(['calendar_event:write', 'calendar_event:read'])]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'end_date', type: 'datetime', nullable: true)]
- Exclude checks
Missing function doc comment Open
Open
public function getContent(): ?string
- Exclude checks
Missing function doc comment Open
Open
public function setEndDate(?DateTime $endDate): self
- Exclude checks
Missing function doc comment Open
Open
public function setComment(string $comment): self
- Exclude checks
Missing function doc comment Open
Open
public function setRoom(Room $room): self
- Exclude checks
Missing function doc comment Open
Open
public function setAttachments(Collection $attachments): self
- Exclude checks
Missing function doc comment Open
Open
public function setTitle(string $title): self
- Exclude checks
Missing function doc comment Open
Open
public function setStartDate(?DateTime $startDate): self
- Exclude checks
Missing function doc comment Open
Open
public function setContent(string $content): self
- Exclude checks
Missing function doc comment Open
Open
public function getParentEvent(): ?self
- Exclude checks
Missing function doc comment Open
Open
public function getComment(): ?string
- Exclude checks
Missing function doc comment Open
Open
public function getEndDate(): ?DateTime
- Exclude checks
Missing function doc comment Open
Open
public function addAttachment(CCalendarEventAttachment $attachment): self
- Exclude checks
Missing function doc comment Open
Open
public function getRoom(): ?Room
- Exclude checks
Missing function doc comment Open
Open
public function setParentEvent(self $parent): self
- Exclude checks
Missing function doc comment Open
Open
public function isAllDay(): bool
- Exclude checks
Missing function doc comment Open
Open
public function getColor(): ?string
- Exclude checks
Missing function doc comment Open
Open
public function getIid(): ?int
- Exclude checks
Missing function doc comment Open
Open
public function getResourceName(): string
- Exclude checks
Missing function doc comment Open
Open
public function addChild(self $event): self
- Exclude checks
Missing function doc comment Open
Open
public function getStartDate(): ?DateTime
- Exclude checks
Missing function doc comment Open
Open
public function setColor(string $color): self
- Exclude checks
Missing function doc comment Open
Open
public function setAllDay(bool $allDay): self
- Exclude checks
Missing function doc comment Open
Open
public function getResourceIdentifier(): int|Uuid
- Exclude checks
Missing function doc comment Open
Open
public function getInvitationType(): ?string
- Exclude checks
Missing function doc comment Open
Open
public function getPromotion(): ?Promotion
- Exclude checks
Missing function doc comment Open
Open
public function getSubscriptionItemId(): ?int
- Exclude checks
Missing function doc comment Open
Open
public function isCollective(): bool
- Exclude checks
Missing function doc comment Open
Open
public function getSubscriptionVisibility(): int
- Exclude checks
Missing function doc comment Open
Open
public function setPromotion(?Promotion $promotion): self
- Exclude checks
Missing function doc comment Open
Open
public function setResourceName(string $name): self
- Exclude checks
Missing function doc comment Open
Open
public function getMaxAttendees(): int
- Exclude checks
Missing function doc comment Open
Open
public function removeReminder(AgendaReminder $reminder): static
- Exclude checks
Missing function doc comment Open
Open
public function setCollective(bool $collective): self
- Exclude checks
Missing function doc comment Open
Open
public function determineType(): string
- Exclude checks
Missing function doc comment Open
Open
public function setInvitationType(string $invitationType): self
- Exclude checks
Missing function doc comment Open
Open
public function getCareer(): ?Career
- Exclude checks
Missing function doc comment Open
Open
public function setSubscriptionVisibility(int $subscriptionVisibility): self
- Exclude checks
Missing function doc comment Open
Open
public function setSubscriptionItemId(?int $subscriptionItemId): self
- Exclude checks
Missing function doc comment Open
Open
public function addReminder(AgendaReminder $reminder): static
- Exclude checks
Scope keyword "static" must be followed by a single space Open
Open
public function removeReminder(AgendaReminder $reminder): static
- Exclude checks
Missing function doc comment Open
Open
public function setCareer(?Career $career): self
- Exclude checks
Scope keyword "static" must be followed by a single space Open
Open
public function addReminder(AgendaReminder $reminder): static
- Exclude checks
Missing function doc comment Open
Open
public function setMaxAttendees(int $maxAttendees): self
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
protected int $subscriptionVisibility = self::SUBSCRIPTION_VISIBILITY_NO;
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->repeatEvents = new ArrayCollection();
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->collective = false;
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->reminders = new ArrayCollection();
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this->getTitle();
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function __construct()
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
protected ?Room $room = null;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 4 spaces, found 0 Open
Open
{
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
protected ?DateTime $endDate = null;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
protected ?CCalendarEvent $parentEvent = null;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
protected ?Career $career = null;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public const TYPE_INVITATION = 'invitation';
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
protected Collection $attachments;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
private Collection $reminders;
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->children = new ArrayCollection();
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
protected bool $allDay;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
protected bool $collective = false;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
protected ?int $iid = null;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
protected ?int $subscriptionItemId = null;
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->allDay = false;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function getTitle(): string
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
protected Collection $repeatEvents;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
protected ?Promotion $promotion = null;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
protected ?string $comment = null;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
protected ?string $color = null;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public const SUBSCRIPTION_VISIBILITY_NO = 0;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
protected ?string $invitationType = null;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
protected int $maxAttendees = 0;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public const TYPE_SUBSCRIPTION = 'subscription';
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
)]
- Exclude checks
Line indented incorrectly; expected 4 spaces, found 0 Open
Open
class CCalendarEvent extends AbstractResource implements ResourceInterface, Stringable
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public const COLOR_STUDENT_PUBLICATION = '#FF8C00';
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function __toString(): string
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this->title;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
protected ?string $content = null;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
protected Collection $children;
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected at least 4 spaces, found 0 Open
Open
)]
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public const SUBSCRIPTION_VISIBILITY_ALL = 1;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
protected ?DateTime $startDate = null;
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public const SUBSCRIPTION_VISIBILITY_CLASS = 2;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
protected string $title;
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->attachments = new ArrayCollection();
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function getContent(): ?string
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function getParentEvent(): ?self
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this->parentEvent;
- Exclude checks
Line indented incorrectly; expected at least 16 spaces, found 12 Open
Open
$this->getChildren()->add($event);
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->allDay = $allDay;
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->color = $color;
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function getIid(): ?int
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->title = $title;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function setParentEvent(self $parent): self
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function addChild(self $event): self
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this->comment;
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this->room;
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this->repeatEvents;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function getResourceIdentifier(): int|Uuid
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this->content;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this;
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function setComment(string $comment): self
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->room = $room;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function getAttachments(): Collection
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function setAllDay(bool $allDay): self
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this->getIid();
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this;
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function setChildren(Collection $children): self
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function getRoom(): ?Room
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function setRoom(Room $room): self
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function setColor(string $color): self
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function addAttachment(CCalendarEventAttachment $attachment): self
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this;
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function setContent(string $content): self
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->content = $content;
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this->attachments;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function setEndDate(?DateTime $endDate): self
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this->endDate;
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected 12 spaces, found 8 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this;
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this->children;
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->children = $children;
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function getEndDate(): ?DateTime
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this;
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function getResourceName(): string
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this->startDate;
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function getChildren(): Collection
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this;
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->attachments->add($attachment);
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function setRepeatEvents(Collection $repeatEvents): self
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function setTitle(string $title): self
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->endDate = $endDate;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function getComment(): ?string
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function isAllDay(): bool
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this->allDay;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this->iid;
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected 12 spaces, found 8 Open
Open
if (!$this->getChildren()->contains($event)) {
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->comment = $comment;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function getRepeatEvents(): Collection
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this;
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->parentEvent = $parent;
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function getColor(): ?string
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this->color;
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->attachments = $attachments;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function getStartDate(): ?DateTime
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function setStartDate(?DateTime $startDate): self
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this;
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->repeatEvents = $repeatEvents;
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->startDate = $startDate;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function setAttachments(Collection $attachments): self
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function setResourceName(string $name): self
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function getInvitationType(): ?string
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this->invitationType;
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function setSubscriptionVisibility(int $subscriptionVisibility): self
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function setMaxAttendees(int $maxAttendees): self
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected 16 spaces, found 12 Open
Open
if (null !== $link->getCourse()) {
- Exclude checks
Line indented incorrectly; expected 16 spaces, found 12 Open
Open
if (null !== $link->getSession()) {
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 16 spaces, found 12 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function getSubscriptionItemId(): ?int
- Exclude checks
Line indented incorrectly; expected 12 spaces, found 8 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function setPromotion(?Promotion $promotion): self
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$resourceLinks = $this->resourceNode->getResourceLinks();
- Exclude checks
Line indented incorrectly; expected at least 20 spaces, found 12 Open
Open
) {
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this;
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected at least 20 spaces, found 16 Open
Open
$reminder->setEvent(null);
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this;
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this;
- Exclude checks
Line indented incorrectly; expected 12 spaces, found 8 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this->getTitle();
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function getReminders(): Collection
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function addReminder(AgendaReminder $reminder): static
- Exclude checks
Line indented incorrectly; expected 12 spaces, found 8 Open
Open
if (!$this->reminders->contains($reminder)) {
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->career = $career;
- Exclude checks
Line indented incorrectly; expected 16 spaces, found 12 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this->setTitle($name);
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function isCollective(): bool
- Exclude checks
Line indented incorrectly; expected at least 16 spaces, found 12 Open
Open
$reminder->setEvent($this);
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->promotion = $promotion;
- Exclude checks
Line indented incorrectly; expected 16 spaces, found 12 Open
Open
if (null === $link->getCourse()
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function setCollective(bool $collective): self
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function setSubscriptionItemId(?int $subscriptionItemId): self
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this->career;
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->invitationType = $invitationType;
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->maxAttendees = $maxAttendees;
- Exclude checks
Line indented incorrectly; expected 12 spaces, found 8 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function getCareer(): ?Career
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function setCareer(?Career $career): self
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function determineType(): string
- Exclude checks
Line indented incorrectly; expected at least 24 spaces, found 16 Open
Open
return 'global';
- Exclude checks
Line indented incorrectly; expected 4 spaces, found 0 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected at least 20 spaces, found 16 Open
Open
return 'course';
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this->collective;
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->collective = $collective;
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this->subscriptionVisibility;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this->maxAttendees;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this;
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function setInvitationType(string $invitationType): self
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->subscriptionVisibility = $subscriptionVisibility;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 16 spaces, found 12 Open
Open
if ($reminder->getEvent() === $this) {
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function getPromotion(): ?Promotion
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected at least 20 spaces, found 16 Open
Open
return 'session';
- Exclude checks
Line indented incorrectly; expected 16 spaces, found 12 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this->subscriptionItemId;
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->subscriptionItemId = $subscriptionItemId;
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this->reminders;
- Exclude checks
Line indented incorrectly; expected 12 spaces, found 8 Open
Open
if ($this->reminders->removeElement($reminder)) {
- Exclude checks
Line indented incorrectly; expected 16 spaces, found 12 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function getSubscriptionVisibility(): int
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function getMaxAttendees(): int
- Exclude checks
Line indented incorrectly; expected at least 16 spaces, found 12 Open
Open
$this->reminders->add($reminder);
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this->promotion;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return 'personal';
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function removeReminder(AgendaReminder $reminder): static
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 12 spaces, found 8 Open
Open
foreach ($resourceLinks as $link) {
- Exclude checks