chamilo/chamilo-lms

View on GitHub
src/CoreBundle/Entity/CourseRequest.php

Summary

Maintainability
A
0 mins
Test Coverage

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

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

Missing function doc comment
Open

    public function setTutorName(string $tutorName): self

Missing function doc comment
Open

    public function setExemplaryContent(int $exemplaryContent): self

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

    #[ORM\GeneratedValue(strategy: 'IDENTITY')]

Missing function doc comment
Open

    public function setCourseLanguage(string $courseLanguage): self

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

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

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

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

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

#[ORM\UniqueConstraint(name: 'code', columns: ['code'])]

Missing function doc comment
Open

    public function __construct()

Missing function doc comment
Open

    public function setCode(string $code): self

Missing function doc comment
Open

    public function setTargetAudience(string $targetAudience): self

Missing function doc comment
Open

    public function setInfo(int $info): self

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

    #[ORM\Column(name: 'request_date', type: 'datetime', nullable: false)]

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: 'description', type: 'text', nullable: true)]

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

#[ORM\Entity]

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

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

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

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

Missing function doc comment
Open

    public function setTitle(string $title): self

Missing function doc comment
Open

    public function setRequestDate(DateTime $requestDate): self

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

class CourseRequest

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

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

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\Column(name: 'title', type: 'string', length: 250, nullable: false)]

Missing function doc comment
Open

    public function setVisualCode(string $visualCode): self

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

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

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

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

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

    #[Assert\NotBlank]

Missing function doc comment
Open

    public function setObjetives(string $objetives): self

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\JoinColumn(name: 'user_id', referencedColumnName: 'id', onDelete: 'CASCADE')]

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

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

Missing function doc comment
Open

    public function setCategoryCode(string $categoryCode): self

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

    #[ORM\ManyToOne(targetEntity: User::class, cascade: ['persist'])]

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

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

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

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

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

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

Missing function doc comment
Open

    public function setStatus(int $status): self

There are no issues that match your filters.

Category
Status