Issues (1574)

src/Soap/Request/SearchUndertaking.php (12 issues)

1
<?php
2
0 ignored issues
show
Missing file doc comment
Loading history...
3
namespace DMT\Insolvency\Soap\Request;
4
5
use DMT\Insolvency\Soap\Request;
6
use JMS\Serializer\Annotation as JMS;
7
use Symfony\Component\Validator\Constraints as Assert;
8
9
/**
10
 * Class SearchUndertaking
11
 *
12
 * @JMS\XmlNamespace("http://www.rechtspraak.nl/namespaces/cir01")
13
 * @JMS\XmlRoot("searchUndertaking", namespace="http://www.rechtspraak.nl/namespaces/cir01")
0 ignored issues
show
Tag value for @JMS\XmlRoot("searchUndertaking", tag indented incorrectly; expected 31 spaces but found 1
Loading history...
14
 */
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...
15
class SearchUndertaking implements Request
16
{
17
    /**
0 ignored issues
show
Missing short description in doc comment
Loading history...
18
     * @JMS\SerializedName("name")
19
     * @JMS\Type("string")
20
     * @JMS\XmlElement(cdata=false, namespace="http://www.rechtspraak.nl/namespaces/cir01")
21
     *
22
     * @var string $name
23
     */
24
    public $name;
25
26
    /**
0 ignored issues
show
Missing short description in doc comment
Loading history...
27
     * @Assert\Regex("~^\d{5,8}$~")
28
     *
29
     * @JMS\SerializedName("commercialRegisterID")
30
     * @JMS\Type("string")
31
     * @JMS\XmlElement(cdata=false, namespace="http://www.rechtspraak.nl/namespaces/cir01")
0 ignored issues
show
Tag value for @JMS\XmlElement(cdata=false, tag indented incorrectly; expected 16 spaces but found 1
Loading history...
32
     *
33
     * @var string $commercialRegisterID
34
     */
35
    public $commercialRegisterID;
36
37
    /**
0 ignored issues
show
Missing short description in doc comment
Loading history...
38
     * @Assert\Regex("~[1-9][0-9]{3}[A-Z]{2}~")
39
     *
40
     * @JMS\SerializedName("postalCode")
41
     * @JMS\Type("string")
42
     * @JMS\XmlElement(cdata=false)
43
     *
44
     * @var string $postalCode
45
     */
46
    public $postalCode;
47
48
    /**
0 ignored issues
show
Missing short description in doc comment
Loading history...
49
     * @Assert\PositiveOrZero
50
     *
51
     * @JMS\SerializedName("houseNumber")
52
     * @JMS\Type("string")
53
     * @JMS\XmlElement(cdata=false)
54
     *
55
     * @var int $houseNumber
56
     */
57
    public $houseNumber;
58
}
59