Failed Conditions
Pull Request — develop (#6724)
by Marco
122:37 queued 57:31
created

Inverse   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
lcom 0
cbo 0
dl 0
loc 13
rs 10
c 1
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Doctrine\Tests\Models\UniDirectionalManyToMany;
6
7
use Doctrine\ORM\Annotation as ORM;
8
9
/**
10
 * @ORM\Entity
11
 * @ORM\Table(name="uni_directional_many_to_many_inverse")
12
 */
13
class Inverse
14
{
15
    /**
16
     * @ORM\Column(type="string")
17
     * @ORM\Id
18
     */
19
    public $id;
20
21
    public function __construct()
22
    {
23
        $this->id = \uniqid(self::class, true);
24
    }
25
}
26