Passed
Push — master ( 6896fd...530886 )
by Josh
02:31
created
src/Console/GenerateMigration.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -73,7 +73,7 @@
 block discarded – undo
73 73
                 if (defined('MODX_CORE_PATH')) {
74 74
                     $path = MODX_CORE_PATH;
75 75
                 } else {
76
-                    $path = dirname(dirname(dirname(dirname(__DIR__)))) . DIRECTORY_SEPARATOR;
76
+                    $path = dirname(dirname(dirname(dirname(__DIR__)))).DIRECTORY_SEPARATOR;
77 77
                 }
78 78
                 $path .= 'components/';
79 79
 
Please login to merge, or discard this patch.
src/Application.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
 
16 16
 class Application extends ConsoleApplication
17 17
 {
18
-    protected static $logo = __DIR__ . '/art/blend.txt';
18
+    protected static $logo = __DIR__.'/art/blend.txt';
19 19
 
20 20
     protected static $name = 'Blend Console';
21 21
 
Please login to merge, or discard this patch.
bin/blend.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
 /**
22 22
  * Ensure the timezone is set;
23 23
  */
24
-if (version_compare(phpversion(),'5.3.0') >= 0) {
24
+if (version_compare(phpversion(), '5.3.0') >= 0) {
25 25
     $tz = @ini_get('date.timezone');
26 26
     if (empty($tz)) {
27 27
         date_default_timezone_set(@date_default_timezone_get());
Please login to merge, or discard this patch.
src/Blender.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -139,14 +139,14 @@  discard block
 block discarded – undo
139 139
         // How to mark as deprecated?
140 140
         if (method_exists($this->blendableLoader, $name)) {
141 141
 
142
-            $message = get_class($this) . '->'.$name.'() has been deprecated, please use ' . get_class($this) . '->getBlendableLoader()->' . $name;
142
+            $message = get_class($this).'->'.$name.'() has been deprecated, please use '.get_class($this).'->getBlendableLoader()->'.$name;
143 143
             trigger_error($message, E_USER_WARNING);
144 144
             $this->modx->log(\modX::LOG_LEVEL_ERROR, $message);
145 145
 
146 146
             return call_user_func_array(array($this->blendableLoader, $name), $arguments);
147 147
 
148 148
         } else {
149
-            throw new Exception('Call to undefined Method ' . get_class($this) . '->' . $name);
149
+            throw new Exception('Call to undefined Method '.get_class($this).'->'.$name);
150 150
         }
151 151
     }
152 152
 
@@ -431,7 +431,7 @@  discard block
 block discarded – undo
431 431
                 if (!file_exists($this->getMigrationPath())) {
432 432
                     $create = true;
433 433
                     if ($prompt) {
434
-                        $create = $this->userInteractionHandler->promptConfirm('Create the following directory for migration files?' . PHP_EOL
434
+                        $create = $this->userInteractionHandler->promptConfirm('Create the following directory for migration files?'.PHP_EOL
435 435
                             .$this->getMigrationPath(), true);
436 436
                     }
437 437
                     if ($create) {
Please login to merge, or discard this patch.