Completed
Push — master ( 1d0973...9e97b2 )
by Hannes
02:10
created

UnknownFormat   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 1
dl 0
loc 12
ccs 7
cts 7
cp 1
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 9 1
1
<?php
2
3
namespace byrokrat\banking;
4
5
/**
6
 * Format of the unknown account
7
 */
8
class UnknownFormat extends Format
9
{
10 10
    public function __construct()
11
    {
12 10
        parent::__construct(
13 10
            BankNames::BANK_UNKNOWN,
14 10
            '/^([1-9]\d{3})(),?(\d{6,11})-?(\d)$/',
15 10
            'byrokrat\banking\BaseAccount',
16 10
            []
17
        );
18 10
    }
19
}
20