Completed
Push — 3.0 ( 3a7825...a38ab0 )
by Vermeulen
03:10
created
src/class/Module.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -153,7 +153,7 @@
 block discarded – undo
153 153
         $runnerFile = $this->getRunnerFile();
154 154
 
155 155
         $initFunction = function() use ($runnerFile) {
156
-            if($runnerFile === null) {
156
+            if ($runnerFile === null) {
157 157
                 return;
158 158
             }
159 159
             
Please login to merge, or discard this patch.
src/traits/Memcache.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@
 block discarded – undo
62 62
             );
63 63
         }
64 64
         
65
-        if(!$this->ifExists($key)) {
65
+        if (!$this->ifExists($key)) {
66 66
             return false;
67 67
         }
68 68
 
Please login to merge, or discard this patch.
src/class/memcache/Memcache.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@  discard block
 block discarded – undo
12 12
 
13 13
     public function __construct(\BFW\Application $app)
14 14
     {
15
-        if(PHP_VERSION_ID > 70000) {
15
+        if (PHP_VERSION_ID > 70000) {
16 16
             throw new Exception(
17 17
                 'PHP Memcache Extension not supported for PHP 7'
18 18
             );
@@ -38,11 +38,11 @@  discard block
 block discarded – undo
38 38
             }
39 39
             
40 40
             $methodName = 'connect';
41
-            if($persistent === true) {
41
+            if ($persistent === true) {
42 42
                 $methodName = 'pconnect';
43 43
             }
44 44
             
45
-            if($timeout !== null) {
45
+            if ($timeout !== null) {
46 46
                 $this->{$methodName}($host, $port, $timeout);
47 47
                 return;
48 48
             }
Please login to merge, or discard this patch.
src/class/memcache/Memcached.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@  discard block
 block discarded – undo
17 17
         $this->app    = $app;
18 18
         $this->config = $this->app->getConfig('memcached');
19 19
         
20
-        if(!empty($this->config['persistentId'])) {
20
+        if (!empty($this->config['persistentId'])) {
21 21
             parent::__construct($this->config['persistentId']);
22 22
         } else {
23 23
             parent::__construct();
@@ -43,7 +43,7 @@  discard block
 block discarded – undo
43 43
             
44 44
             //It should not be to readd the server
45 45
             //(for persistent mode particulary)
46
-            if(in_array($host.':'.$port, $serversList)) {
46
+            if (in_array($host.':'.$port, $serversList)) {
47 47
                 continue;
48 48
             }
49 49
             
Please login to merge, or discard this patch.
src/helpers/Constants.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@
 block discarded – undo
8 8
 {
9 9
     public static function create($cstName, $cstValue)
10 10
     {
11
-        if(defined($cstName)) {
11
+        if (defined($cstName)) {
12 12
             throw new Exception('Constant '.$cstName.' already defined.');
13 13
         }
14 14
         
Please login to merge, or discard this patch.
src/class/core/Errors.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@  discard block
 block discarded – undo
10 10
     
11 11
     public function __construct(Application $app)
12 12
     {
13
-        self::$app   = $app;
13
+        self::$app = $app;
14 14
         
15 15
         $this->defineErrorHandler();
16 16
         $this->defineExceptionHandler();
@@ -58,7 +58,7 @@  discard block
 block discarded – undo
58 58
     
59 59
     protected static function getApp()
60 60
     {
61
-        if(is_null(self::$app)) {
61
+        if (is_null(self::$app)) {
62 62
             self::$app = Application::getInstance();
63 63
         }
64 64
         
@@ -85,7 +85,7 @@  discard block
 block discarded – undo
85 85
     
86 86
     protected static function defineRenderToUse($renderConfig)
87 87
     {
88
-        if($renderConfig['active'] === false) {
88
+        if ($renderConfig['active'] === false) {
89 89
             return false;
90 90
         }
91 91
         
@@ -93,7 +93,7 @@  discard block
 block discarded – undo
93 93
             return $renderConfig['cli'];
94 94
         }
95 95
         
96
-        if(isset($renderConfig['default'])) {
96
+        if (isset($renderConfig['default'])) {
97 97
             return $renderConfig['default'];
98 98
         }
99 99
         
Please login to merge, or discard this patch.