chamilo/chamilo-lms

View on GitHub
src/CoreBundle/ServiceHelper/TicketProjectHelper.php

Summary

Maintainability
A
0 mins
Test Coverage

Closing brace must be on a line by itself
Open

    ) {}

Missing function doc comment
Open

    public function getAllowedRolesFromProject(int $projectId): array

Missing function doc comment
Open

    public function userIsAllowInProject(int $projectId): bool

Add a single space around assignment operators
Open

declare(strict_types=1);

Missing function doc comment
Open

    public function __construct(

Missing class doc comment
Open

class TicketProjectHelper

Space before opening parenthesis of function call prohibited
Open

        return array_map(fn ($roleId) => $roleMap[$roleId] ?? "$roleId", $roleIds);

Line indented incorrectly; expected 4 spaces, found 8
Open

        private readonly SettingsManager $settingsManager,

Space before opening parenthesis of function call prohibited
Open

        return array_map(fn ($roleId) => $roleMap[$roleId] ?? "$roleId", $roleIds);

Line indented incorrectly; expected 4 spaces, found 8
Open

        private readonly Security $security,

Closing brace must be on a line by itself
Open

    ) {}

There are no issues that match your filters.

Category
Status