Failed Conditions
Pull Request — develop (#3525)
by Jonathan
09:58
created

SchemaException::columnDoesNotExist()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 4
CRAP Score 1

Importance

Changes 0
Metric Value
eloc 3
dl 0
loc 5
ccs 4
cts 4
cp 1
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 2
crap 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Doctrine\DBAL\Schema;
6
7
use Doctrine\DBAL\DBALException;
8
9
class SchemaException extends DBALException
10
{
11
    public const TABLE_DOESNT_EXIST       = 10;
12
    public const TABLE_ALREADY_EXISTS     = 20;
13
    public const COLUMN_DOESNT_EXIST      = 30;
14
    public const COLUMN_ALREADY_EXISTS    = 40;
15
    public const INDEX_DOESNT_EXIST       = 50;
16
    public const INDEX_ALREADY_EXISTS     = 60;
17
    public const SEQUENCE_DOENST_EXIST    = 70;
18
    public const SEQUENCE_ALREADY_EXISTS  = 80;
19
    public const INDEX_INVALID_NAME       = 90;
20
    public const FOREIGNKEY_DOESNT_EXIST  = 100;
21
    public const CONSTRAINT_DOESNT_EXIST  = 110;
22
    public const NAMESPACE_ALREADY_EXISTS = 120;
23
}
24