chamilo/chamilo-lms

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

Summary

Maintainability
A
0 mins
Test Coverage

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

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

Missing function doc comment
Open

    public function setDefaultValue(string $defaultValue): self

Missing function doc comment
Open

    public function setSessionId(int $sessionId): self

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

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

Missing function doc comment
Open

    public function setCId(int $cId): self

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

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

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

#[ORM\Index(name: 'idx_default_user_id', columns: ['default_user_id'])]

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

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

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

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

Missing function doc comment
Open

    public function setDefaultEventType(string $defaultEventType): self

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

#[ORM\Index(name: 'course', columns: ['c_id'])]

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

#[ORM\Entity]

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

class TrackEDefault

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

    #[ORM\Id]

Missing function doc comment
Open

    public function setDefaultDate(DateTime $defaultDate): self

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

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

Missing function doc comment
Open

    public function setDefaultValueType(string $defaultValueType): self

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

    #[ORM\GeneratedValue]

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: 'default_value_type', type: 'string', length: 255, nullable: false)]

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

#[ORM\Index(name: 'session', columns: ['session_id'])]

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

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

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

    #[ORM\Column(name: 'default_value', type: 'text', nullable: false)]

There are no issues that match your filters.

Category
Status