UsersRequest
last analyzed

Complexity

Total Complexity 0

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 0
eloc 2
dl 0
loc 9
c 0
b 0
f 0
1
<?php
2
0 ignored issues
show
Coding Style introduced by
Missing file doc comment
Loading history...
3
namespace SchulIT\IdpExchange\Request;
4
5
use JMS\Serializer\Annotation as Serializer;
6
use Symfony\Component\Validator\Constraints as Assert;
7
8
/**
9
 * Requests information for specific users.
10
 */
0 ignored issues
show
Coding Style introduced by
Missing @category tag in class comment
Loading history...
Coding Style introduced by
Missing @package tag in class comment
Loading history...
Coding Style introduced by
Missing @author tag in class comment
Loading history...
Coding Style introduced by
Missing @license tag in class comment
Loading history...
Coding Style introduced by
Missing @link tag in class comment
Loading history...
11
class UsersRequest {
0 ignored issues
show
Coding Style introduced by
Opening brace of a class must be on the line after the definition
Loading history...
12
    /**
13
     * List of usernames for which the information is requested.
14
     *
15
     * @Serializer\Type("array<string>")
16
     * @Assert\Count(min="1")
17
     * @var string[]
0 ignored issues
show
Coding Style introduced by
Tag value for @var tag indented incorrectly; expected 30 spaces but found 1
Loading history...
18
     */
19
    public $usernames = [ ];
20
}