Completed
Push — master ( f5e91f...8f36e8 )
by Dmytro
06:10
created
classes/db/tools/ErrorLog.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
         if ($type === 0) {
38 38
             $errorTypes[] = "E_LOG_INFO";
39 39
         } else {
40
-            for ($i = 0; $i < 15;  $i++) {
40
+            for ($i = 0; $i < 15; $i++) {
41 41
                 $errorType = self::friendlyErrorType($type & pow(2, $i));
42 42
                 if (!empty($errorType)) {
43 43
                     $errorTypes[] = $errorType;
@@ -57,7 +57,7 @@  discard block
 block discarded – undo
57 57
     }
58 58
 
59 59
     private static function friendlyErrorType($type) {
60
-        switch($type) {
60
+        switch ($type) {
61 61
             case E_ERROR: // 1
62 62
                 return 'E_ERROR';
63 63
             case E_WARNING: // 2
Please login to merge, or discard this patch.
generators/beans_generator.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
                 if ($attributes['key'] === 'PRI') {
39 39
                     $idFieldName = $field;
40 40
                 }
41
-                $fieldsListStr.= "        " . DBCore::getPrintableFieldString($field, $attributes);
41
+                $fieldsListStr .= "        " . DBCore::getPrintableFieldString($field, $attributes);
42 42
             }
43 43
             $fieldsListStr = substr($fieldsListStr, 0, strlen($fieldsListStr) - 1);
44 44
 
@@ -69,7 +69,7 @@  discard block
 block discarded – undo
69 69
 function getClassName($tableName) {
70 70
     $underlinesReplaced = preg_replace_callback(
71 71
         "/_([a-zA-Z]{1})/",
72
-        function ($matches) {
72
+        function($matches) {
73 73
             return strtoupper($matches[1]);
74 74
         },
75 75
         $tableName
Please login to merge, or discard this patch.