@@ -37,7 +37,7 @@ discard block |
||
| 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 |
||
| 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 |
@@ -38,7 +38,7 @@ discard block |
||
| 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 |
||
| 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 |