Test Failed
Push — master ( e3c39f...fe570d )
by Mihail
07:20
created

Apps/Controller/Admin/Main.php (6 issues)

Labels
1
<?php
2
3
namespace Apps\Controller\Admin;
4
5
6
use Extend\Core\Arch\AdminController;
7
8
/**
9
 * Class Main. Admin main controller - index page, settings, file manager, security and etc.
10
 * @package Apps\Controller\Admin
11
 */
12
class Main extends AdminController
13
{
14
    const SEARCH_EVENT_NAME = 'admin.search.run';
15
    const SEARCH_QUERY_MAX_LENGTH = 100;
16
17
    public $type = 'app';
18
19
    use Main\Boot;
0 ignored issues
show
The trait Apps\Controller\Admin\Main\Boot requires some properties which are not provided by Apps\Controller\Admin\Main: $version, $relevance, $sys_name, $created_at
Loading history...
20
21
    use Main\ActionIndex {
22
        index as actionIndex;
23
    }
24
25
    use Main\ActionSettings {
26
        settings as actionSettings;
27
    }
28
29
    use Main\ActionUpdates {
0 ignored issues
show
The trait Apps\Controller\Admin\Main\ActionUpdates requires some properties which are not provided by Apps\Controller\Admin\Main: $scriptVersion, $versionsEqual, $lastInfo, $lastVersion, $dbVersion, $haveRemoteNew
Loading history...
30
        updates as actionUpdates;
31
    }
32
33
    use Main\ActionSessions {
34
        sessions as actionSessions;
35
    }
36
37
    use Main\ActionFiles {
0 ignored issues
show
The trait Apps\Controller\Admin\Main\ActionFiles requires the property $scriptUrl which is not provided by Apps\Controller\Admin\Main.
Loading history...
38
        files as actionFiles;
39
    }
40
41
    use Main\ActionAntivirus {
42
        antivirus as actionAntivirus;
43
    }
44
45
    use Main\ActionDebugCookie {
46
        debugCookie as actionDebugcookie;
47
    }
48
49
    use Main\ActionRouting {
50
        routing as actionRouting;
51
    }
52
53
    use Main\ActionAddRoute {
54
        addRoute as actionAddroute;
55
    }
56
57
    use Main\ActionDeleteRoute {
0 ignored issues
show
The trait Apps\Controller\Admin\Main\ActionDeleteRoute requires the property $query which is not provided by Apps\Controller\Admin\Main.
Loading history...
58
        deleteRoute as actionDeleteroute;
59
    }
60
61
    use Main\ActionCache {
62
        cache as actionCache;
63
    }
64
65
    use Main\ActionSearch {
0 ignored issues
show
The trait Apps\Controller\Admin\Main\ActionSearch requires the property $query which is not provided by Apps\Controller\Admin\Main.
Loading history...
66
        search as actionSearch;
67
    }
68
69
    use Main\ActionYandexConnect {
70
        yandexConnect as actionYandexconnect;
71
    }
72
73
    use Main\ActionYandexToken {
0 ignored issues
show
The trait Apps\Controller\Admin\Main\ActionYandexToken requires the property $expires which is not provided by Apps\Controller\Admin\Main.
Loading history...
74
        yandexToken as actionYandextoken;
75
    }
76
77
    use Main\ActionYandexCounter {
78
        yandexCounter as actionYandexcounter;
79
    }
80
81
    /**
82
     * Main constructor. Disable parent inheritance of typical app version checking
83
     */
84
    public function __construct()
85
    {
86
        parent::__construct(false);
87
    }
88
89
}
90