src/CoreBundle/Controller/Admin/SettingsController.php
You must use "/**" style comments for a function comment Open
Open
public function syncSettings(AccessUrlHelper $accessUrlHelper): Response
- Exclude checks
You must use "/**" style comments for a function comment Open
Open
public function index(): Response
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[IsGranted('ROLE_ADMIN')]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[Route('/settings/search_settings', name: 'chamilo_platform_settings_search')]
- Exclude checks
You must use "/**" style comments for a function comment Open
Open
public function searchSetting(Request $request): Response
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[Route('/admin')]
- Exclude checks
You must use "/**" style comments for a function comment Open
Open
public function updateSetting(Request $request, AccessUrlHelper $accessUrlHelper, string $namespace): Response
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[IsGranted('ROLE_ADMIN')]
- Exclude checks
You must use "/**" style comments for a class comment Open
Open
class SettingsController extends BaseController
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[Route('/settings/{namespace}', name: 'chamilo_platform_settings')]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[Route('/settings_sync', name: 'sync_settings')]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[IsGranted('ROLE_ADMIN')]
- 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('/settings', name: 'admin_settings')]
- Exclude checks