GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.

FakeDoctrineManagerRegistry   A
last analyzed

Complexity

Total Complexity 12

Size/Duplication

Total Lines 100
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 1

Importance

Changes 0
Metric Value
wmc 12
lcom 1
cbo 1
dl 0
loc 100
rs 10
c 0
b 0
f 0

12 Methods

Rating   Name   Duplication   Size   Complexity  
A getDefaultConnectionName() 0 4 1
A getConnection() 0 4 1
A getConnections() 0 4 1
A getConnectionNames() 0 4 1
A getDefaultManagerName() 0 4 1
A getManager() 0 4 1
A getManagers() 0 4 1
A resetManager() 0 4 1
A getAliasNamespace() 0 4 1
A getManagerNames() 0 4 1
A getRepository() 0 4 1
A getManagerForClass() 0 4 1
1
<?php
2
3
/*
4
 * This file is part of the Hautelook\AliceBundle package.
5
 *
6
 * (c) Baldur Rensch <[email protected]>
7
 *
8
 * For the full copyright and license information, please view the LICENSE
9
 * file that was distributed with this source code.
10
 */
11
12
namespace Hautelook\AliceBundle\Persistence;
13
14
use Doctrine\Common\Persistence\ManagerRegistry;
15
use Hautelook\AliceBundle\NotCallableTrait;
16
17
/**
18
 * @author Théo FIDRY <[email protected]>
19
 */
20
class FakeDoctrineManagerRegistry implements ManagerRegistry
21
{
22
    use NotCallableTrait;
23
24
    /**
25
     * @inheritdoc
26
     */
27
    public function getDefaultConnectionName()
28
    {
29
        $this->__call(__METHOD__, func_get_args());
30
    }
31
32
    /**
33
     * @inheritdoc
34
     */
35
    public function getConnection($name = null)
36
    {
37
        $this->__call(__METHOD__, func_get_args());
38
    }
39
40
    /**
41
     * @inheritdoc
42
     */
43
    public function getConnections()
44
    {
45
        $this->__call(__METHOD__, func_get_args());
46
    }
47
48
    /**
49
     * @inheritdoc
50
     */
51
    public function getConnectionNames()
52
    {
53
        $this->__call(__METHOD__, func_get_args());
54
    }
55
56
    /**
57
     * @inheritdoc
58
     */
59
    public function getDefaultManagerName()
60
    {
61
        $this->__call(__METHOD__, func_get_args());
62
    }
63
64
    /**
65
     * @inheritdoc
66
     */
67
    public function getManager($name = null)
68
    {
69
        $this->__call(__METHOD__, func_get_args());
70
    }
71
72
    /**
73
     * @inheritdoc
74
     */
75
    public function getManagers()
76
    {
77
        $this->__call(__METHOD__, func_get_args());
78
    }
79
80
    /**
81
     * @inheritdoc
82
     */
83
    public function resetManager($name = null)
84
    {
85
        $this->__call(__METHOD__, func_get_args());
86
    }
87
88
    /**
89
     * @inheritdoc
90
     */
91
    public function getAliasNamespace($alias)
92
    {
93
        $this->__call(__METHOD__, func_get_args());
94
    }
95
96
    /**
97
     * @inheritdoc
98
     */
99
    public function getManagerNames()
100
    {
101
        $this->__call(__METHOD__, func_get_args());
102
    }
103
104
    /**
105
     * @inheritdoc
106
     */
107
    public function getRepository($persistentObject, $persistentManagerName = null)
108
    {
109
        $this->__call(__METHOD__, func_get_args());
110
    }
111
112
    /**
113
     * @inheritdoc
114
     */
115
    public function getManagerForClass($class)
116
    {
117
        $this->__call(__METHOD__, func_get_args());
118
    }
119
}
120