Code Coverage
 
Lines
Branches
Paths
Functions and Methods
Classes and Traits
Total
n/a
0 / 0
n/a
0 / 0
n/a
0 / 0
n/a
0 / 0
CRAP
n/a
0 / 0
ValidationErrorMessage
n/a
0 / 0
n/a
0 / 0
n/a
0 / 0
n/a
0 / 0
0
n/a
0 / 0
1<?php
2
3namespace App\Exception;
4
5/**
6 * @author Wilhelm Zwertvaegher
7 */
8class ValidationErrorMessage
9{
10    public const string UNKNOWN_ERROR = 'error.validation.unknown_error';
11    public const string INVALID_EMAIL = 'error.validation.invalid_email';
12    public const string INVALID_FIELD_VALUE = 'error.validation.invalid_field_value';
13    public const string FIELD_CANNOT_BE_NULL = 'error.validation.field_cannot_be_null';
14    public const string FIELD_CANNOT_BE_EMPTY = 'error.validation.field_cannot_be_empty';
15    public const string MALFORMED_FIELD_VALUE = 'error.validation.malformed_value';
16    public const string FIELD_CANNOT_CONTAIN_HTML = 'error.validation.field_cannot_contain_html';
17    public const string ENTITY_ALREADY_EXISTS = 'error.validation.entity_already_exists';
18    public const string FIELD_VALUE_TOO_SHORT = 'error.validation.field_value_too_short';
19    public const string QUALIFIER_POSITION_CANNOT_BE_EMPTY = 'error.validation.qualifier_position_cannot_be_empty';
20}

Branches

Below are the source code lines that represent each code branch as identified by Xdebug. Please note a branch is not necessarily coterminous with a line, a line may contain multiple branches and therefore show up more than once. Please also be aware that some branches may be implicit rather than explicit, e.g. an if statement always has an else as part of its logical flow even if you didn't write one.