Passed
Push — master ( c86e8c...1b1f16 )
by Mihail
04:54
created
Apps/View/Admin/default/profile/field_update.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -33,8 +33,8 @@
 block discarded – undo
33 33
 foreach (\App::$Properties->get('languages') as $lang) {
34 34
     $nameTab[] = [
35 35
         'type' => 'tab',
36
-        'text' => __('Lang') . ': ' . Str::upperCase($lang),
37
-        'content' => $form->field('name.' . $lang, 'text', ['class' => 'form-control'], __('Define field name, which be displayed for user for current language locale')),
36
+        'text' => __('Lang').': '.Str::upperCase($lang),
37
+        'content' => $form->field('name.'.$lang, 'text', ['class' => 'form-control'], __('Define field name, which be displayed for user for current language locale')),
38 38
         'active' => $lang === \App::$Request->getLanguage(),
39 39
         'html' => true,
40 40
         '!secure' => true
Please login to merge, or discard this patch.
Apps/View/Admin/default/profile/field_delete.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
         'items' => [
36 36
             [['text' => $model->getLabel('name')], ['text' => $model->name[\App::$Request->getLanguage()]]],
37 37
             [['text' => $model->getLabel('type')], ['text' => $model->type]],
38
-            [['text' => $model->getLabel('reg_exp')], ['text' => ($model->reg_cond == 0 ? '!' : null) . 'preg_match("'.$model->reg_exp.'", $input)']],
38
+            [['text' => $model->getLabel('reg_exp')], ['text' => ($model->reg_cond == 0 ? '!' : null).'preg_match("'.$model->reg_exp.'", $input)']],
39 39
         ]
40 40
     ]
41 41
 ]);
Please login to merge, or discard this patch.
Apps/View/Admin/default/main/antivirus.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -97,7 +97,7 @@
 block discarded – undo
97 97
 </script>
98 98
 <h1><?= __('Antivirus scan'); ?></h1>
99 99
 <hr />
100
-<p><?= __('FFCMS 3 provide a simple signature-based antivirus software') . '. ' . __('Remember! This is just an advisory algorithm!') ?></p>
100
+<p><?= __('FFCMS 3 provide a simple signature-based antivirus software').'. '.__('Remember! This is just an advisory algorithm!') ?></p>
101 101
 
102 102
 <div class="row">
103 103
     <div class="col-md-4">
Please login to merge, or discard this patch.
Apps/View/Admin/default/feedback/mail/newanswer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
33 33
                 <tbody>
34 34
                 <tr>
35 35
                     <td align="left" style="font-family:Helvetica Neue,Arial,Helvetica,sans-serif;padding-left:9px;font-size:14px;">
36
-                        <a href="<?= \App::$Alias->scriptUrl ?>/feedback/read/<?= $record->id . '/' . $record->hash ?>">
36
+                        <a href="<?= \App::$Alias->scriptUrl ?>/feedback/read/<?= $record->id.'/'.$record->hash ?>">
37 37
                             <?= __('View request') ?>
38 38
                         </a>
39 39
                     </td>
Please login to merge, or discard this patch.
Apps/View/Admin/default/feedback/delete.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
         'table' => ['class' => 'table table-bordered'],
26 26
         'tbody' => [
27 27
             'items' => [
28
-                [['text' => __('Sender')], ['text' => $record->name . ' (' . $record->email . ')']],
28
+                [['text' => __('Sender')], ['text' => $record->name.' ('.$record->email.')']],
29 29
                 [['text' => __('Date')], ['text' => Date::convertToDatetime($record->created_at, Date::FORMAT_TO_HOUR)]],
30 30
                 [['text' => __('Message')], ['text' => $record->message]]
31 31
             ]
Please login to merge, or discard this patch.
Apps/View/Admin/default/content/category_update.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -32,9 +32,9 @@  discard block
 block discarded – undo
32 32
 foreach (\App::$Properties->get('languages') as $lang) {
33 33
     $items[] = [
34 34
         'type' => 'tab',
35
-        'text' => __('Lang') . ': ' . Str::upperCase($lang),
36
-        'content' => $form->field('title.' . $lang, 'text', ['class' => 'form-control'], __('Enter category title, visible for users')) .
37
-            $form->field('description.' . $lang, 'text', ['class' => 'form-control'], __('Enter category description')),
35
+        'text' => __('Lang').': '.Str::upperCase($lang),
36
+        'content' => $form->field('title.'.$lang, 'text', ['class' => 'form-control'], __('Enter category title, visible for users')).
37
+            $form->field('description.'.$lang, 'text', ['class' => 'form-control'], __('Enter category description')),
38 38
         'html' => true,
39 39
         'active' => $lang === \App::$Request->getLanguage(),
40 40
         '!secure' => true
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
 $pathProperty = [
54 54
     'class' => 'form-control'
55 55
 ];
56
-if ((int)$model->id == '1') {
56
+if ((int) $model->id == '1') {
57 57
     $pathProperty['disabled'] = '';
58 58
 } else {
59 59
     echo $form->field('dependId', 'select', ['class' => 'form-control', 'options' => $model->categoryList(), 'optionsKey' => true], __('Select owner category for this category'));
Please login to merge, or discard this patch.
Apps/View/Admin/default/widget/index.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@  discard block
 block discarded – undo
17 17
     <div class="row">
18 18
         <div class="col-md-12">
19 19
             <div class="pull-right">
20
-                <?= Url::link(['widget/install'], '<i class="fa fa-tasks"></i> ' . __('Install'), ['class' => 'btn btn-primary']) ?>
20
+                <?= Url::link(['widget/install'], '<i class="fa fa-tasks"></i> '.__('Install'), ['class' => 'btn btn-primary']) ?>
21 21
             </div>
22 22
         </div>
23 23
     </div>
@@ -25,10 +25,10 @@  discard block
 block discarded – undo
25 25
 $widgetTableItems = null;
26 26
 foreach ($widgets as $widget) {
27 27
     /** @var $widget Apps\ActiveRecord\App */
28
-    $route = $widget->sys_name . '/index';
28
+    $route = $widget->sys_name.'/index';
29 29
     $icoStatus = null;
30 30
     $actions = $this->render('native/macro/widget_actions', ['controller' => $widget->sys_name]);
31
-    if ((int)$widget->disabled !== 0) {
31
+    if ((int) $widget->disabled !== 0) {
32 32
         $icoStatus = ' <i class="fa fa-pause" style="color: #ff0000;"></i>';
33 33
     } elseif ($widget->checkVersion() !== true) {
34 34
         $icoStatus = ' <i class="fa fa-exclamation" style="color: #ffbd26;"></i>';
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
     }
39 39
 
40 40
     $widgetTableItems[] = [
41
-        ['text' => $widget->id . $icoStatus, 'html' => true, '!secure' => true],
41
+        ['text' => $widget->id.$icoStatus, 'html' => true, '!secure' => true],
42 42
         ['text' => Url::link([$route], $widget->getLocaleName()), 'html' => true],
43 43
         ['text' => $widget->version],
44 44
         ['text' => Date::convertToDatetime($widget->updated_at, Date::FORMAT_TO_HOUR)],
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
 ?>
50 50
 
51 51
 <?php if ($widgetTableItems === null || count($widgetTableItems) < 1) {
52
-    echo '<p class="alert alert-info">' . __('Installed widgets is not founded') . '</p>';
52
+    echo '<p class="alert alert-info">'.__('Installed widgets is not founded').'</p>';
53 53
 } ?>
54 54
 
55 55
 
Please login to merge, or discard this patch.
Apps/View/Front/default/user/login.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
 <?php
23 23
 if (true === $useCaptcha) {
24 24
     if (\App::$Captcha->isFull()) {
25
-        echo '<div class="col-md-offset-3 col-md-9">' . \App::$Captcha->get() . '</div>';
25
+        echo '<div class="col-md-offset-3 col-md-9">'.\App::$Captcha->get().'</div>';
26 26
     } else {
27 27
         echo $form->field('captcha', 'captcha', ['class' => 'form-control'], __('Enter data from security image to prove that you are human. If you can\'t read symbols - click on image to reload'));
28 28
     }
Please login to merge, or discard this patch.
Apps/View/Front/default/user/recovery.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
 <?= $form->field('email', 'email', ['class' => 'form-control'], __('Input your account email')); ?>
19 19
 <?php
20 20
 if (\App::$Captcha->isFull()) {
21
-    echo '<div class="col-md-offset-3 col-md-9">' . \App::$Captcha->get() . '</div>';
21
+    echo '<div class="col-md-offset-3 col-md-9">'.\App::$Captcha->get().'</div>';
22 22
 } else {
23 23
     echo $form->field('captcha', 'captcha', ['class' => 'form-control'], __('Enter data from security image to prove that you are human. If you can\'t read symbols - click on image to reload'));
24 24
 }
Please login to merge, or discard this patch.