Passed
Push — master ( d3a94c...76e109 )
by Valentin
05:50
created

EntityWithConstructor   A

Complexity

Total Complexity 7

Size/Duplication

Total Lines 39
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
wmc 7
lcom 0
cbo 0
dl 0
loc 39
rs 10
c 0
b 0
f 0

7 Methods

Rating   Name   Duplication   Size   Complexity  
A public() 0 3 1
A protected() 0 3 1
A private() 0 3 1
A publicStatic() 0 3 1
A publicFinal() 0 3 1
A __toString() 0 4 1
A __construct() 0 3 1
1
<?php
2
declare(strict_types=1);
3
4
namespace Cycle\ORM\Promise\Tests\Declaration\Fixtures;
5
6
class EntityWithConstructor
7
{
8
    public $public;
9
    public static $publicStatic;
10
    protected $protected;
11
    private $private = null;
12
13
    public function public()
14
    {
15
    }
16
17
    /**
18
     * @return array
19
     */
20
    protected function protected(): array
21
    {
22
    }
23
24
    private function private()
1 ignored issue
show
Unused Code introduced by
This method is not used, and could be removed.
Loading history...
25
    {
26
    }
27
28
    public static function publicStatic()
29
    {
30
    }
31
32
    public final function publicFinal()
33
    {
34
    }
35
36
    public function __toString()
37
    {
38
        return '';
39
    }
40
41
    public function __construct()
42
    {
43
    }
44
}