src/CoreBundle/ServiceHelper/TicketProjectHelper.php
Closing brace must be on a line by itself Open
Open
) {}
- Exclude checks
Missing function doc comment Open
Open
public function getAllowedRolesFromProject(int $projectId): array
- Exclude checks
Missing function doc comment Open
Open
public function userIsAllowInProject(int $projectId): bool
- Exclude checks
Add a single space around assignment operators Open
Open
declare(strict_types=1);
- Exclude checks
Missing function doc comment Open
Open
public function __construct(
- Exclude checks
Missing class doc comment Open
Open
class TicketProjectHelper
- Exclude checks
Space before opening parenthesis of function call prohibited Open
Open
return array_map(fn ($roleId) => $roleMap[$roleId] ?? "$roleId", $roleIds);
- Exclude checks
Line indented incorrectly; expected 4 spaces, found 8 Open
Open
private readonly SettingsManager $settingsManager,
- Exclude checks
Space before opening parenthesis of function call prohibited Open
Open
return array_map(fn ($roleId) => $roleMap[$roleId] ?? "$roleId", $roleIds);
- Exclude checks
Line indented incorrectly; expected 4 spaces, found 8 Open
Open
private readonly Security $security,
- Exclude checks
Closing brace must be on a line by itself Open
Open
) {}
- Exclude checks