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.

Application   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 41
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 16
dl 0
loc 41
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 21 1
1
<?php
2
3
namespace BFW\Install;
4
5
/**
6
 * Application class for install module script
7
 * 
8
 * @method \BFW\Install\Core\AppSystems\ModuleManager getModuleManager()
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['ctrlRouterLink']
26
        );
27
        
28
        $appSystemNS = '\BFW\Install\Core\AppSystems\\';
29
        
30
        //Change ModuleList class
31
        $appSystemList['moduleList'] = $appSystemNS.'ModuleList';
32
        
33
        //Add new system : module installation system
34
        $appSystemList['moduleManager'] = $appSystemNS.'ModuleManager';
35
        
36
        return $appSystemList;
37
    }
38
39
    /**
40
     * {@inheritdoc}
41
     */
42
    public function run()
43
    {
44
        $this->getMonolog()
45
            ->getLogger()
46
            ->debug('running framework install')
47
        ;
48
        
49
        $this->runTasks->run();
50
        $this->runTasks->sendNotify('bfw_install_done');
51
    }
52
}
53