src/LtiBundle/Entity/ExternalTool.php
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'custom_params', type: 'text', nullable: true)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\JoinColumn(name: 'parent_id', referencedColumnName: 'id')]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'version', type: 'string', options: ['default' => 'lti1p1'])]
- Exclude checks
Scope keyword "static" must be followed by a single space Open
Open
public function setGradebookEval(?GradebookEvaluation $gradebookEval): static
- 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
#[ORM\Id]
- Exclude checks
You must use "/**" style comments for a class comment Open
Open
class ExternalTool extends AbstractResource implements ResourceInterface, ResourceToRootInterface, Stringable
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'launch_url', type: 'string')]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\JoinColumn(name: 'c_id', referencedColumnName: 'id')]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\ManyToOne(targetEntity: self::class, inversedBy: 'children')]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'redirect_url', type: 'string', nullable: true)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'description', type: 'text', nullable: true)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'advantage_services', type: 'json', nullable: true)]
- Exclude checks
Scope keyword "static" must be followed by a single space Open
Open
public function setCustomParams(?string $customParams): static
- Exclude checks
Scope keyword "static" must be followed by a single space Open
Open
public function setPrivacy(bool $shareName = false, bool $shareEmail = false, bool $sharePicture = false): static
- 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(name: 'title', type: 'string')]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\ManyToOne(targetEntity: GradebookEvaluation::class)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\OneToMany(targetEntity: LineItem::class, mappedBy: 'tool')]
- Exclude checks
Missing function doc comment Open
Open
public function getDescription(): ?string
- Exclude checks
Missing function doc comment Open
Open
public function setPrivacy(bool $shareName = false, bool $shareEmail = false, bool $sharePicture = false): static
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'shared_secret', type: 'string', nullable: true)]
- Exclude checks
Missing function doc comment Open
Open
public function setCustomParams(?string $customParams): static
- Exclude checks
Missing function doc comment Open
Open
public function isGlobal(): bool
- 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\GeneratedValue]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\ManyToOne(targetEntity: Course::class)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\JoinColumn(name: 'gradebook_eval_id', referencedColumnName: 'id', onDelete: 'SET NULL')]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'replacement_params', type: 'json')]
- Exclude checks
Missing function doc comment Open
Open
public function setDescription(?string $description): static
- Exclude checks
Missing function doc comment Open
Open
public function getCourse(): ?Course
- Exclude checks
Missing function doc comment Open
Open
public function setGradebookEval(?GradebookEvaluation $gradebookEval): static
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\OneToMany(targetEntity: self::class, mappedBy: 'parent')]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'login_url', type: 'string', nullable: true)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'launch_presentation', type: 'json')]
- Exclude checks
Missing function doc comment Open
Open
public function __construct()
- Exclude checks
Missing function doc comment Open
Open
public function getTitle(): string
- Exclude checks
Missing function doc comment Open
Open
public function setTitle(string $title): static
- Exclude checks
Missing function doc comment Open
Open
public function getId(): int
- Exclude checks
Missing function doc comment Open
Open
public function getCustomParamsAsArray(): array
- Exclude checks
Missing function doc comment Open
Open
public function setActiveDeepLinking(bool $activeDeepLinking): static
- Exclude checks
Scope keyword "static" must be followed by a single space Open
Open
public function setDescription(?string $description): static
- Exclude checks
Missing function doc comment Open
Open
public function setCourse(?Course $course = null): static
- Exclude checks
Missing function doc comment Open
Open
public function getPrivacy(): ?string
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'consumer_key', type: 'string', nullable: true)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'privacy', type: 'text', nullable: true, options: ['default' => null])]
- Exclude checks
Scope keyword "static" must be followed by a single space Open
Open
public function setLaunchUrl(string $launchUrl): static
- Exclude checks
Missing function doc comment Open
Open
public function encodeCustomParams(array $params): ?string
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Table(name: 'lti_external_tool')]
- Exclude checks
Missing function doc comment Open
Open
public function getLaunchUrl(): string
- Exclude checks
Missing function doc comment Open
Open
public function setLaunchUrl(string $launchUrl): static
- Exclude checks
Scope keyword "static" must be followed by a single space Open
Open
public function setCourse(?Course $course = null): static
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'active_deep_linking', type: 'boolean', nullable: false, options: ['default' => false])]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'client_id', type: 'string', nullable: true)]
- Exclude checks
Scope keyword "static" must be followed by a single space Open
Open
public function setTitle(string $title): static
- Exclude checks
Missing function doc comment Open
Open
public function parseCustomParams(): array
- Exclude checks
Missing function doc comment Open
Open
public function isActiveDeepLinking(): bool
- Exclude checks
Scope keyword "static" must be followed by a single space Open
Open
public function setActiveDeepLinking(bool $activeDeepLinking): static
- Exclude checks
Missing function doc comment Open
Open
public function getGradebookEval(): ?GradebookEvaluation
- Exclude checks
Missing function doc comment Open
Open
public function isSharingName(): bool
- Exclude checks
Missing function doc comment Open
Open
public function __toString(): string
- Exclude checks
Missing function doc comment Open
Open
public function getCustomParams(): ?string
- Exclude checks
Missing function doc comment Open
Open
public function unserializePrivacy(): array
- Exclude checks
Missing function doc comment Open
Open
public function setClientId(?string $clientId): static
- Exclude checks
Missing function doc comment Open
Open
public function setAdvantageServices(array $advantageServices): static
- Exclude checks
Missing function doc comment Open
Open
public function getChildren(): Collection
- Exclude checks
Missing function doc comment Open
Open
public function setLoginUrl(?string $loginUrl): static
- Exclude checks
Missing function doc comment Open
Open
public function setLineItems(Collection $lineItems): static
- Exclude checks
Missing function doc comment Open
Open
public function getResourceName(): string
- Exclude checks
Scope keyword "static" must be followed by a single space Open
Open
public function setResourceName(string $title): static
- Exclude checks
Missing function doc comment Open
Open
public function isSharingPicture(): bool
- Exclude checks
Missing function doc comment Open
Open
public function getLineItems(
- Exclude checks
Missing function doc comment Open
Open
public function setChildren(Collection $children): static
- Exclude checks
Scope keyword "static" must be followed by a single space Open
Open
public function setClientId(?string $clientId): static
- Exclude checks
Missing function doc comment Open
Open
public function getToolParent(): ?self
- Exclude checks
Missing function doc comment Open
Open
public function setSharedSecret(?string $sharedSecret): static
- Exclude checks
Missing function doc comment Open
Open
public function setConsumerKey(?string $consumerKey): static
- Exclude checks
Missing function doc comment Open
Open
public function getAdvantageServices(): array
- Exclude checks
Scope keyword "static" must be followed by a single space Open
Open
public function setToolParent(self $parent): static
- Exclude checks
Missing function doc comment Open
Open
public function getRedirectUrl(): ?string
- Exclude checks
Missing function doc comment Open
Open
public function getVersionName(): string
- Exclude checks
Missing function doc comment Open
Open
public function setDocumenTarget(string $target): static
- Exclude checks
Missing function doc comment Open
Open
public function getLoginUrl(): ?string
- Exclude checks
Scope keyword "static" must be followed by a single space Open
Open
public function setLoginUrl(?string $loginUrl): static
- Exclude checks
Scope keyword "static" must be followed by a single space Open
Open
public function setDocumenTarget(string $target): static
- Exclude checks
Scope keyword "static" must be followed by a single space Open
Open
public function addLineItem(LineItem $lineItem): static
- Exclude checks
Missing function doc comment Open
Open
public function getChildrenInCourses(array $coursesId): Collection
- Exclude checks
Missing function doc comment Open
Open
public function addLineItem(LineItem $lineItem): static
- Exclude checks
Missing function doc comment Open
Open
public function getVersion(): string
- Exclude checks
Scope keyword "static" must be followed by a single space Open
Open
public function setReplacementForUserId(string $replacement): static
- Exclude checks
Missing function doc comment Open
Open
public function getReplacementForUserId(): ?string
- Exclude checks
Missing function doc comment Open
Open
public function getSharedSecret(): ?string
- Exclude checks
Scope keyword "static" must be followed by a single space Open
Open
public function setRedirectUrl(?string $redirectUrl): static
- Exclude checks
Missing function doc comment Open
Open
public function getClientId(): ?string
- Exclude checks
Scope keyword "static" must be followed by a single space Open
Open
public function setSharedSecret(?string $sharedSecret): static
- Exclude checks
Missing function doc comment Open
Open
public function setVersion(string $version): static
- Exclude checks
Missing function doc comment Open
Open
public function getDocumentTarget()
- Exclude checks
Missing function doc comment Open
Open
public function setResourceName(string $title): static
- Exclude checks
Missing function doc comment Open
Open
public function setToolParent(self $parent): static
- Exclude checks
Scope keyword "static" must be followed by a single space Open
Open
public function setAdvantageServices(array $advantageServices): static
- Exclude checks
Missing function doc comment Open
Open
public function setReplacementForUserId(string $replacement): static
- Exclude checks
Space before opening parenthesis of function call prohibited Open
Open
fn (self $child) => \in_array($child->getCourse()->getId(), $coursesId, true)
- Exclude checks
Scope keyword "static" must be followed by a single space Open
Open
public function setChildren(Collection $children): static
- Exclude checks
Missing function doc comment Open
Open
public function getConsumerKey(): ?string
- Exclude checks
Scope keyword "static" must be followed by a single space Open
Open
public function setLineItems(Collection $lineItems): static
- Exclude checks
Scope keyword "static" must be followed by a single space Open
Open
public function setConsumerKey(?string $consumerKey): static
- Exclude checks
Missing function doc comment Open
Open
public function isSharingEmail(): bool
- Exclude checks
Missing function doc comment Open
Open
public function setRedirectUrl(?string $redirectUrl): static
- Exclude checks
Missing function doc comment Open
Open
public function getLaunchPresentation(): array
- Exclude checks
Missing function doc comment Open
Open
public function getResourceIdentifier(): int
- Exclude checks
Scope keyword "static" must be followed by a single space Open
Open
public function setVersion(string $version): static
- Exclude checks
Only one argument is allowed per line in a multi-line function call Open
Open
fn (self $child) => \in_array($child->getCourse()->getId(), $coursesId, true)
- Exclude checks
Only one argument is allowed per line in a multi-line function call Open
Open
fn (self $child) => \in_array($child->getCourse()->getId(), $coursesId, true)
- Exclude checks
Space before opening parenthesis of function call prohibited Open
Open
fn (self $child) => \in_array($child->getCourse()->getId(), $coursesId, true)
- Exclude checks
Expected 0 spaces after opening bracket; newline found Open
Open
if (
- Exclude checks