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::setContainer()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 3
CRAP Score 1

Importance

Changes 1
Bugs 1 Features 0
Metric Value
c 1
b 1
f 0
dl 0
loc 4
ccs 3
cts 3
cp 1
rs 10
cc 1
eloc 2
nc 1
nop 1
crap 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