chamilo/chamilo-lms

View on GitHub
src/CourseBundle/Entity/CStudentPublication.php

Summary

Maintainability
A
0 mins
Test Coverage

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

    #[ORM\Column(name: 'accepted', type: 'boolean', nullable: true)]

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

    #[Groups(['student_publication:read'])]

Missing function doc comment
Open

    public function getActive(): ?int

You must use "/**" style comments for a class comment
Open

class CStudentPublication extends AbstractResource implements ResourceInterface, Stringable

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

    #[Groups(['c_student_publication:write', 'student_publication:item:get'])]

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

    #[ORM\Column(name: 'sent_date', type: 'datetime', nullable: true)]

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

    #[ORM\ManyToOne(targetEntity: User::class)]

Add a single space around assignment operators
Open

declare(strict_types=1);

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

#[ORM\Table(name: 'c_student_publication')]

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

#[ApiFilter(

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

    #[Assert\NotBlank]

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

    #[ORM\JoinColumn(name: 'parent_id', referencedColumnName: 'iid')]

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

    #[ORM\JoinColumn(name: 'user_id', referencedColumnName: 'id', onDelete: 'CASCADE')]

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

    #[ORM\Column(name: 'duration', type: 'integer', nullable: true)]

Missing function doc comment
Open

    public function __toString(): string

Missing function doc comment
Open

    public function getFileTypes(): array

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

#[ApiResource(

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

#[ApiFilter(filterClass: CidFilter::class)]

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

    #[ORM\Column(name: 'contains_file', type: 'integer', nullable: false)]

Missing function doc comment
Open

    public function getTitle(): string

Scope keyword "static" must be followed by a single space
Open

    public function setPostGroupId(int $postGroupId): static

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

    #[ORM\Column(name: 'author', type: 'string', length: 255, nullable: true)]

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

    #[ORM\Column(name: 'post_group_id', type: 'integer', nullable: false)]

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

    #[ORM\Column(name: 'has_properties', type: 'integer', nullable: false)]

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

    #[ORM\Column(name: 'qualification', type: 'float', precision: 6, scale: 2, nullable: false)]

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

    #[ORM\Column(name: 'date_of_qualification', type: 'datetime', nullable: true)]

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

    #[ORM\ManyToOne(targetEntity: CGroupCategory::class)]

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

#[ApiFilter(filterClass: SidFilter::class)]

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

    #[Groups(['c_student_publication:write'])]

Missing function doc comment
Open

    public function setActive(int $active): self

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

    #[ORM\Column(name: 'title', type: 'string', length: 255, nullable: false)]

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

    #[Assert\Valid]

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

    #[ORM\Column(name: 'qualificator_id', type: 'integer', nullable: false)]

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

    #[ORM\Column(name: 'filesize', type: 'integer', nullable: true)]

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

    #[ORM\Column(name: 'student_delete_own_publication', type: 'boolean', nullable: true, options: ['default' => 0])]

Missing function doc comment
Open

    public function setAuthor(string $author): self

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

    #[Groups(['c_student_publication:write', 'student_publication:read'])]

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

    #[ORM\Column(name: 'view_properties', type: 'boolean', nullable: true)]

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

    #[Groups(['c_student_publication:write', 'student_publication:read'])]

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

    #[ORM\ManyToOne(targetEntity: self::class, inversedBy: 'children')]

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

    #[Groups(['c_student_publication:write', 'student_publication:item:get'])]

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

    #[ORM\Column(name: 'document_id', type: 'integer', nullable: false)]

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

#[ORM\Entity(repositoryClass: CStudentPublicationRepository::class)]

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

    #[Groups(['c_student_publication:write'])]

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

    #[Assert\NotBlank]

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

    #[Assert\NotBlank]

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

    #[ORM\JoinColumn(name: 'group_category_id', referencedColumnName: 'iid', nullable: true)]

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

    #[Groups(['c_student_publication:write', 'student_publication:read'])]

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

    #[ORM\Id]

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

    #[ORM\Column(name: 'allow_text_assignment', type: 'integer', nullable: false)]

Missing function doc comment
Open

    public function getPostGroupId(): int

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

    #[ORM\Column(name: 'description', type: 'text', nullable: true)]

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

    #[ORM\Column(name: 'filetype', type: 'string', length: 10, nullable: false)]

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

    #[Groups(['c_student_publication:write', 'student_publication:read'])]

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

    #[Groups(['c_student_publication:write', 'student_publication:read'])]

Missing function doc comment
Open

    public function __construct()

Missing function doc comment
Open

    public function setTitle(string $title): self

Missing function doc comment
Open

    public function setDescription(string $description): self

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

    #[ORM\Column(name: 'iid', type: 'integer')]

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

    #[ORM\Column(name: 'active', type: 'integer', nullable: true)]

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

    #[ORM\OneToOne(mappedBy: 'publication', targetEntity: CStudentPublicationAssignment::class, cascade: ['persist'])]

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

    #[ORM\Column(name: 'default_visibility', type: 'boolean', nullable: true, options: ['default' => 0])]

Missing function doc comment
Open

    public function getAuthor(): ?string

Missing function doc comment
Open

    public function setPostGroupId(int $postGroupId): static

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

    #[Groups(['c_student_publication:write'])]

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

    #[ORM\GeneratedValue]

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

    #[Assert\Choice(callback: 'getFileTypes')]

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

    #[ORM\OneToMany(mappedBy: 'publication', targetEntity: CStudentPublicationComment::class)]

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

    #[ORM\Column(name: 'group_category_work_id', type: 'integer', nullable: false, options: ['default' => 0])]

Missing function doc comment
Open

    public function getDescription(): ?string

Missing function doc comment
Open

    public function getAccepted(): ?bool

Missing function doc comment
Open

    public function setAccepted(bool $accepted): self

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

    #[ORM\OneToMany(mappedBy: 'publicationParent', targetEntity: self::class)]

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

    #[ORM\Column(name: 'weight', type: 'float', precision: 6, scale: 2, nullable: false)]

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

    #[ORM\Column(name: 'extensions', type: 'text', nullable: true)]

Missing function doc comment
Open

    public function setContainsFile(int $containsFile): self

Scope keyword "static" must be followed by a single space
Open

    public function setQualificatorId(int $qualificatorId): static

Missing function doc comment
Open

    public function getContainsFile(): int

Missing function doc comment
Open

    public function getDocumentId(): int

Missing function doc comment
Open

    public function setViewProperties(bool $viewProperties): self

Missing function doc comment
Open

    public function setQualification(float $qualification): self

Missing function doc comment
Open

    public function setSentDate(DateTime $sentDate): self

Missing function doc comment
Open

    public function setDateOfQualification(DateTime $dateOfQualification): self

Missing function doc comment
Open

    public function setQualificatorId(int $qualificatorId): static

Missing function doc comment
Open

    public function getResourceIdentifier(): int

Missing function doc comment
Open

    public function getFiletype(): string

Missing function doc comment
Open

    public function setHasProperties(int $hasProperties): self

Missing function doc comment
Open

    public function getDateOfQualification(): ?DateTime

Missing function doc comment
Open

    public function setGroupCategory(?CGroupCategory $groupCategory): self

Missing function doc comment
Open

    public function setGroupCategoryWorkId(int $groupCategoryWorkId): self

Missing function doc comment
Open

    public function getCorrection(): ?ResourceNode

Missing function doc comment
Open

    public function getPublicationParent(): ?self

Missing function doc comment
Open

    public function setStudentDeleteOwnPublication(?bool $studentDeleteOwnPublication): self

Missing function doc comment
Open

    public function getFileSize(): int

Missing function doc comment
Open

    public function getGroupCategory(): ?CGroupCategory

Missing function doc comment
Open

    public function getStudentDeleteOwnPublication(): ?bool

Missing function doc comment
Open

    public function getSentDate(): ?DateTime

Missing function doc comment
Open

    public function setFileSize(int $fileSize): self

Missing function doc comment
Open

    public function setDuration(?int $duration): self

Missing function doc comment
Open

    public function getQualificatorId(): int

Missing function doc comment
Open

    public function setPublicationParent(?self $publicationParent): self

Missing function doc comment
Open

    public function setExtensions(?string $extensions): self

Missing function doc comment
Open

    public function setDocumentId(int $documentId): self

Missing function doc comment
Open

    public function setWeight(float $weight): self

Missing function doc comment
Open

    public function getExtensions(): ?string

Missing function doc comment
Open

    public function getHasProperties(): int

Missing function doc comment
Open

    public function getWeight(): float

Missing function doc comment
Open

    public function setAssignment(?CStudentPublicationAssignment $assignment): self

Missing function doc comment
Open

    public function getUser(): User

Missing function doc comment
Open

    public function setFiletype(string $filetype): self

Missing function doc comment
Open

    public function getViewProperties(): ?bool

Missing function doc comment
Open

    public function setAllowTextAssignment(int $allowTextAssignment): self

Missing function doc comment
Open

    public function setChildren(Collection $children): self

You must use "/**" style comments for a function comment
Open

    public function getUniqueStudentAttemptsTotal(): int

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

    #[Groups(['student_publication:read'])]

Missing function doc comment
Open

    public function getQualification(): float

Missing function doc comment
Open

    public function getIid(): ?int

You must use "/**" style comments for a function comment
Open

    public function getStudentSubscribedToWork(): int

Missing function doc comment
Open

    public function getAllowTextAssignment(): int

Missing function doc comment
Open

    public function getDuration(): ?int

Missing function doc comment
Open

    public function getResourceName(): string

Missing function doc comment
Open

    public function setResourceName(string $name): self

Missing function doc comment
Open

    public function getDefaultVisibility(): ?bool

Missing function doc comment
Open

    public function setUser(User $user): self

Missing function doc comment
Open

    public function getAssignment(): ?CStudentPublicationAssignment

Missing function doc comment
Open

    public function setDefaultVisibility(?bool $defaultVisibility): self

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

    #[Groups(['student_publication:read'])]

Missing function doc comment
Open

    public function setComments(Collection $comments): self

Missing function doc comment
Open

    public function getGroupCategoryWorkId(): int

Line indented incorrectly; expected 8 spaces, found 4
Open

    protected ?bool $accepted = null;

Line indented incorrectly; expected 8 spaces, found 4
Open

    protected ?bool $viewProperties = null;

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        $this->description = '';

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        $this->publicationParent = null;

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function getFileTypes(): array

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        $this->description = $description;

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected 8 spaces, found 4
Open

    protected Collection $children;

Line indented incorrectly; expected 8 spaces, found 4
Open

    protected User $user;

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function setAuthor(string $author): self

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected at least 4 spaces, found 0
Open

{

Line indented incorrectly; expected 8 spaces, found 4
Open

    protected int $postGroupId;

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        $this->qualificatorId = 0;

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function getTitle(): string

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected 8 spaces, found 4
Open

    protected Collection $comments;

Line indented incorrectly; expected 8 spaces, found 4
Open

    protected float $weight = 0;

Line indented incorrectly; expected 8 spaces, found 4
Open

    protected ?int $fileSize = null;

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        $this->hasProperties = 0;

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        $this->assignment = null;

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $this;

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        $this->active = $active;

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function getPostGroupId(): int

Line indented incorrectly; expected 8 spaces, found 4
Open

    public bool $addToCalendar = false;

Line indented incorrectly; expected 8 spaces, found 4
Open

    protected string $filetype;

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function __construct()

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function getActive(): ?int

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $this->active;

Line indented incorrectly; expected 8 spaces, found 4
Open

    protected ?CStudentPublication $publicationParent;

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $this->getTitle();

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return ['file', 'folder'];

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $this->author;

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $this;

Line indented incorrectly; expected 8 spaces, found 4
Open

    public bool $addToGradebook = false;

Line indented incorrectly; expected 8 spaces, found 4
Open

    protected ?string $author = null;

Line indented incorrectly; expected 8 spaces, found 4
Open

    protected int $hasProperties;

Line indented incorrectly; expected 8 spaces, found 4
Open

    protected ?CGroupCategory $groupCategory = null;

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        $this->documentId = 0;

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function setActive(int $active): self

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $this;

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected 8 spaces, found 4
Open

    protected string $title;

Line indented incorrectly; expected 8 spaces, found 4
Open

    protected ?int $duration = null;

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        $this->containsFile = 0;

Line indented incorrectly; expected 4 spaces, found 0
Open

class CStudentPublication extends AbstractResource implements ResourceInterface, Stringable

Line indented incorrectly; expected 8 spaces, found 4
Open

    protected int $containsFile;

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function __toString(): string

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function getAccepted(): ?bool

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected 8 spaces, found 4
Open

    protected ?string $description;

Line indented incorrectly; expected 8 spaces, found 4
Open

    protected ?int $active = null;

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        $this->active = 1;

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function getDescription(): ?string

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function setAccepted(bool $accepted): self

Line indented incorrectly; expected at least 4 spaces, found 0
Open

)]

Line indented incorrectly; expected 8 spaces, found 4
Open

    protected ?int $iid = null;

Line indented incorrectly; expected 8 spaces, found 4
Open

    protected ?CStudentPublicationAssignment $assignment = null;

Line indented incorrectly; expected 8 spaces, found 4
Open

    protected int $allowTextAssignment;

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        $this->filetype = 'folder';

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        $this->comments = new ArrayCollection();

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $this;

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $this;

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $this->postGroupId;

Line indented incorrectly; expected 8 spaces, found 4
Open

    protected int $qualificatorId;

Line indented incorrectly; expected 8 spaces, found 4
Open

    protected ?string $extensions = null;

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        $this->sentDate = new DateTime();

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function setTitle(string $title): self

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected 8 spaces, found 4
Open

    public int $gradebookCategoryId = 0;

Line indented incorrectly; expected 8 spaces, found 4
Open

    protected int $groupCategoryWorkId = 0;

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        $this->accepted = $accepted;

Line indented incorrectly; expected at least 4 spaces, found 0
Open

)]

Line indented incorrectly; expected 8 spaces, found 4
Open

    protected ?bool $defaultVisibility = null;

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        $this->qualification = 0;

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        $this->allowTextAssignment = 0;

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        $this->title = $title;

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $this->description;

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function getAuthor(): ?string

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        $this->author = $author;

Line indented incorrectly; expected 8 spaces, found 4
Open

    protected ?DateTime $sentDate;

Line indented incorrectly; expected 8 spaces, found 4
Open

    protected float $qualification;

Line indented incorrectly; expected 8 spaces, found 4
Open

    protected int $documentId;

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        $this->postGroupId = 0;

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $this->title;

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $this->accepted;

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function setPostGroupId(int $postGroupId): static

Line indented incorrectly; expected 8 spaces, found 4
Open

    protected ?DateTime $dateOfQualification = null;

Line indented incorrectly; expected 8 spaces, found 4
Open

    protected ?bool $studentDeleteOwnPublication = null;

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        $this->children = new ArrayCollection();

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function setDescription(string $description): self

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function getHasProperties(): int

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function setWeight(float $weight): self

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        $this->allowTextAssignment = $allowTextAssignment;

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function getContainsFile(): int

Line indented incorrectly; expected at least 20 spaces, found 16
Open

                $name = $child->getResourceType()->getTitle();

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function setAllowTextAssignment(int $allowTextAssignment): self

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        $this->filetype = $filetype;

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function getQualification(): float

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function setDocumentId(int $documentId): self

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function setFileSize(int $fileSize): self

Line indented incorrectly; expected 20 spaces, found 16
Open

                }

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $this;

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $this;

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function getDateOfQualification(): ?DateTime

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function getWeight(): float

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $this;

Line indented incorrectly; expected 12 spaces, found 8
Open

        if ($this->hasResourceNode()) {

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        $this->postGroupId = $postGroupId;

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $this;

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function getFileSize(): int

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        $this->fileSize = $fileSize;

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $this;

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        $this->studentDeleteOwnPublication = $studentDeleteOwnPublication;

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function getExtensions(): ?string

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function getSentDate(): ?DateTime

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $this->dateOfQualification;

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function setQualificatorId(int $qualificatorId): static

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $this->allowTextAssignment;

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function getDocumentId(): int

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        $this->documentId = $documentId;

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $this->fileSize;

Line indented incorrectly; expected at least 16 spaces, found 12
Open

            $children = $this->getResourceNode()->getChildren();

Line indented incorrectly; expected 16 spaces, found 12
Open

            }

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected 12 spaces, found 8
Open

        if ($assignment) {

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function getPublicationParent(): ?self

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        $this->comments = $comments;

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function getDuration(): ?int

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $this;

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function setDateOfQualification(DateTime $dateOfQualification): self

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function getCorrection(): ?ResourceNode

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $this->getIid();

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function getStudentSubscribedToWork(): int

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        $course = $firstLink->getCourse();

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $this->sentDate;

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $this;

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $this->publicationParent;

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $this;

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $this;

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function getDefaultVisibility(): ?bool

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function setDefaultVisibility(?bool $defaultVisibility): self

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        $reduce = $this->children

Line indented incorrectly; expected 12 spaces, found 8
Open

        }

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function setSentDate(DateTime $sentDate): self

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $this->filetype;

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $this;

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $this->weight;

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        $this->weight = $weight;

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $this;

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        $this->children = $children;

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $this;

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function setPublicationParent(?self $publicationParent): self

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $this->studentDeleteOwnPublication;

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $this;

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function setHasProperties(int $hasProperties): self

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        $firstLink = $this->getFirstResourceLink();

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $this;

Line indented incorrectly; expected 12 spaces, found 8
Open

        if ($group) {

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected at least 24 spaces, found 20
Open

                    return $child;

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        $this->publicationParent = $publicationParent;

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $this->user;

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function getComments(): Collection

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected 12 spaces, found 8
Open

        }

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        $this->hasProperties = $hasProperties;

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $this;

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $this->viewProperties;

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function setQualification(float $qualification): self

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        $this->qualification = $qualification;

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $this->documentId;

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function getUser(): User

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        $this->duration = $duration;

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $this->setTitle($name);

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        $this->sentDate = $sentDate;

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $this->hasProperties;

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function getViewProperties(): ?bool

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $this->qualification;

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $this->qualificatorId;

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        $this->qualificatorId = $qualificatorId;

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $this;

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $this->containsFile;

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        $this->containsFile = $containsFile;

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $this;

Line indented incorrectly; expected 12 spaces, found 8
Open

        }

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function getAssignment(): ?CStudentPublicationAssignment

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $this;

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $this;

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $this->comments;

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $this;

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function getStudentDeleteOwnPublication(): ?bool

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        $group = $firstLink->getGroup();

Line indented incorrectly; expected at least 16 spaces, found 12
Open

            return $group->getMembers()->count();

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        $this->dateOfQualification = $dateOfQualification;

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function getAllowTextAssignment(): int

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return null;

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        $this->user = $user;

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function setDuration(?int $duration): self

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        $this->groupCategory = $groupCategory;

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $this->groupCategoryWorkId;

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function setContainsFile(int $containsFile): self

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function getChildren(): Collection

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function setUser(User $user): self

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function setGroupCategory(?CGroupCategory $groupCategory): self

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected 12 spaces, found 8
Open

        if ($session) {

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $this;

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $this->children;

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function setAssignment(?CStudentPublicationAssignment $assignment): self

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function setComments(Collection $comments): self

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $this;

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function getResourceIdentifier(): int

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function getFiletype(): string

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function setFiletype(string $filetype): self

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function setViewProperties(bool $viewProperties): self

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        $this->viewProperties = $viewProperties;

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function getQualificatorId(): int

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $this;

Line indented incorrectly; expected 16 spaces, found 12
Open

            foreach ($children as $child) {

Line indented incorrectly; expected 20 spaces, found 16
Open

                if ('student_publications_corrections' === $name) {

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function setChildren(Collection $children): self

Line indented incorrectly; expected at least 16 spaces, found 12
Open

            $assignment->setPublication($this);

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $this->duration;

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        $this->defaultVisibility = $defaultVisibility;

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $this->extensions;

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $this->iid;

Line indented incorrectly; expected at least 16 spaces, found 12
Open

            return $course->getStudentSubscriptions()->count();

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $this->assignment;

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $this->getTitle();

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function getUniqueStudentAttemptsTotal(): int

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $reduce ?: 0;

Line indented incorrectly; expected 12 spaces, found 8
Open

        if ($course) {

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return 0;

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        $this->assignment = $assignment;

Line indented incorrectly; expected 12 spaces, found 8
Open

        }

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $this;

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $this->groupCategory;

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function setStudentDeleteOwnPublication(?bool $studentDeleteOwnPublication): self

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function getIid(): ?int

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        ;

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function getGroupCategoryWorkId(): int

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected 4 spaces, found 0
Open

}

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function getGroupCategory(): ?CGroupCategory

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return $this->defaultVisibility;

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function setResourceName(string $name): self

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        $userIdList = [];

Line indented incorrectly; expected 12 spaces, found 8
Open

        }

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function setGroupCategoryWorkId(int $groupCategoryWorkId): self

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function setExtensions(?string $extensions): self

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        $this->extensions = $extensions;

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    {

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function getResourceName(): string

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        $session = $firstLink->getSession();

Line indented incorrectly; expected at least 16 spaces, found 12
Open

            return $session->getSessionRelCourseRelUsersByStatus($course, Session::STUDENT)->count();

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        $this->groupCategoryWorkId = $groupCategoryWorkId;

There are no issues that match your filters.

Category
Status