Issues (181)

Request/UpdatedUsersRequest.php (8 issues)

1
<?php
2
0 ignored issues
show
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
 * Represents a request for users which has been updated since a specific date.
10
 */
0 ignored issues
show
Missing @category tag in class comment
Loading history...
Missing @package tag in class comment
Loading history...
Missing @author tag in class comment
Loading history...
Missing @license tag in class comment
Loading history...
Missing @link tag in class comment
Loading history...
11
class UpdatedUsersRequest {
0 ignored issues
show
Opening brace of a class must be on the line after the definition
Loading history...
12
    /**
13
     * List of usernames which are checked for any updates.
14
     *
15
     * @Serializer\Type("array<string>")
16
     * @Assert\Count(min="1")
17
     */
18
    public $usernames = [ ];
19
20
    /**
0 ignored issues
show
Missing short description in doc comment
Loading history...
21
     * @Serializer\Type("DateTime")
22
     * @Assert\NotNull()
23
     */
24
    public $since = null;
25
}