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.
Completed
Push — master ( 6576e7...e3f776 )
by Théo
08:52
created

AbstractLoader   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 28
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Test Coverage

Coverage 100%

Importance

Changes 5
Bugs 2 Features 1
Metric Value
wmc 2
c 5
b 2
f 1
lcom 0
cbo 0
dl 0
loc 28
ccs 5
cts 5
cp 1
rs 10

2 Methods

Rating   Name   Duplication   Size   Complexity  
A setContainer() 0 4 1
A load() 0 3 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\Doctrine\DataFixtures;
13
14
use Doctrine\Common\Persistence\ObjectManager;
15
use Symfony\Component\DependencyInjection\ContainerAwareInterface;
16
use Symfony\Component\DependencyInjection\ContainerInterface;
17
18
/**
19
 * Helper for declaring doctrine data loaders.
20
 *
21
 * @author Baldur Rensch <[email protected]>
22
 * @author Théo FIDRY <[email protected]>
23
 * @author Sullivan Senechal <[email protected]>
24
 */
25
abstract class AbstractLoader implements ContainerAwareInterface, LoaderInterface
26
{
27
    /**
28
     * @var ContainerInterface
29
     */
30
    protected $container;
31
32
    /**
33
     * {@inheritdoc}
34
     *
35
     * Use Symfony\Component\DependencyInjection\ContainerAwareTrait instead when dropping SF 2.3 and PHP 5.3 support.
36
     */
37 7
    public function setContainer(ContainerInterface $container = null)
38
    {
39 7
        $this->container = $container;
40 7
    }
41
42
    /**
43
     * Loads the fixtures files.
44
     *
45
     * @param ObjectManager $objectManager
46
     *
47
     * @return \object[] Persisted objects
48
     */
49 7
    public function load(ObjectManager $objectManager)
50
    {
51 7
    }
52
}
53