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 ( 0dcb27...fb7903 )
by Mewes
11:26
created

TestAppKernel::getCacheDir()   A

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
namespace MewesK\TwigSpreadsheetBundle\Tests\Fixtures;
4
5
use Symfony\Component\Config\Loader\LoaderInterface;
6
use Symfony\Component\HttpKernel\Kernel;
7
8
/**
9
 * Class TestAppKernel.
10
 */
11
class TestAppKernel extends Kernel
12
{
13
    /**
14
     * {@inheritdoc}
15
     */
16
    public function registerBundles()
17
    {
18
        return [
19
            new \Symfony\Bundle\FrameworkBundle\FrameworkBundle(),
20
            new \Symfony\Bundle\TwigBundle\TwigBundle(),
21
            new \Sensio\Bundle\FrameworkExtraBundle\SensioFrameworkExtraBundle(),
22
            new \MewesK\TwigSpreadsheetBundle\MewesKTwigSpreadsheetBundle(),
23
            new \MewesK\TwigSpreadsheetBundle\Tests\Fixtures\TestBundle\TestBundle(),
24
        ];
25
    }
26
27
    /**
28
     * {@inheritdoc}
29
     *
30
     * @throws \Exception
31
     */
32
    public function registerContainerConfiguration(LoaderInterface $loader)
33
    {
34
        $loader->load(sprintf('%s/config/config_%s.yml', $this->getRootDir(), $this->getEnvironment()));
35
    }
36
37
    /**
38
     * {@inheritdoc}
39
     */
40
    public function getCacheDir()
41
    {
42
        return sprintf('%s/../../tmp/cache', $this->getRootDir());
43
    }
44
45
    /**
46
     * {@inheritdoc}
47
     */
48
    public function getLogDir()
49
    {
50
        return sprintf('%s/../../tmp/logs', $this->getRootDir());
51
    }
52
}
53