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
Pull Request — master (#391)
by
unknown
31:20
created

DoctrineOrmMissingBundleInformationCommand   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 27
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 2

Importance

Changes 2
Bugs 0 Features 1
Metric Value
wmc 2
c 2
b 0
f 1
lcom 1
cbo 2
dl 0
loc 27
rs 10

2 Methods

Rating   Name   Duplication   Size   Complexity  
A configure() 0 8 1
A execute() 0 12 1
1
<?php
2
3
4
namespace Hautelook\AliceBundle\Console\Command\Doctrine;
5
6
use Symfony\Component\Console\Command\Command;
7
use Symfony\Component\Console\Input\InputInterface;
8
use Symfony\Component\Console\Output\OutputInterface;
9
use Symfony\Component\Console\Style\SymfonyStyle;
10
11
/**
12
 * @package Hautelook\AliceBundle\Console\Command\Doctrine
13
 * @author Dennis Langen <[email protected]>
14
 */
15
final class DoctrineOrmMissingBundleInformationCommand extends Command
16
{
17
    /**
18
     * @inheritdoc
19
     */
20
    protected function configure()
21
    {
22
        $this
23
            ->setName('hautelook:fixtures:load')
24
            ->setAliases(['hautelook:fixtures:load'])
25
            ->setDescription('Load data fixtures to your database.')
26
        ;
27
    }
28
29
    protected function execute(InputInterface $input, OutputInterface $output)
30
    {
31
        $io = new SymfonyStyle($input, $output);
32
33
        $io->writeln([
34
            'Attention',
35
            '============',
36
            '',
37
            'No ORM bridge has been installed. Please install one to be able to use this command.',
38
            'See https://github.com/hautelook/AliceBundle#installation for more information.'
39
        ]);
40
    }
41
}
42