Completed
Push — master ( b3b63a...eaaf09 )
by Artem
01:24
created

PasswordMeetSpecialRequirements::getTargets()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
1
<?php
2
/*
3
 * This file is part of the StfalconApiBundle.
4
 *
5
 * (c) Stfalcon LLC <stfalcon.com>
6
 *
7
 * For the full copyright and license information, please view the LICENSE
8
 * file that was distributed with this source code.
9
 */
10
11
declare(strict_types=1);
12
13
namespace StfalconStudio\ApiBundle\Validator\Constraints\Password;
14
15
use Symfony\Component\Validator\Constraint;
16
17
/**
18
 * PasswordMeetSpecialRequirements.
19
 *
20
 * @Annotation
21
 */
22
class PasswordMeetSpecialRequirements extends Constraint
23
{
24
    public const PASSWORD_DOES_NOT_MEET_SPECIAL_REQUIREMENTS = 'PASSWORD_DOES_NOT_MEET_SPECIAL_REQUIREMENTS';
25
26
    /** @var string */
27
    public $message = 'password_does_not_meet_special_requirements';
28
29
    /** @var string[] */
30
    protected static $errorNames = [
31
        self::PASSWORD_DOES_NOT_MEET_SPECIAL_REQUIREMENTS => self::PASSWORD_DOES_NOT_MEET_SPECIAL_REQUIREMENTS,
32
    ];
33
}
34