Scrutinizer GitHub App not installed

We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.

Install GitHub App

Completed
Push — 1.0 ( 145725...d072b4 )
by Henrique
03:07
created

Bic   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 19
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
wmc 2
lcom 0
cbo 2
dl 0
loc 19
ccs 0
cts 6
cp 0
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 8 2
1
<?php
2
3
/*
4
 * This file is part of Respect/Validation.
5
 *
6
 * (c) Alexandre Gomes Gaigalas <[email protected]>
7
 *
8
 * For the full copyright and license information, please view the "LICENSE.md"
9
 * file that was distributed with this source code.
10
 */
11
12
namespace Respect\Validation\Rules;
13
14
use Respect\Validation\Rules\Locale\Factory;
15
16
class Bic extends AbstractWrapper
17
{
18
    /**
19
     * Defines the country code.
20
     *
21
     * The country code is not case sensitive.
22
     *
23
     * @param string  $countryCode The ISO 639-1 country code.
24
     * @param Factory $factory
25
     */
26
    public function __construct($countryCode, Factory $factory = null)
27
    {
28
        if (null === $factory) {
29
            $factory = new Factory();
30
        }
31
32
        $this->validatable = $factory->bic($countryCode);
33
    }
34
}
35