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.

Yii
last analyzed

Complexity

Total Complexity 0

Size/Duplication

Total Lines 2
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
eloc 1
dl 0
loc 2
ccs 0
cts 0
cp 0
c 0
b 0
f 0
wmc 0
1
<?php
2
3
/**
4
 * @link https://www.yiiframework.com/
5
 * @copyright Copyright (c) 2008 Yii Software LLC
6
 * @license https://www.yiiframework.com/license/
7
 */
8
9
require __DIR__ . '/BaseYii.php';
10
11
/**
12
 * Yii is a helper class serving common framework functionalities.
13
 *
14
 * It extends from [[\yii\BaseYii]] which provides the actual implementation.
15
 * By writing your own Yii class, you can customize some functionalities of [[\yii\BaseYii]].
16
 *
17
 * @author Qiang Xue <[email protected]>
18
 * @since 2.0
19
 * @phpcs:disable PSR1.Files.SideEffects.FoundWithSymbols
20
 * @phpcs:disable PSR1.Classes.ClassDeclaration.MissingNamespace
21
 */
22
class Yii extends \yii\BaseYii
23
{
24
}
25
26
spl_autoload_register(['Yii', 'autoload'], true, true);
27
Yii::$classMap = require __DIR__ . '/classes.php';
28
Yii::$container = new yii\di\Container();
29