src/CoreBundle/Entity/Skill.php
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\Table(name: 'skill')]
- Exclude checks
You must use "/**" style comments for a class comment Open
Open
class Skill implements Stringable, Translatable
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\OneToMany(mappedBy: 'skill', targetEntity: SkillRelItem::class, cascade: ['persist'])]
- Exclude checks
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
#[ORM\Entity(repositoryClass: SkillRepository::class)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\OneToMany(mappedBy: 'skill', targetEntity: SkillRelCourse::class, cascade: ['persist'])]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[Groups(['skill:read', 'skill:write'])]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\ManyToOne(targetEntity: Asset::class, cascade: ['persist', 'remove'])]
- 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\OneToMany(mappedBy: 'skill', targetEntity: SkillRelSkill::class, cascade: ['persist'])]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[Groups(['skill:read', 'skill:write', 'skill_rel_user:read'])]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\ManyToOne(targetEntity: Profile::class, inversedBy: 'skills')]
- 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
#[Gedmo\Locale]
- 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\Column(name: 'id', type: 'integer')]
- 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
#[ApiResource(normalizationContext: ['groups' => ['skill:read']], security: 'is_granted(\'ROLE_ADMIN\')')]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\JoinColumn(name: 'profile_id', referencedColumnName: 'id')]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[Gedmo\Translatable]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[Groups(['skill:read', 'skill_rel_user:read'])]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'short_code', type: 'string', length: 100, nullable: false)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'access_url_id', type: 'integer', nullable: false)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'status', type: 'integer', nullable: false, options: ['default' => 1])]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ApiFilter(SearchFilter::class, properties: ['issuedSkills.user' => 'exact'])]
- Exclude checks
Missing function doc comment Open
Open
public function getIcon(): string
- Exclude checks
Missing function doc comment Open
Open
public function getUpdatedAt(): DateTime
- Exclude checks
Missing function doc comment Open
Open
public function getId(): ?int
- Exclude checks
Missing function doc comment Open
Open
public function setProfile(Profile $profile): self
- 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\OneToMany(mappedBy: 'skill', targetEntity: SkillRelGradebook::class, cascade: ['persist'])]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[Assert\NotBlank]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'icon', type: 'string', length: 255, nullable: false)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\JoinColumn(name: 'asset_id', referencedColumnName: 'id')]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'criteria', type: 'text', nullable: true)]
- Exclude checks
Missing function doc comment Open
Open
public function setTitle(string $title): self
- Exclude checks
Missing function doc comment Open
Open
public function getShortCode(): string
- Exclude checks
Missing function doc comment Open
Open
public function getAccessUrlId(): int
- Exclude checks
Missing function doc comment Open
Open
public function setCriteria(string $criteria): self
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[Groups(['skill:read'])]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\OneToMany(mappedBy: 'skill', targetEntity: SkillRelUser::class, cascade: ['persist'])]
- Exclude checks
Missing function doc comment Open
Open
public function getDescription(): string
- Exclude checks
Scope keyword "static" must be followed by a single space Open
Open
public function setAccessUrlId(int $accessUrlId): static
- Exclude checks
Missing function doc comment Open
Open
public function getCourses(): Collection
- Exclude checks
Missing function doc comment Open
Open
public function setItems(ArrayCollection $items): self
- Exclude checks
Missing function doc comment Open
Open
public function addToCourse(SkillRelCourse $item): void
- Exclude checks
Missing function doc comment Open
Open
public function getTitle(): string
- Exclude checks
Missing function doc comment Open
Open
public function setShortCode(string $shortCode): self
- Exclude checks
Missing function doc comment Open
Open
public function getCriteria(): ?string
- Exclude checks
Missing function doc comment Open
Open
public function setLocale(string $locale): self
- Exclude checks
Missing function doc comment Open
Open
public function setAsset(?Asset $asset): self
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[Groups(['skill:read'])]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[Gedmo\Translatable]
- Exclude checks
Missing function doc comment Open
Open
public function setIcon(string $icon): self
- Exclude checks
Missing function doc comment Open
Open
public function setUpdatedAt(DateTime $updatedAt): static
- Exclude checks
Missing function doc comment Open
Open
public function addItem(SkillRelItem $skillRelItem): void
- Exclude checks
Missing function doc comment Open
Open
public function setStatus(int $status): self
- 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
#[Groups(['skill:read', 'skill:write'])]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'description', type: 'text', nullable: false)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[Gedmo\Timestampable(on: 'update')]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'updated_at', type: 'datetime', nullable: false)]
- Exclude checks
Missing function doc comment Open
Open
public function getAsset(): ?Asset
- Exclude checks
Missing function doc comment Open
Open
public function getProfile(): ?Profile
- Exclude checks
Missing function doc comment Open
Open
public function hasItem(int $typeId, int $itemId): bool
- Exclude checks
Missing function doc comment Open
Open
public function getStatus(): int
- Exclude checks
Scope keyword "static" must be followed by a single space Open
Open
public function setUpdatedAt(DateTime $updatedAt): static
- Exclude checks
Missing function doc comment Open
Open
public function setCourses(ArrayCollection $courses): self
- Exclude checks
Missing function doc comment Open
Open
public function hasCourseAndSession(SkillRelCourse $searchItem): bool
- Exclude checks
Missing function doc comment Open
Open
public function hasAsset(): bool
- Exclude checks
Missing function doc comment Open
Open
public function setDescription(string $description): self
- Exclude checks
Missing function doc comment Open
Open
public function getLocale(): string
- Exclude checks
Missing function doc comment Open
Open
public function setAccessUrlId(int $accessUrlId): static
- Exclude checks