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

Complexity

Conditions 1
Paths 1

Size

Total Lines 22
Code Lines 11

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 11
nc 1
nop 0
dl 0
loc 22
rs 9.9
c 0
b 0
f 0
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