chamilo/chamilo-lms

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

Summary

Maintainability
A
0 mins
Test Coverage

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

    public function setDefaultCertificate(int $cid, int $certificateId, EntityManagerInterface $entityManager): Response

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

    #[Route('/default_certificate/{cid}', name: 'chamilo_core_gradebook_default_certificate')]

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

#[Route('/gradebook')]

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

    #[Route('/set_default_certificate/{cid}/{certificateId}', name: 'chamilo_core_gradebook_set_default_certificate')]

Add a single space around assignment operators
Open

declare(strict_types=1);

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

    public function getDefaultCertificate(int $cid, EntityManagerInterface $entityManager): JsonResponse

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

class GradebookController extends AbstractController

There are no issues that match your filters.

Category
Status