LibreNMS/Enum/LegacyAuthLevel.php
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function getName(): string
- Exclude checks
Line indented incorrectly; expected 12 spaces, found 8 Open
Open
if ($this == LegacyAuthLevel::global_read) {
- Exclude checks
Line indented incorrectly; expected at least 16 spaces, found 12 Open
Open
return 'global-read';
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Space before opening parenthesis of function call prohibited Open
Open
return match ($name) {
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this->name;
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return match ($name) {
- Exclude checks
Line indented incorrectly; expected 12 spaces, found 8 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function fromName(string $name): ?LegacyAuthLevel
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
};
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks