Test Failed
Pull Request — master (#14)
by Christopher
09:20 queued 05:54
created

testType   A

Complexity

Total Complexity 8

Size/Duplication

Total Lines 42
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
wmc 8
lcom 0
cbo 1
dl 0
loc 42
c 0
b 0
f 0
rs 10

8 Methods

Rating   Name   Duplication   Size   Complexity  
A isStringNotNullOrEmpty() 0 4 1
A isStringNotNull() 0 4 1
A isNotNullInstanceOf() 0 4 1
A isNullInstanceOf() 0 4 1
A isValidArray() 0 4 1
A isChildArrayOK() 0 4 1
A isURLValid() 0 4 1
A isOK() 0 4 1
1
<?php
2
3
namespace AlgoWeb\ODataMetadata\Tests;
4
5
use AlgoWeb\ODataMetadata\IsOK;
6
7
class testType extends IsOK
8
{
9
    public function isStringNotNullOrEmpty($str)
10
    {
11
        return parent::isStringNotNullOrEmpty($str);
12
    }
13
14
    public function isStringNotNull($str)
15
    {
16
        return parent::isStringNotNull($str);
17
    }
18
19
    public function isNotNullInstanceOf($var, $instanceOf)
20
    {
21
        return parent::isNotNullInstanceOf($var, $instanceOf);
22
    }
23
24
    public function isNullInstanceOf($var, $instanceOf)
25
    {
26
        return parent::isNullInstanceOf($var, $instanceOf);
27
    }
28
29
    public function isValidArray(array $arr, $instanceOf, $minCount = -1, $maxCount = -1)
30
    {
31
        return parent::isValidArray($arr, $instanceOf, $minCount, $maxCount);
32
    }
33
34
    public function isChildArrayOK(array $arr, &$msg)
35
    {
36
        return parent::isChildArrayOK($arr, $msg);
37
    }
38
39
    public function isURLValid($url)
40
    {
41
        return parent::isURLValid($url);
42
    }
43
44
    public function isOK(&$msg = null)
45
    {
46
        return true;
47
    }
48
}
49