chamilo/chamilo-lms

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

Summary

Maintainability
A
0 mins
Test Coverage

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

class ThemeController extends AbstractController

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

        #[Autowire(service: 'oneup_flysystem.themes_filesystem')]

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

    public function index(

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

    #[Route('/{name}/{path}', name: 'theme_asset', requirements: ['path' => '.+'])]

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('/themes')]

Missing function doc comment
Open

    public function __construct(

Closing brace must be on a line by itself
Open

    ) {}

Closing brace must be on a line by itself
Open

    ) {}

Line indented incorrectly; expected 4 spaces, found 8
Open

        private readonly ThemeHelper $themeHelper

There are no issues that match your filters.

Category
Status