chamilo/chamilo-lms

View on GitHub
src/CoreBundle/Controller/CoursesController.php

Summary

Maintainability
A
0 mins
Test Coverage

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

class CoursesController extends AbstractController

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

    #[Route('/{code}/document/{path}', name: 'chamilo_core_course_document_redirect', requirements: ['path' => '.*'])]

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

    #[Route('/{code}/index.php', name: 'chamilo_core_course_home_redirect')]

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

    public function homeRedirect(Course $course): Response

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

    public function documentRedirect(Course $course, string $path, CDocumentRepository $documentRepository): Response

Add a single space around assignment operators
Open

declare(strict_types=1);

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

#[Route('/courses')]

There are no issues that match your filters.

Category
Status