src/CoreBundle/Entity/ToolResourceRight.php
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\JoinColumn(name: 'tool_id', referencedColumnName: 'id')]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\GeneratedValue]
- 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\Entity]
- 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\ManyToOne(targetEntity: Tool::class, cascade: ['persist'])]
- Exclude checks
Missing function doc comment Open
Open
public function getId(): int
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'role', type: 'string', length: 255, nullable: false)]
- Exclude checks
Missing function doc comment Open
Open
public function setMask(int $mask): self
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'id', type: 'integer')]
- Exclude checks
Missing function doc comment Open
Open
public function getTool(): Tool
- Exclude checks
Missing function doc comment Open
Open
public function setTool(Tool $tool): self
- Exclude checks
Missing function doc comment Open
Open
public function setRole(string $role): self
- Exclude checks
You must use "/**" style comments for a class comment Open
Open
class ToolResourceRight implements Stringable
- Exclude checks
Missing function doc comment Open
Open
public function __toString(): string
- Exclude checks
Missing function doc comment Open
Open
public static function getDefaultRoles(): array
- Exclude checks
Missing function doc comment Open
Open
public static function getMaskList(): array
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Table(name: 'tool_resource_right')]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'mask', type: 'integer', nullable: false)]
- Exclude checks