src/CoreBundle/ServiceHelper/PermissionServiceHelper.php
Closing brace must be on a line by itself Open
Open
) {}
- Exclude checks
Missing class doc comment Open
Open
class PermissionServiceHelper
- 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 getUserRoles(): array
- Exclude checks
Missing function doc comment Open
Open
public function __construct(
- Exclude checks
Missing function doc comment Open
Open
public function hasPermission(string $permissionSlug, array $roles): bool
- Exclude checks
Line indented incorrectly; expected 4 spaces, found 8 Open
Open
private ParameterBagInterface $parameterBag,
- Exclude checks
Closing brace must be on a line by itself Open
Open
) {}
- Exclude checks
Line indented incorrectly; expected 4 spaces, found 8 Open
Open
private PermissionRelRoleRepository $permissionRelRoleRepository
- Exclude checks