InputSanitizerBootstrapper   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 50%

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A createInputSanitizer() 0 4 1
1
<?php
2
3
/**
4
 * Part of the InputSanitizer package.
5
 *
6
 * @package        InputSanitizer
7
 * @version        1.0.2
8
 * @author         Arthur Lorent <[email protected]>, Daniel Lucas <[email protected]>
9
 * @license        MIT
10
 * @copyright  (c) 2006-2017, ACID-Solutions SARL
11
 * @link           https://acid.fr
12
 */
13
14
namespace AcidSolutions\InputSanitizer\Native;
15
16
use AcidSolutions\InputSanitizer\InputSanitizer;
17
18
class InputSanitizerBootstrapper
19
{
20
    /**
21
     * Creates an InputSanitizer instance.
22
     *
23
     * @return \AcidSolutions\InputSanitizer\InputSanitizer
24
     */
25 10
    public function createInputSanitizer()
26
    {
27 10
        return new InputSanitizer();
28
    }
29
}
30