Passed
Push — master ( e6812d...2fec17 )
by Mihail
05:18
created
tests/_support/UnitTester.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
 {
21 21
     use _generated\WebGuyActions;
22 22
 
23
-   /**
24
-    * Define custom actions here
25
-    */
23
+    /**
24
+     * Define custom actions here
25
+     */
26 26
 }
Please login to merge, or discard this patch.
tests/_support/AcceptanceTester.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
 {
21 21
     use _generated\WebGuyActions;
22 22
 
23
-   /**
24
-    * Define custom actions here
25
-    */
23
+    /**
24
+     * Define custom actions here
25
+     */
26 26
 }
Please login to merge, or discard this patch.
tests/_support/Crawler.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
 {
21 21
     use _generated\WebGuyActions;
22 22
 
23
-   /**
24
-    * Define custom actions here
25
-    */
23
+    /**
24
+     * Define custom actions here
25
+     */
26 26
 }
Please login to merge, or discard this patch.
Widgets/Front/Newcontent/Newcontent.php 3 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -78,7 +78,7 @@
 block discarded – undo
78 78
     
79 79
     /**
80 80
      * Make query to database
81
-     * @return object
81
+     * @return string
82 82
      */
83 83
     private function makeQuery()
84 84
     {
Please login to merge, or discard this patch.
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -72,7 +72,7 @@
 block discarded – undo
72 72
         
73 73
         // render view
74 74
         return App::$View->render($this->tpl, [
75
-           'records' => $query 
75
+            'records' => $query 
76 76
         ]);
77 77
     }
78 78
     
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -34,14 +34,14 @@
 block discarded – undo
34 34
         }
35 35
         // check cache is defined
36 36
         if ($this->cache === null || !Obj::isLikeInt($this->cache)) {
37
-            $this->cache = (int)$cfg['cache'];
37
+            $this->cache = (int) $cfg['cache'];
38 38
         }
39 39
         // check item count is defined
40 40
         if ($this->count === null || !Obj::isLikeInt($this->count)) {
41
-            $this->count = (int)$cfg['count'];
41
+            $this->count = (int) $cfg['count'];
42 42
         }
43 43
 
44
-        $this->_cacheName = 'widget.newcontent.' . $this->createStringClassSnapshotHash();
44
+        $this->_cacheName = 'widget.newcontent.'.$this->createStringClassSnapshotHash();
45 45
     }
46 46
 
47 47
     /**
Please login to merge, or discard this patch.
Private/Database/Tables/App.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
46 46
 ]);
47 47
 
48 48
 $configs->newcontent = serialize([
49
-    'categories' => serialize(['2','3']),
49
+    'categories' => serialize(['2', '3']),
50 50
     'count' => '5',
51 51
     'cache' => '60'
52 52
 ]);
Please login to merge, or discard this patch.
Apps/View/Admin/default/user/group_list.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@  discard block
 block discarded – undo
24 24
 
25 25
 <?php
26 26
 $items = [];
27
-foreach($records as $role) {
27
+foreach ($records as $role) {
28 28
     $permissions = explode(';', $role->permissions);
29 29
     $permissionsLabel = null;
30 30
     foreach ($permissions as $perm) {
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
         } else {
37 37
             $labelMark = 'label-default';
38 38
         }
39
-        $permissionsLabel .= '<span class="label ' . $labelMark . '">' . $perm . '</span> ';
39
+        $permissionsLabel .= '<span class="label '.$labelMark.'">'.$perm.'</span> ';
40 40
     }
41 41
     $items[] = [
42 42
         ['text' => $role->id],
Please login to merge, or discard this patch.
Apps/View/Admin/default/native/macro/widget_actions.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,6 +2,6 @@
 block discarded – undo
2 2
 use Ffcms\Core\Helper\Url;
3 3
 
4 4
 if (isset($controller)): ?>
5
-<a href="<?= Url::to($controller . '/index') ?>"><i class="fa fa-cogs"></i></a>&nbsp;
5
+<a href="<?= Url::to($controller.'/index') ?>"><i class="fa fa-cogs"></i></a>&nbsp;
6 6
 <a href="<?= Url::to('widget/turn', $controller) ?>"><i class="fa fa-power-off"></i></a>
7 7
 <?php endif; ?>
8 8
\ No newline at end of file
Please login to merge, or discard this patch.
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/index.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -27,11 +27,11 @@
 block discarded – undo
27 27
 foreach ($records as $profile) {
28 28
     $items[] = [
29 29
         ['text' => $profile->id],
30
-        ['text' => $profile->User()->login . '/' . $profile->User()->email],
30
+        ['text' => $profile->User()->login.'/'.$profile->User()->email],
31 31
         ['text' => $profile->nick],
32 32
         ['text' => Str::startsWith('0000-', $profile->birthday) ? __('None') : Date::convertToDatetime($profile->birthday)],
33
-        ['text' => ($profile->rating > 0 ? '+' : null) . $profile->rating],
34
-        ['text' => Url::link(['profile/update', $profile->id], '<i class="fa fa-pencil fa-lg"></i> ') .
33
+        ['text' => ($profile->rating > 0 ? '+' : null).$profile->rating],
34
+        ['text' => Url::link(['profile/update', $profile->id], '<i class="fa fa-pencil fa-lg"></i> ').
35 35
             Url::link(['user/delete', $profile->User()->id], '<i class="fa fa-trash-o fa-lg"></i>'),
36 36
             'html' => true, 'property' => ['class' => 'text-center']]
37 37
     ];
Please login to merge, or discard this patch.