chamilo/chamilo-lms

View on GitHub
src/CoreBundle/Security/Authorization/Voter/MessageRelUserVoter.php

Summary

Maintainability
A
0 mins
Test Coverage

Add a single space around assignment operators
Open

declare(strict_types=1);

Missing function doc comment
Open

    public function __construct(

Closing brace must be on a line by itself
Open

    ) {}

Space before opening parenthesis of function call prohibited
Open

        return match ($attribute) {

Missing class doc comment
Open

class MessageRelUserVoter extends Voter

Line indented incorrectly; expected 4 spaces, found 8
Open

        private readonly Security $security

Line indented incorrectly; expected 8 spaces, found 12
Open

            default => false,

Closing brace must be on a line by itself
Open

    ) {}

Space before opening parenthesis of function call prohibited
Open

        return match ($attribute) {

There are no issues that match your filters.

Category
Status