chamilo/chamilo-lms

View on GitHub
src/CoreBundle/Controller/Admin/SettingsController.php

Summary

Maintainability
A
0 mins
Test Coverage

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

    public function syncSettings(AccessUrlHelper $accessUrlHelper): Response

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

    public function index(): Response

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

    #[IsGranted('ROLE_ADMIN')]

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

    #[Route('/settings/search_settings', name: 'chamilo_platform_settings_search')]

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

    public function searchSetting(Request $request): Response

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

#[Route('/admin')]

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

    public function updateSetting(Request $request, AccessUrlHelper $accessUrlHelper, string $namespace): Response

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

    #[IsGranted('ROLE_ADMIN')]

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

class SettingsController extends BaseController

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

    #[Route('/settings/{namespace}', name: 'chamilo_platform_settings')]

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

    #[Route('/settings_sync', name: 'sync_settings')]

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

    #[IsGranted('ROLE_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('/settings', name: 'admin_settings')]

There are no issues that match your filters.

Category
Status