src/CoreBundle/Controller/CoursesController.php
You must use "/**" style comments for a class comment Open
Open
class CoursesController extends AbstractController
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[Route('/{code}/document/{path}', name: 'chamilo_core_course_document_redirect', requirements: ['path' => '.*'])]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[Route('/{code}/index.php', name: 'chamilo_core_course_home_redirect')]
- Exclude checks
You must use "/**" style comments for a function comment Open
Open
public function homeRedirect(Course $course): Response
- Exclude checks
You must use "/**" style comments for a function comment Open
Open
public function documentRedirect(Course $course, string $path, CDocumentRepository $documentRepository): Response
- Exclude checks
Add a single space around assignment operators Open
Open
declare(strict_types=1);
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[Route('/courses')]
- Exclude checks