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.

Code Duplication    Length = 14-14 lines in 2 locations

application/extensions/DefaultTheme/models/ConfigurationModel.php 1 location

@@ 130-143 (lines=14) @@
127
     * Returns array of aliases that should be set in common config
128
     * @return array
129
     */
130
    public function aliases()
131
    {
132
        if ($this->registerThemeAlias === true) {
133
            if ($this->getModuleInstance() !== null) {
134
                $reflectionClass = new \ReflectionClass($this->getModuleInstance());
135
                return [
136
                    '@' . $this->getModule() => dirname($reflectionClass->getFileName()),
137
                ];
138
            }
139
        }
140
141
        return [];
142
143
    }
144
145
    /**
146
     * Override base init function to add event handler that will handle auth clients during configuration editing

application/models/BaseThemeConfigurationModel.php 1 location

@@ 80-93 (lines=14) @@
77
     * Returns array of aliases that should be set in common config
78
     * @return array
79
     */
80
    public function aliases()
81
    {
82
        if ($this->registerThemeAlias === true) {
83
            if ($this->getModuleInstance() !== null) {
84
                $reflectionClass = new \ReflectionClass($this->getModuleInstance());
85
                return [
86
                    '@' . $this->getModule() => dirname($reflectionClass->getFileName()),
87
                ];
88
            }
89
        }
90
91
        return [];
92
93
    }
94
}