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 — 3.0 ( 5276e1...94e02b )
by Vermeulen
01:25
created

Application   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 42
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 17
dl 0
loc 42
rs 10
c 0
b 0
f 0
wmc 2

2 Methods

Rating   Name   Duplication   Size   Complexity  
A run() 0 9 1
A obtainAppSystemList() 0 22 1
1
<?php
2
3
namespace BFW\Install;
4
5
/**
6
 * Application class for install module script
7
 * 
8
 * @method \BFW\Install\Core\AppSystems\ModuleInstall getModuleInstall()
9
 */
10
class Application extends \BFW\Application
11
{
12
    /**
13
     * {@inheritdoc}
14
     * Remove not used systems, and add new system used by installer
15
     */
16
    protected function obtainAppSystemList(): array
17
    {
18
        $appSystemList = parent::obtainAppSystemList();
19
        
20
        //Remove not used systems
21
        unset(
22
            $appSystemList['request'],
23
            $appSystemList['session'],
24
            $appSystemList['errors'],
25
            $appSystemList['cli'],
26
            $appSystemList['ctrlRouterLink']
27
        );
28
        
29
        $appSystemNS = '\BFW\Install\Core\AppSystems\\';
30
        
31
        //Change ModuleList class
32
        $appSystemList['moduleList'] = $appSystemNS.'ModuleList';
33
        
34
        //Add new system : module installation system
35
        $appSystemList['moduleInstall'] = $appSystemNS.'ModuleInstall';
36
        
37
        return $appSystemList;
38
    }
39
40
    /**
41
     * {@inheritdoc}
42
     */
43
    public function run()
44
    {
45
        $this->getMonolog()
46
            ->getLogger()
47
            ->debug('running framework install')
48
        ;
49
        
50
        $this->runTasks->run();
51
        $this->runTasks->sendNotify('bfw_modules_install_done');
52
    }
53
}
54