src/CoreBundle/Entity/SysAnnouncement.php
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Table(name: 'sys_announcement')]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'date_end', type: 'datetime', nullable: false)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\ManyToOne(targetEntity: AccessUrl::class)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\JoinColumn(name: 'access_url_id', referencedColumnName: 'id', onDelete: 'CASCADE')]
- Exclude checks
You must use "/**" style comments for a class comment Open
Open
class SysAnnouncement
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Entity]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'title', type: 'string', length: 250, nullable: false)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'lang', type: 'string', length: 70, nullable: true)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\GeneratedValue]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'content', type: 'text', nullable: false)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'id', type: 'integer')]
- Exclude checks
Add a single space around assignment operators Open
Open
declare(strict_types=1);
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\ManyToOne(targetEntity: Promotion::class, inversedBy: 'announcements')]
- 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\JoinColumn(name: 'career_id', referencedColumnName: 'id', onDelete: 'CASCADE')]
- Exclude checks
Missing function doc comment Open
Open
public function getRoles(): array
- 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: 'date_start', type: 'datetime', nullable: false)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(type: 'array')]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\ManyToOne(targetEntity: Career::class)]
- Exclude checks
Missing function doc comment Open
Open
public function setContent(string $content): self
- Exclude checks
Missing function doc comment Open
Open
public function hasCareer(): bool
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[Assert\NotBlank]
- Exclude checks
Missing function doc comment Open
Open
public function setTitle(string $title): self
- Exclude checks
Missing function doc comment Open
Open
public function setLang(string $lang): self
- Exclude checks
Missing function doc comment Open
Open
public function setUrl(AccessUrl $url): self
- Exclude checks
Missing function doc comment Open
Open
public function setPromotion(?Promotion $promotion): self
- Exclude checks
Missing function doc comment Open
Open
public function getUrl(): AccessUrl
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\JoinColumn(name: 'promotion_id', referencedColumnName: 'id', onDelete: 'CASCADE')]
- Exclude checks
Missing function doc comment Open
Open
public function setDateStart(DateTime $dateStart): self
- Exclude checks
Missing function doc comment Open
Open
public function setCareer(?Career $career): self
- Exclude checks
Missing function doc comment Open
Open
public function hasPromotion(): bool
- Exclude checks
Missing function doc comment Open
Open
public function setRoles(array $roles): self
- Exclude checks
Missing function doc comment Open
Open
public function addRole(string $role): self
- Exclude checks
Missing function doc comment Open
Open
public function setDateEnd(DateTime $dateEnd): self
- Exclude checks
Missing function doc comment Open
Open
public function getCareer(): ?Career
- Exclude checks
Missing function doc comment Open
Open
public function getPromotion(): ?Promotion
- Exclude checks
Missing function doc comment Open
Open
public function __construct()
- Exclude checks
Missing function doc comment Open
Open
public function isVisible(): bool
- Exclude checks