chamilo/chamilo-lms

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

Summary

Maintainability
A
0 mins
Test Coverage

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

#[Route('/platform-config')]

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

    #[Route('/list/course_settings', name: 'course_settings_list', methods: ['GET'])]

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

    #[Route('/list', name: 'platform_config_list', methods: ['GET'])]

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

    public function list(SettingsManager $settingsManager): Response

Add a single space around assignment operators
Open

declare(strict_types=1);

Closing brace must be on a line by itself
Open

    ) {}

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

class PlatformConfigurationController extends AbstractController

Missing function doc comment
Open

    public function __construct(

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

    public function courseSettingsList(

Line indented incorrectly; expected 4 spaces, found 8
Open

        private readonly UserHelper $userHelper,

Line indented incorrectly; expected 4 spaces, found 8
Open

        private readonly ThemeHelper $themeHelper,

Line indented incorrectly; expected 4 spaces, found 8
Open

        private readonly TicketProjectHelper $ticketProjectHelper,

Line indented incorrectly; expected 4 spaces, found 8
Open

        private readonly AuthenticationConfigHelper $authenticationConfigHelper,

Closing brace must be on a line by itself
Open

    ) {}

There are no issues that match your filters.

Category
Status