@@ -73,7 +73,7 @@ |
||
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 |
@@ -15,7 +15,7 @@ |
||
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 |
@@ -21,7 +21,7 @@ |
||
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()); |
@@ -26,7 +26,7 @@ discard block |
||
26 | 26 | $destination = rtrim($destination, '\/\\'); |
27 | 27 | if (!is_dir($destination)) { |
28 | 28 | $created = mkdir($destination, 0700); |
29 | - echo PHP_EOL . ' **** '. __LINE__ . 'Attempted to create: '. $destination. ($created ? 'Y' : 'N').' **** '. PHP_EOL; |
|
29 | + echo PHP_EOL.' **** '.__LINE__.'Attempted to create: '.$destination.($created ? 'Y' : 'N').' **** '.PHP_EOL; |
|
30 | 30 | } |
31 | 31 | |
32 | 32 | /** @var \RecursiveDirectoryIterator $directoryIterator */ |
@@ -50,7 +50,7 @@ discard block |
||
50 | 50 | continue; |
51 | 51 | } |
52 | 52 | $created = mkdir($destination.DIRECTORY_SEPARATOR.$recursiveIteratorIterator->getSubPathName()); |
53 | - echo PHP_EOL . ' **** '. __LINE__ . 'Attempted to create: '. $destination. ($created ? 'Y' : 'N').' **** '. PHP_EOL; |
|
53 | + echo PHP_EOL.' **** '.__LINE__.'Attempted to create: '.$destination.($created ? 'Y' : 'N').' **** '.PHP_EOL; |
|
54 | 54 | |
55 | 55 | } else { |
56 | 56 | copy($item, $destination.DIRECTORY_SEPARATOR.$recursiveIteratorIterator->getSubPathName()); |