Passed
Push — master ( bc905b...ef8807 )
by Mihail
04:40
created
Apps/View/Front/default/_core/form/fieldset/radio.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
27 27
 }
28 28
 ?>
29 29
 <div class="form-group row">
30
-    <?= (new \Ffcms\Templex\Helper\Html\Dom())->label(function () use ($label) {
30
+    <?= (new \Ffcms\Templex\Helper\Html\Dom())->label(function() use ($label) {
31 31
     return $label;
32 32
 }, $labelProperties) ?>
33 33
     <div class="col-md-9">
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
             if (!is_string($input) || strlen($input) < 1) {
37 37
                 continue;
38 38
             }
39
-            echo (new Dom())->div(function () use ($input) {
39
+            echo (new Dom())->div(function() use ($input) {
40 40
                 return $input;
41 41
             }, ['class' => 'form-check form-check-inline']);
42 42
         }
Please login to merge, or discard this patch.
Apps/View/Front/default/_core/form/fieldset/checkboxes.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
27 27
 }
28 28
 ?>
29 29
 <div class="form-group row">
30
-    <?= (new \Ffcms\Templex\Helper\Html\Dom())->label(function () use ($label) {
30
+    <?= (new \Ffcms\Templex\Helper\Html\Dom())->label(function() use ($label) {
31 31
     return $label;
32 32
 }, $labelProperties) ?>
33 33
     <div class="col-md-9">
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
             if (!is_string($input) || strlen($input) < 1) {
37 37
                 continue;
38 38
             }
39
-            echo (new Dom())->div(function () use ($input) {
39
+            echo (new Dom())->div(function() use ($input) {
40 40
                 return $input;
41 41
             }, ['class' => 'form-check form-check-inline']);
42 42
         }
Please login to merge, or discard this patch.
Apps/View/Front/default/_core/form/fieldset/textarea.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
 }
19 19
 ?>
20 20
 <div class="form-group row">
21
-    <?= (new \Ffcms\Templex\Helper\Html\Dom())->label(function () use ($label) {
21
+    <?= (new \Ffcms\Templex\Helper\Html\Dom())->label(function() use ($label) {
22 22
     return $label;
23 23
 }, $labelProperties) ?>
24 24
     <div class="col-md-9">
Please login to merge, or discard this patch.
Apps/View/Front/default/_core/form/fieldset/boolean.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
 <div class="form-group row">
14 14
     <div class="col-md-9 offset-md-3">
15 15
         <?= $field->html($properties) ?>
16
-        <?= (new \Ffcms\Templex\Helper\Html\Dom())->label(function () use ($label) {
16
+        <?= (new \Ffcms\Templex\Helper\Html\Dom())->label(function() use ($label) {
17 17
     return $label;
18 18
 }, $labelProperties) ?>
19 19
         <?php if ($helper): ?>
Please login to merge, or discard this patch.
Apps/View/Front/default/_layouts/default.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -43,15 +43,15 @@
 block discarded – undo
43 43
 
44 44
 if (\App::$User->isAuth()) {
45 45
     $userId = \App::$User->identity()->getId();
46
-    $navbar->menu('right', ['text' => __('Account') . ' <span class="badge" id="summary-count-block">0</span>', 'dropdown' => [
46
+    $navbar->menu('right', ['text' => __('Account').' <span class="badge" id="summary-count-block">0</span>', 'dropdown' => [
47 47
         ['text' => __('My profile'), 'link' => ['profile/show', [$userId]]],
48
-        ['text' => __('Messages') . ' <span class="badge" id="pm-count-block">0</span>', 'link' => ['profile/messages'], 'class' => 'dropdown-item', 'html' => true],
48
+        ['text' => __('Messages').' <span class="badge" id="pm-count-block">0</span>', 'link' => ['profile/messages'], 'class' => 'dropdown-item', 'html' => true],
49 49
         ['text' => __('Feed'), 'link' => ['profile/feed'], 'class' => 'dropdown-item'],
50
-        ['text' => __('Notifications') . ' <span class="badge" id="notify-count-block">0</span>', 'link' => ['profile/notifications'], 'class' => 'dropdown-item', 'html' => true],
50
+        ['text' => __('Notifications').' <span class="badge" id="notify-count-block">0</span>', 'link' => ['profile/notifications'], 'class' => 'dropdown-item', 'html' => true],
51 51
         ['text' => __('Settings'), 'link' => ['profile/settings'], 'class' => 'dropdown-item'],
52 52
     ], 'properties' => ['html' => true]]);
53 53
     if (\App::$User->identity()->role->can('Admin/Main/Index')) {
54
-        $navbar->menu('right', ['text' => __('Admin'), 'link' => \App::$Alias->scriptUrl . '/admin']);
54
+        $navbar->menu('right', ['text' => __('Admin'), 'link' => \App::$Alias->scriptUrl.'/admin']);
55 55
     }
56 56
     $navbar->menu('right', ['text' => __('Logout'), 'link' => ['user/logout']]);
57 57
 } else {
Please login to merge, or discard this patch.
Apps/View/Install/default/_core/javascript/submit_selectize_table.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -7,10 +7,10 @@
 block discarded – undo
7 7
 /** @var array $url */
8 8
 /** @var array $properties */
9 9
 
10
-$rndId = 'btn_selectize_submit_' . mt_rand(999, 999999);
10
+$rndId = 'btn_selectize_submit_'.mt_rand(999, 999999);
11 11
 $properties['id'] = $rndId;
12 12
 
13
-echo (new \Ffcms\Templex\Helper\Html\Dom())->button(function () use ($text) {
13
+echo (new \Ffcms\Templex\Helper\Html\Dom())->button(function() use ($text) {
14 14
     return $text;
15 15
 }, $properties);
16 16
 
Please login to merge, or discard this patch.
Apps/View/Install/default/_core/form/fieldset/multiselect.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
 }
19 19
 ?>
20 20
 <div class="form-group row">
21
-    <?= (new \Ffcms\Templex\Helper\Html\Dom())->label(function () use ($label) {
21
+    <?= (new \Ffcms\Templex\Helper\Html\Dom())->label(function() use ($label) {
22 22
     return $label;
23 23
 }, $labelProperties) ?>
24 24
     <div class="col-md-9">
Please login to merge, or discard this patch.
Apps/View/Install/default/_core/form/fieldset/text.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
 }
19 19
 ?>
20 20
 <div class="form-group row">
21
-    <?= (new \Ffcms\Templex\Helper\Html\Dom())->label(function () use ($label) {
21
+    <?= (new \Ffcms\Templex\Helper\Html\Dom())->label(function() use ($label) {
22 22
     return $label;
23 23
 }, $labelProperties) ?>
24 24
     <div class="col-md-9">
Please login to merge, or discard this patch.
Apps/View/Install/default/_core/form/fieldset/select.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
 }
19 19
 ?>
20 20
 <div class="form-group row">
21
-    <?= (new \Ffcms\Templex\Helper\Html\Dom())->label(function () use ($label) {
21
+    <?= (new \Ffcms\Templex\Helper\Html\Dom())->label(function() use ($label) {
22 22
     return $label;
23 23
 }, $labelProperties) ?>
24 24
     <div class="col-md-9">
Please login to merge, or discard this patch.