Total Complexity | 5 |
Total Lines | 35 |
Duplicated Lines | 0 % |
Coverage | 42.86% |
Changes | 0 |
1 | <?php |
||
11 | final class TabelleSingletonUtility |
||
12 | { |
||
13 | |||
14 | private static $queryTabelle; |
||
15 | |||
16 | /** |
||
17 | * Call this method to get singleton |
||
18 | * |
||
19 | * @return UserFactory |
||
|
|||
20 | */ |
||
21 | 17 | public static function instance($em, $nometabella, $operatore) |
|
22 | { |
||
23 | 17 | static $inst = null; |
|
24 | 17 | if ($inst === null) { |
|
25 | $inst = new TabelleSingletonUtility($em, $nometabella, $operatore); |
||
26 | } |
||
27 | 17 | return $inst; |
|
28 | } |
||
29 | |||
30 | /** |
||
31 | * Private construct so nobody else can instantiate it |
||
32 | * |
||
33 | */ |
||
34 | private function __construct($em, $nometabella, $operatore) |
||
40 | } |
||
41 | } |
||
42 | |||
43 | 17 | public static function getTabelle() |
|
46 | } |
||
47 | } |
||
48 |
The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g.
excluded_paths: ["lib/*"]
, you can move it to the dependency path list as follows:For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths