Passed
Push — master ( 0756fe...706dc7 )
by Arthur
14:47
created

PropertyRequiredViolation   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 15
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 1
eloc 7
dl 0
loc 15
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 9 1
1
<?php
2
3
4
namespace Larapie\DataTransferObject\Violations;
5
6
use Symfony\Component\Validator\ConstraintViolation;
7
8
class PropertyRequiredViolation extends ConstraintViolation
9
{
10
11
    /**
12
     * RequiredPropertyViolation constructor.
13
     */
14
    public function __construct()
15
    {
16
        parent::__construct(
17
            "is required",
18
            "is required",
19
            [],
20
            null,
21
            "",
22
            null
23
        );
24
    }
25
}