chamilo/chamilo-lms

View on GitHub
src/CoreBundle/ApiResource/CategorizedExerciseResult.php

Summary

Maintainability
A
0 mins
Test Coverage

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

    #[Ignore]

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

    public function getExeId(): string

Missing class doc comment
Open

class CategorizedExerciseResult

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

    #[ApiProperty(readable: false, identifier: true)]

Add a single space around assignment operators
Open

declare(strict_types=1);

Missing function doc comment
Open

    public function __construct(TrackEExercise $exe, array $categories)

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

        $this->exe = $exe;

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function getExeId(): string

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function __construct(TrackEExercise $exe, array $categories)

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->categories = $categories;

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

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

{

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

)]

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

    {

Line indented incorrectly; expected 8 spaces, found 4
Open

    public array $categories;

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

        return (string) $this->exe->getExeId();

Line indented incorrectly; expected 4 spaces, found 0
Open

}

Line indented incorrectly; expected 4 spaces, found 0
Open

class CategorizedExerciseResult

Line indented incorrectly; expected 8 spaces, found 4
Open

    public TrackEExercise $exe;

There are no issues that match your filters.

Category
Status