Completed
Push — master ( c9e0db...b530e2 )
by Marc
03:09
created
core/traits/Application.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@
 block discarded – undo
63 63
     public function getWebroot()
64 64
     {
65 65
         if ($this->_webroot === null) {
66
-            $this->_webroot = realpath(realpath($this->basePath) . DIRECTORY_SEPARATOR . $this->webrootDirectory);
66
+            $this->_webroot = realpath(realpath($this->basePath).DIRECTORY_SEPARATOR.$this->webrootDirectory);
67 67
         }
68 68
         
69 69
         return $this->_webroot;
Please login to merge, or discard this patch.
core/helpers/FileHelper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
41 41
     {
42 42
         $info = pathinfo($file);
43 43
         if (!isset($info['extension']) || empty($info['extension'])) {
44
-            $file = rtrim($file, '.') . '.' . $extension;
44
+            $file = rtrim($file, '.').'.'.$extension;
45 45
         }
46 46
 
47 47
         return $file;
Please login to merge, or discard this patch.
core/components/Mail.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@  discard block
 block discarded – undo
60 60
      */
61 61
     public function mailer()
62 62
     {
63
-        trigger_error("Deprecated function called: " . __METHOD__, E_USER_NOTICE);
63
+        trigger_error("Deprecated function called: ".__METHOD__, E_USER_NOTICE);
64 64
         return $this->getMailer();
65 65
     }
66 66
     
@@ -237,7 +237,7 @@  discard block
 block discarded – undo
237 237
                         return true;
238 238
                     } else {
239 239
                         $data = [$this->host, $this->port, $this->smtpSecure, $this->username];
240
-                        throw new Exception('Authentication failed ('.implode(',', $data).'): '.$smtp->getLastReply() . PHP_EOL . print_r($smtp->getError(), true));
240
+                        throw new Exception('Authentication failed ('.implode(',', $data).'): '.$smtp->getLastReply().PHP_EOL.print_r($smtp->getError(), true));
241 241
                     }
242 242
                 } else {
243 243
                     throw new Exception('HELO failed: '.$smtp->getLastReply());
Please login to merge, or discard this patch.
core/console/commands/CrudController.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -104,8 +104,8 @@
 block discarded – undo
104 104
                 case 'model':
105 105
 
106 106
                     if (!$extended) {
107
-                        $modelName = $modelName . 'NgRest';
108
-                        $item['file'] = $modelName . '.php';
107
+                        $modelName = $modelName.'NgRest';
108
+                        $item['file'] = $modelName.'.php';
109 109
                         $item['class'] = $modelName;
110 110
                     }
111 111
                     
Please login to merge, or discard this patch.
core/console/commands/views/crud/create_controller.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,5 +19,5 @@
 block discarded – undo
19 19
     /**
20 20
      * @var string $modelClass The path to the model which is the provider for the rules and fields.
21 21
      */
22
-    public $modelClass = '<?= $modelClass;?>';
22
+    public $modelClass = '<?= $modelClass; ?>';
23 23
 }
Please login to merge, or discard this patch.
core/console/commands/views/crud/create_api.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,5 +19,5 @@
 block discarded – undo
19 19
     /**
20 20
      * @var string $modelClass The path to the model which is the provider for the rules and fields.
21 21
      */
22
-    public $modelClass = '<?= $modelClass;?>';
22
+    public $modelClass = '<?= $modelClass; ?>';
23 23
 }
Please login to merge, or discard this patch.
core/helpers/ArrayHelper.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -50,9 +50,9 @@
 block discarded – undo
50 50
         foreach ($array as $k => $v) {
51 51
             if (is_numeric($v)) {
52 52
                 if (is_float($v)) {
53
-                    $return[$k] = (float)$v;
53
+                    $return[$k] = (float) $v;
54 54
                 } else {
55
-                    $return[$k] = (int)$v;
55
+                    $return[$k] = (int) $v;
56 56
                 }
57 57
             } elseif (is_array($v)) {
58 58
                 $return[$k] = self::typeCast($v);
Please login to merge, or discard this patch.
core/traits/ErrorHandler.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -68,9 +68,9 @@
 block discarded – undo
68 68
             $_file = $exception->getFile();
69 69
             $_line = $exception->getLine();
70 70
         } elseif (is_string($exception)) {
71
-            $_message = 'exception string: ' . $exception;
71
+            $_message = 'exception string: '.$exception;
72 72
         } elseif (is_array($exception)) {
73
-            $_message = 'exception array dump: ' . print_r($exception, true);
73
+            $_message = 'exception array dump: '.print_r($exception, true);
74 74
         }
75 75
 
76 76
         return [
Please login to merge, or discard this patch.
core/console/Controller.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -75,7 +75,7 @@
 block discarded – undo
75 75
             $name = substr($name, 0, -(strlen($suffix)));
76 76
         }
77 77
     
78
-        return $name . $suffix;
78
+        return $name.$suffix;
79 79
     }
80 80
     
81 81
     /**
Please login to merge, or discard this patch.