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.
Test Setup Failed
Push — filters ( b41112...24729b )
by
unknown
13:18
created

GoogleMerchantsController::actionGenerate()   A

Complexity

Conditions 2
Paths 2

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 3
Bugs 0 Features 0
Metric Value
dl 0
loc 5
rs 9.4286
c 3
b 0
f 0
cc 2
eloc 3
nc 2
nop 0
1
<?php
2
3
namespace app\modules\shop\commands;
4
5
use app\modules\shop\components\GoogleMerchants\GoogleMerchants;
6
use app\modules\shop\models\GoogleFeed;
7
use yii\console\Controller;
8
9
class GoogleMerchantsController extends Controller
10
{
11
    public function actionGenerate()
12
    {
13
        $gm = new GoogleMerchants();
14
        return true === $gm->saveFeedInFs() ? 0 : 1;
15
    }
16
}
17