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.

FakeEntityManager::getUnitOfWork()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 0
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\ObjectMapper;
13
14
use Doctrine\ORM\EntityManagerInterface;
15
use Doctrine\ORM\Query\ResultSetMapping;
16
use Hautelook\AliceBundle\NotCallableTrait;
17
18
/**
19
 * @author Théo FIDRY <[email protected]>
20
 */
21
class FakeEntityManager implements EntityManagerInterface
22
{
23
    use NotCallableTrait;
24
25
    /**
26
     * @inheritdoc
27
     */
28
    public function getCache()
29
    {
30
        $this->__call(__METHOD__, func_get_args());
31
    }
32
33
    /**
34
     * @inheritdoc
35
     */
36
    public function getConnection()
37
    {
38
        $this->__call(__METHOD__, func_get_args());
39
    }
40
41
    /**
42
     * @inheritdoc
43
     */
44
    public function getExpressionBuilder()
45
    {
46
        $this->__call(__METHOD__, func_get_args());
47
    }
48
49
    /**
50
     * @inheritdoc
51
     */
52
    public function beginTransaction()
53
    {
54
        $this->__call(__METHOD__, func_get_args());
55
    }
56
57
    /**
58
     * @inheritdoc
59
     */
60
    public function transactional($func)
61
    {
62
        $this->__call(__METHOD__, func_get_args());
63
    }
64
65
    /**
66
     * @inheritdoc
67
     */
68
    public function commit()
69
    {
70
        $this->__call(__METHOD__, func_get_args());
71
    }
72
73
    /**
74
     * @inheritdoc
75
     */
76
    public function rollback()
77
    {
78
        $this->__call(__METHOD__, func_get_args());
79
    }
80
81
    /**
82
     * @inheritdoc
83
     */
84
    public function createQuery($dql = '')
85
    {
86
        $this->__call(__METHOD__, func_get_args());
87
    }
88
89
    /**
90
     * @inheritdoc
91
     */
92
    public function createNamedQuery($name)
93
    {
94
        $this->__call(__METHOD__, func_get_args());
95
    }
96
97
    /**
98
     * @inheritdoc
99
     */
100
    public function createNativeQuery($sql, ResultSetMapping $rsm)
101
    {
102
        $this->__call(__METHOD__, func_get_args());
103
    }
104
105
    /**
106
     * @inheritdoc
107
     */
108
    public function createNamedNativeQuery($name)
109
    {
110
        $this->__call(__METHOD__, func_get_args());
111
    }
112
113
    /**
114
     * @inheritdoc
115
     */
116
    public function createQueryBuilder()
117
    {
118
        $this->__call(__METHOD__, func_get_args());
119
    }
120
121
    /**
122
     * @inheritdoc
123
     */
124
    public function getReference($entityName, $id)
125
    {
126
        $this->__call(__METHOD__, func_get_args());
127
    }
128
129
    /**
130
     * @inheritdoc
131
     */
132
    public function getPartialReference($entityName, $identifier)
133
    {
134
        $this->__call(__METHOD__, func_get_args());
135
    }
136
137
    /**
138
     * @inheritdoc
139
     */
140
    public function close()
141
    {
142
        $this->__call(__METHOD__, func_get_args());
143
    }
144
145
    /**
146
     * @inheritdoc
147
     */
148
    public function copy($entity, $deep = false)
149
    {
150
        $this->__call(__METHOD__, func_get_args());
151
    }
152
153
    /**
154
     * @inheritdoc
155
     */
156
    public function lock($entity, $lockMode, $lockVersion = null)
157
    {
158
        $this->__call(__METHOD__, func_get_args());
159
    }
160
161
    /**
162
     * @inheritdoc
163
     */
164
    public function getEventManager()
165
    {
166
        $this->__call(__METHOD__, func_get_args());
167
    }
168
169
    /**
170
     * @inheritdoc
171
     */
172
    public function getConfiguration()
173
    {
174
        $this->__call(__METHOD__, func_get_args());
175
    }
176
177
    /**
178
     * @inheritdoc
179
     */
180
    public function isOpen()
181
    {
182
        $this->__call(__METHOD__, func_get_args());
183
    }
184
185
    /**
186
     * @inheritdoc
187
     */
188
    public function getUnitOfWork()
189
    {
190
        $this->__call(__METHOD__, func_get_args());
191
    }
192
193
    /**
194
     * @inheritdoc
195
     */
196
    public function getHydrator($hydrationMode)
197
    {
198
        $this->__call(__METHOD__, func_get_args());
199
    }
200
201
    /**
202
     * @inheritdoc
203
     */
204
    public function newHydrator($hydrationMode)
205
    {
206
        $this->__call(__METHOD__, func_get_args());
207
    }
208
209
    /**
210
     * @inheritdoc
211
     */
212
    public function getProxyFactory()
213
    {
214
        $this->__call(__METHOD__, func_get_args());
215
    }
216
217
    /**
218
     * @inheritdoc
219
     */
220
    public function getFilters()
221
    {
222
        $this->__call(__METHOD__, func_get_args());
223
    }
224
225
    /**
226
     * @inheritdoc
227
     */
228
    public function isFiltersStateClean()
229
    {
230
        $this->__call(__METHOD__, func_get_args());
231
    }
232
233
    /**
234
     * @inheritdoc
235
     */
236
    public function hasFilters()
237
    {
238
        $this->__call(__METHOD__, func_get_args());
239
    }
240
241
    /**
242
     * @inheritdoc
243
     */
244
    public function find($className, $id)
245
    {
246
        $this->__call(__METHOD__, func_get_args());
247
    }
248
249
    /**
250
     * @inheritdoc
251
     */
252
    public function persist($object)
253
    {
254
        $this->__call(__METHOD__, func_get_args());
255
    }
256
257
    /**
258
     * @inheritdoc
259
     */
260
    public function remove($object)
261
    {
262
        $this->__call(__METHOD__, func_get_args());
263
    }
264
265
    /**
266
     * @inheritdoc
267
     */
268
    public function merge($object)
269
    {
270
        $this->__call(__METHOD__, func_get_args());
271
    }
272
273
    /**
274
     * @inheritdoc
275
     */
276
    public function clear($objectName = null)
277
    {
278
        $this->__call(__METHOD__, func_get_args());
279
    }
280
281
    /**
282
     * @inheritdoc
283
     */
284
    public function detach($object)
285
    {
286
        $this->__call(__METHOD__, func_get_args());
287
    }
288
289
    /**
290
     * @inheritdoc
291
     */
292
    public function refresh($object)
293
    {
294
        $this->__call(__METHOD__, func_get_args());
295
    }
296
297
    /**
298
     * @inheritdoc
299
     */
300
    public function flush()
301
    {
302
        $this->__call(__METHOD__, func_get_args());
303
    }
304
305
    /**
306
     * @inheritdoc
307
     */
308
    public function getRepository($className)
309
    {
310
        $this->__call(__METHOD__, func_get_args());
311
    }
312
313
    /**
314
     * @inheritdoc
315
     */
316
    public function getMetadataFactory()
317
    {
318
        $this->__call(__METHOD__, func_get_args());
319
    }
320
321
    /**
322
     * @inheritdoc
323
     */
324
    public function initializeObject($obj)
325
    {
326
        $this->__call(__METHOD__, func_get_args());
327
    }
328
329
    /**
330
     * @inheritdoc
331
     */
332
    public function contains($object)
333
    {
334
        $this->__call(__METHOD__, func_get_args());
335
    }
336
337
    /**
338
     * @inheritdoc
339
     */
340
    public function getClassMetadata($className)
341
    {
342
        $this->__call(__METHOD__, func_get_args());
343
    }
344
}
345