Passed
Push — master ( fd3a95...10220a )
by Mihail
06:14
created
tests/_support/_generated/AcceptanceTesterActions.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,6 @@
 block discarded – undo
6 6
 // @codingStandardsIgnoreFile
7 7
 
8 8
 use Codeception\Module\PhpBrowser;
9
-use Helper\Acceptance;
10 9
 
11 10
 trait WebGuyActions
12 11
 {
Please login to merge, or discard this patch.
tests/_support/_generated/CrawlerActions.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,6 @@
 block discarded – undo
6 6
 // @codingStandardsIgnoreFile
7 7
 
8 8
 use Codeception\Module\PhpBrowser;
9
-use Helper\Acceptance;
10 9
 
11 10
 trait WebGuyActions
12 11
 {
Please login to merge, or discard this patch.
tests/_support/FunctionalTester.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/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.
Apps/Model/Admin/Newcontent/FormSettings.php 2 patches
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -25,8 +25,8 @@  discard block
 block discarded – undo
25 25
     }
26 26
 
27 27
     /**
28
-    * Set default values from configs
29
-    */
28
+     * Set default values from configs
29
+     */
30 30
     public function before()
31 31
     {
32 32
         $this->categories = Serialize::decode($this->_configs['categories']);
@@ -35,8 +35,8 @@  discard block
 block discarded – undo
35 35
     }
36 36
 
37 37
     /**
38
-    * Labels for form
39
-    */
38
+     * Labels for form
39
+     */
40 40
     public function labels()
41 41
     {
42 42
         return [
@@ -47,8 +47,8 @@  discard block
 block discarded – undo
47 47
     }
48 48
 
49 49
     /**
50
-    * Validation rules
51
-    */
50
+     * Validation rules
51
+     */
52 52
     public function rules()
53 53
     {
54 54
         return [
Please login to merge, or discard this patch.
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -30,8 +30,8 @@  discard block
 block discarded – undo
30 30
     public function before()
31 31
     {
32 32
         $this->categories = Serialize::decode($this->_configs['categories']);
33
-        $this->count = (int)$this->_configs['count'];
34
-        $this->cache = (int)$this->_configs['cache'];
33
+        $this->count = (int) $this->_configs['count'];
34
+        $this->cache = (int) $this->_configs['cache'];
35 35
     }
36 36
 
37 37
     /**
@@ -64,8 +64,8 @@  discard block
 block discarded – undo
64 64
     public function getResult()
65 65
     {
66 66
         return [
67
-            'count' => (int)$this->count,
68
-            'cache' => (int)$this->cache,
67
+            'count' => (int) $this->count,
68
+            'cache' => (int) $this->cache,
69 69
             'categories' => Serialize::encode($this->categories)
70 70
         ];
71 71
     }
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.