chamilo/chamilo-lms

View on GitHub
src/CoreBundle/Command/UpdateVueTranslations.php

Summary

Maintainability
A
0 mins
Test Coverage

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

#[AsCommand(

Add a single space around assignment operators
Open

declare(strict_types=1);

Space before opening parenthesis of function call prohibited
Open

            return match ($type) {

Missing class doc comment
Open

class UpdateVueTranslations extends Command

Missing function doc comment
Open

    public function __construct(LanguageRepository $languageRepository, ParameterBagInterface $parameterBag, TranslatorInterface $translator)

Line indented incorrectly; expected 12 spaces, found 16
Open

                default => $matches[0],

Space before opening parenthesis of function call prohibited
Open

            return match ($type) {

There are no issues that match your filters.

Category
Status