ExpectedVersion::__construct()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 2
Bugs 1 Features 1
Metric Value
c 2
b 1
f 1
dl 0
loc 3
ccs 0
cts 2
cp 0
rs 10
cc 1
eloc 1
nc 1
nop 0
crap 2
1
<?php
2
namespace EventStore;
3
4
/**
5
 * Class ExpectedVersion
6
 * @package EventStore
7
 */
8
class ExpectedVersion
9
{
10
    const ANY          = -2;
11
    const NO_STREAM    = -1;
12
13
    private function __construct()
14
    {
15
    }
16
}
17