Passed
Push — master ( 7f6cde...02a4a5 )
by Mihail
06:02
created
Widgets/Front/Newcomment/Newcomment.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
39 39
     	    $this->cache = $cfg['cache'];
40 40
     	}
41 41
 
42
-        $this->_cacheName = 'widget.newcomment.' . $this->createStringClassSnapshotHash();
42
+        $this->_cacheName = 'widget.newcomment.'.$this->createStringClassSnapshotHash();
43 43
     }
44 44
 
45 45
     /**
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
     {
54 54
         // work with cache and make query
55 55
         $records = null;
56
-        if ((int)$this->cache > 0) {
56
+        if ((int) $this->cache > 0) {
57 57
             if (App::$Cache->get($this->_cacheName) !== null) {
58 58
                 $records = App::$Cache->get($this->_cacheName);
59 59
             } else {
Please login to merge, or discard this patch.
Widgets/Front/Contenttag/Contenttag.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -30,15 +30,15 @@
 block discarded – undo
30 30
         $cfg = $this->getConfigs();
31 31
         // check cache is defined
32 32
         if ($this->cache === null || !Obj::isLikeInt($this->cache)) {
33
-            $this->cache = (int)$cfg['cache'];
33
+            $this->cache = (int) $cfg['cache'];
34 34
         }
35 35
         // check tag count is defined
36 36
         if ($this->count === null || !Obj::isLikeInt($this->count)) {
37
-            $this->count = (int)$cfg['count'];
37
+            $this->count = (int) $cfg['count'];
38 38
         }
39 39
 
40 40
         $this->_lang = App::$Request->getLanguage();
41
-        $this->_cacheName = 'widget.contenttag.' . $this->createStringClassSnapshotHash();
41
+        $this->_cacheName = 'widget.contenttag.'.$this->createStringClassSnapshotHash();
42 42
     }
43 43
 
44 44
     /**
Please login to merge, or discard this patch.
Widgets/Front/Newcontent/Newcontent.php 1 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.
Loader/Cron/index.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@  discard block
 block discarded – undo
14 14
 /** set default locale */
15 15
 $_GET['lang'] = 'en';
16 16
 
17
-require_once(root . '/Loader/Autoload.php');
17
+require_once(root.'/Loader/Autoload.php');
18 18
 
19 19
 // make fast-access alias \App::$Object
20 20
 // class_alias('Ffcms\Core\App', 'App');
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
     $cronManager = new \Ffcms\Core\Managers\CronManager(\App::$Properties->getAll('Cron'));
42 42
     $logs = $cronManager->run();
43 43
     if ($logs !== null && \Ffcms\Core\Helper\Type\Obj::isArray($logs) && count($logs) > 0) {
44
-        echo 'Run cron tasks: ' . PHP_EOL . implode(PHP_EOL, $logs);
44
+        echo 'Run cron tasks: '.PHP_EOL.implode(PHP_EOL, $logs);
45 45
     } else {
46 46
         echo 'No tasks runned';
47 47
     }
Please login to merge, or discard this patch.