Test Failed
Push — master ( eaa667...0d9623 )
by Evgenii
38:52
created
src/views/admin/index.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -72,12 +72,12 @@  discard block
 block discarded – undo
72 72
         'filename',
73 73
         [
74 74
             'attribute' => 'status',
75
-            'content' => function (Backup $model) {
75
+            'content' => function(Backup $model) {
76 76
                 return BackupStatus::getLabel($model->status);
77 77
             }
78 78
         ],
79 79
         [
80
-            'content' => function (Backup $model) {
80
+            'content' => function(Backup $model) {
81 81
                 $html = ' ';
82 82
                 if (file_exists($model->getFullPath()))
83 83
                     $html .= Html::tag('span', IconHelper::CHECK, ['title' => 'Файл найден', 'style' => 'color:#38b704;']);
@@ -98,7 +98,7 @@  discard block
 block discarded – undo
98 98
         'size:size',
99 99
         [
100 100
             'contentOptions' => ['class' => 'text-right'],
101
-            'content' => function (Backup $model) {
101
+            'content' => function(Backup $model) {
102 102
                 $html = Html::a(IconHelper::PLAY, null, [
103 103
                     'class' => 'btn btn-default btn-sm',
104 104
                     'title' => Yii::t('app.f12.backup', 'Restore'),
Please login to merge, or discard this patch.
src/logic/BackupCreate.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -99,7 +99,7 @@
 block discarded – undo
99 99
                 $targetPath = Yii::getAlias($this->currentConfig['path']);
100 100
                 Yii::createObject(FolderBackupMaker::class, [$this->model->getFullPath(), $targetPath, $this->currentConfig['io']])->execute();
101 101
             }
102
-        } catch (MysqlDumpException|PostgresDumpException|FolderDumpException $exception) {
102
+        } catch (MysqlDumpException | PostgresDumpException | FolderDumpException $exception) {
103 103
             $this->setBackupFailed();
104 104
             throw new $exception;
105 105
         }
Please login to merge, or discard this patch.