src/CoreBundle/Entity/XApiCmi5Item.php
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(length: 255)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[Gedmo\TreeRoot]
- Exclude checks
Missing function doc comment Open
Open
public function setActivityType(?string $activityType): static
- Exclude checks
Scope keyword "static" must be followed by a single space Open
Open
public function setRoot(?self $root): static
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(nullable: true)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\ManyToOne(targetEntity: self::class)]
- Exclude checks
Scope keyword "static" must be followed by a single space Open
Open
public function setType(string $type): static
- Exclude checks
Scope keyword "static" must be followed by a single space Open
Open
public function setMasteryScore(?float $masteryScore): static
- Exclude checks
Scope keyword "static" must be followed by a single space Open
Open
public function setStatus(?string $status): static
- Exclude checks
Scope keyword "static" must be followed by a single space Open
Open
public function setñlvl(int $lvl): static
- Exclude checks
Scope keyword "static" must be followed by a single space Open
Open
public function setRgt(int $rgt): static
- Exclude checks
Scope keyword "static" must be followed by a single space Open
Open
public function addChild(self $child): static
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Entity(repositoryClass: XApiCmi5ItemRepository::class)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(length: 255, nullable: true)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(length: 255, nullable: true)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column]
- Exclude checks
Missing function doc comment Open
Open
public function getIdentifier(): ?string
- Exclude checks
Missing function doc comment Open
Open
public function getActivityType(): ?string
- Exclude checks
Missing function doc comment Open
Open
public function setMasteryScore(?float $masteryScore): static
- Exclude checks
Missing function doc comment Open
Open
public function getLaunchParameters(): ?string
- Exclude checks
Scope keyword "static" must be followed by a single space Open
Open
public function setLft(int $lft): static
- Exclude checks
Method name "XApiCmi5Item::getñlvl" is not in camel caps format Open
Open
public function getñlvl(): ?int
- Exclude checks
Missing function doc comment Open
Open
public function setTool(?XApiToolLaunch $tool): static
- Exclude checks
Missing function doc comment Open
Open
public function getId(): ?int
- Exclude checks
Missing function doc comment Open
Open
public function getDescription(): array
- Exclude checks
Missing function doc comment Open
Open
public function getRoot(): ?self
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(length: 255, nullable: true)]
- Exclude checks
Missing function doc comment Open
Open
public function __construct()
- Exclude checks
Missing function doc comment Open
Open
public function setDescription(array $description): static
- Exclude checks
Scope keyword "static" must be followed by a single space Open
Open
public function setActivityType(?string $activityType): static
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column]
- Exclude checks
Scope keyword "static" must be followed by a single space Open
Open
public function setLaunchParameters(?string $launchParameters): static
- Exclude checks
Scope keyword "static" must be followed by a single space Open
Open
public function removeChild(self $child): static
- Exclude checks
Missing function doc comment Open
Open
public function getTool(): ?XApiToolLaunch
- Exclude checks
Scope keyword "static" must be followed by a single space Open
Open
public function setIdentifier(string $identifier): static
- Exclude checks
Missing function doc comment Open
Open
public function setLaunchMethod(?string $launchMethod): static
- Exclude checks
Missing function doc comment Open
Open
public function getMoveOn(): ?string
- Exclude checks
Missing function doc comment Open
Open
public function setMoveOn(?string $moveOn): static
- Exclude checks
Missing function doc comment Open
Open
public function setLaunchParameters(?string $launchParameters): static
- Exclude checks
Missing function doc comment Open
Open
public function getRgt(): ?int
- Exclude checks
Missing function doc comment Open
Open
public function setRgt(int $rgt): static
- Exclude checks
Missing function doc comment Open
Open
public function getParent(): ?self
- 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\Column(length: 255, nullable: true)]
- Exclude checks
Missing function doc comment Open
Open
public function setTitle(array $title): static
- Exclude checks
Missing function doc comment Open
Open
public function getUrl(): ?string
- Exclude checks
Scope keyword "static" must be followed by a single space Open
Open
public function setUrl(?string $url): static
- Exclude checks
You must use "/**" style comments for a class comment Open
Open
class XApiCmi5Item
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[Gedmo\TreeLevel]
- Exclude checks
Missing function doc comment Open
Open
public function setIdentifier(string $identifier): static
- Exclude checks
Scope keyword "static" must be followed by a single space Open
Open
public function setDescription(array $description): static
- Exclude checks
Method name "XApiCmi5Item::setñlvl" is not in camel caps format Open
Open
public function setñlvl(int $lvl): static
- Exclude checks
Missing function doc comment Open
Open
public function setRoot(?self $root): static
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(length: 255, nullable: true)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\ManyToOne(inversedBy: 'items')]
- Exclude checks
Missing function doc comment Open
Open
public function getType(): ?string
- Exclude checks
Missing function doc comment Open
Open
public function getLft(): ?int
- Exclude checks
Missing function doc comment Open
Open
public function setLft(int $lft): static
- Exclude checks
Missing function doc comment Open
Open
public function removeChild(self $child): static
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\ManyToOne(targetEntity: self::class, inversedBy: 'children')]
- Exclude checks
Missing function doc comment Open
Open
public function getñlvl(): ?int
- 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\GeneratedValue]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(length: 255, nullable: true)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[Gedmo\TreeLeft]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\OneToMany(mappedBy: 'parent', targetEntity: self::class)]
- Exclude checks
Scope keyword "static" must be followed by a single space Open
Open
public function setTitle(array $title): static
- Exclude checks
Missing function doc comment Open
Open
public function getLaunchMethod(): ?string
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column]
- Exclude checks
Missing function doc comment Open
Open
public function getTitle(): array
- Exclude checks
Missing function doc comment Open
Open
public function setUrl(?string $url): static
- Exclude checks
Missing function doc comment Open
Open
public function setEntitlementKey(?string $entitlementKey): static
- Exclude checks
Missing function doc comment Open
Open
public function setParent(?self $parent): static
- Exclude checks
Scope keyword "static" must be followed by a single space Open
Open
public function setParent(?self $parent): static
- Exclude checks
Missing function doc comment Open
Open
public function setType(string $type): static
- Exclude checks
Scope keyword "static" must be followed by a single space Open
Open
public function setLaunchMethod(?string $launchMethod): static
- Exclude checks
Missing function doc comment Open
Open
public function getMasteryScore(): ?float
- Exclude checks
Missing function doc comment Open
Open
public function setStatus(?string $status): static
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(length: 255)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(length: 255, nullable: true)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[Gedmo\TreeRight]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[Gedmo\TreeParent]
- Exclude checks
Scope keyword "static" must be followed by a single space Open
Open
public function setMoveOn(?string $moveOn): static
- Exclude checks
Missing function doc comment Open
Open
public function getEntitlementKey(): ?string
- Exclude checks
Missing function doc comment Open
Open
public function getStatus(): ?string
- Exclude checks
Scope keyword "static" must be followed by a single space Open
Open
public function setTool(?XApiToolLaunch $tool): static
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[Gedmo\Tree(type: 'nested')]
- Exclude checks
Scope keyword "static" must be followed by a single space Open
Open
public function setEntitlementKey(?string $entitlementKey): static
- Exclude checks
Missing function doc comment Open
Open
public function setñlvl(int $lvl): static
- Exclude checks
Missing function doc comment Open
Open
public function addChild(self $child): static
- Exclude checks
The method getñlvl is not named in camelCase. Open
Open
public function getñlvl(): ?int
{
return $this->lvl;
}
- Read upRead up
- Exclude checks
CamelCaseMethodName
Since: 0.2
It is considered best practice to use the camelCase notation to name methods.
Example
class ClassName {
public function get_name() {
}
}
Source
The method setñlvl is not named in camelCase. Open
Open
public function setñlvl(int $lvl): static
{
$this->lvl = $lvl;
return $this;
- Read upRead up
- Exclude checks
CamelCaseMethodName
Since: 0.2
It is considered best practice to use the camelCase notation to name methods.
Example
class ClassName {
public function get_name() {
}
}