chamilo/chamilo-lms

View on GitHub
src/LtiBundle/Controller/AdminController.php

Summary

Maintainability
A
0 mins
Test Coverage

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

    public function adminEdit(int $toolId, Request $request): Response

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

    public function admin(): Response

Missing function doc comment
Open

    public function __construct(

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

    public function adminDelete(int $toolId): Response

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

#[Route(path: '/admin/lti')]

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

class AdminController extends BaseController

Closing brace must be on a line by itself
Open

    ) {}

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

    #[Route(path: '/add', name: 'chamilo_lti_admin_add')]

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

    public function adminAdd(Request $request): Response

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

    #[Route(path: '/edit/{toolId}', name: 'chamilo_lti_admin_edit', requirements: ['toolId' => '\d+'])]

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

    #[Route(path: '/', name: 'chamilo_lti_admin')]

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(path: '/delete/{toolId}', name: 'chamilo_lti_admin_delete', requirements: ['toolId' => '\d+'])]

Closing brace must be on a line by itself
Open

    ) {}

Line indented incorrectly; expected 4 spaces, found 8
Open

        private ManagerRegistry $managerRegistry,

Line indented incorrectly; expected 4 spaces, found 8
Open

        private ExternalToolRepository $externalToolRepository

There are no issues that match your filters.

Category
Status