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.
Completed
Push — master ( 8bc62f...4296d1 )
by Alexsandr
05:11
created
models/Shop.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -7,9 +7,7 @@
 block discarded – undo
7 7
 
8 8
 namespace corpsepk\yml\models;
9 9
 
10
-use Yii;
11 10
 use yii\base\Model;
12
-use yii\helpers\Html;
13 11
 
14 12
 /**
15 13
  * @link https://partner.market.yandex.ru/legal/tt/
Please login to merge, or discard this patch.
YandexMarketYml.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -129,7 +129,7 @@  discard block
 block discarded – undo
129 129
     public function logErrors(Shop $shop)
130 130
     {
131 131
         foreach ($shop->getFirstErrors() as $attribute => $error) {
132
-            Yii::error(Shop::class . "\n$error", __METHOD__);
132
+            Yii::error(Shop::class."\n$error", __METHOD__);
133 133
         }
134 134
 
135 135
         foreach ($shop->offers as $offer) {
@@ -137,7 +137,7 @@  discard block
 block discarded – undo
137 137
              * @var Offer $offer
138 138
              */
139 139
             foreach ($offer->getFirstErrors() as $attribute => $error) {
140
-                Yii::error(Offer::class . " id: {$offer->id}\n$error", __METHOD__);
140
+                Yii::error(Offer::class." id: {$offer->id}\n$error", __METHOD__);
141 141
             }
142 142
         }
143 143
     }
Please login to merge, or discard this patch.
views/default/errors.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -10,13 +10,13 @@  discard block
 block discarded – undo
10 10
 $this->params['breadcrumbs'][] = 'YandexMarketYml errors';
11 11
 ?>
12 12
 
13
-    <h1><?= Html::tag('code',  Shop::class) ?> errors:</h1>
13
+    <h1><?= Html::tag('code', Shop::class) ?> errors:</h1>
14 14
 
15 15
 <?= Html::errorSummary($shop) ?>
16 16
 
17 17
     <hr>
18 18
 
19
-    <h1><?= Html::tag('code',  Offer::class) ?> erorrs:</h1>
19
+    <h1><?= Html::tag('code', Offer::class) ?> erorrs:</h1>
20 20
 
21 21
 <?php
22 22
 foreach ($shop->offers as $offer) {
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
         <summary>Offer id: <?= $offer->id ?></summary>
32 32
         <?= DetailView::widget([
33 33
             'model' => $offer,
34
-            'attributes' => array_map(function ($attribute) use ($offer) {
34
+            'attributes' => array_map(function($attribute) use ($offer) {
35 35
                 return [
36 36
                     'attribute' => $attribute,
37 37
                     'format' => 'raw',
Please login to merge, or discard this patch.