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

EntityWithoutTrait   A

Complexity

Total Complexity 8

Size/Duplication

Total Lines 47
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

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

8 Methods

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