chamilo/chamilo-lms

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

Summary

Maintainability
A
0 mins
Test Coverage

The first parameter of a multi-line function declaration must be on the line after the opening bracket
Open

        private ?object $user,

Missing function doc comment
Open

    public function getUser(): object

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

class ResetPasswordRequest implements ResetPasswordRequestInterface

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

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

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\ManyToOne(targetEntity: User::class)]

Add a single space around assignment operators
Open

declare(strict_types=1);

Missing function doc comment
Open

    public function __construct(

Missing function doc comment
Open

    public function getId(): ?int

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

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

Line indented incorrectly; expected 4 spaces, found 8
Open

        private ?object $user,

There are no issues that match your filters.

Category
Status