@@ -32,7 +32,7 @@ |
||
32 | 32 | $argumentsToInject[] = $objectManager->get($parameter[1]); |
33 | 33 | } |
34 | 34 | |
35 | - call_user_func_array([ $object, $methodName ], $argumentsToInject); |
|
35 | + call_user_func_array([$object, $methodName], $argumentsToInject); |
|
36 | 36 | } |
37 | 37 | |
38 | 38 | /** |
@@ -16,11 +16,11 @@ |
||
16 | 16 | */ |
17 | 17 | public static function getLoader() |
18 | 18 | { |
19 | - if ((!$loader = \N98_Magerun_Bootstrap::includeIfExists(__DIR__.'/../vendor/autoload.php')) |
|
20 | - && (!$loader = \N98_Magerun_Bootstrap::includeIfExists(__DIR__.'/../../../autoload.php'))) { |
|
21 | - throw new \ErrorException('You must set up the project dependencies, run the following commands:'.PHP_EOL. |
|
22 | - 'curl -s http://getcomposer.org/installer | php'.PHP_EOL. |
|
23 | - 'php composer.phar install'.PHP_EOL); |
|
19 | + if ((!$loader = \N98_Magerun_Bootstrap::includeIfExists(__DIR__ . '/../vendor/autoload.php')) |
|
20 | + && (!$loader = \N98_Magerun_Bootstrap::includeIfExists(__DIR__ . '/../../../autoload.php'))) { |
|
21 | + throw new \ErrorException('You must set up the project dependencies, run the following commands:' . PHP_EOL . |
|
22 | + 'curl -s http://getcomposer.org/installer | php' . PHP_EOL . |
|
23 | + 'php composer.phar install' . PHP_EOL); |
|
24 | 24 | } |
25 | 25 | |
26 | 26 | return $loader; |
@@ -42,7 +42,7 @@ |
||
42 | 42 | $disabledCacheTypes = 0; |
43 | 43 | |
44 | 44 | foreach ($cacheTypes as $cacheType) { |
45 | - if (! $cacheType->getStatus()) { |
|
45 | + if (!$cacheType->getStatus()) { |
|
46 | 46 | $disabledCacheTypes++; |
47 | 47 | } |
48 | 48 | } |
@@ -219,11 +219,11 @@ |
||
219 | 219 | public static function convertedBytesProvider() |
220 | 220 | { |
221 | 221 | return array( |
222 | - array(20000000, 2, '19.07M'), |
|
223 | - array(20000000, 3, '19.073M'), |
|
224 | - array(2000000000, 2, '1.86G'), |
|
225 | - array(2, 2, '2.00B'), |
|
226 | - array(2048, 2, '2.00K'), |
|
222 | + array(20000000, 2, '19.07M'), |
|
223 | + array(20000000, 3, '19.073M'), |
|
224 | + array(2000000000, 2, '1.86G'), |
|
225 | + array(2, 2, '2.00B'), |
|
226 | + array(2048, 2, '2.00K'), |
|
227 | 227 | ); |
228 | 228 | } |
229 | 229 | } |
@@ -28,7 +28,7 @@ |
||
28 | 28 | ) |
29 | 29 | ); |
30 | 30 | |
31 | - $this->output->writeln('<info>Created file: <comment>' . $outFile .'<comment></info>'); |
|
31 | + $this->output->writeln('<info>Created file: <comment>' . $outFile . '<comment></info>'); |
|
32 | 32 | |
33 | 33 | return true; |
34 | 34 | } |
@@ -28,7 +28,7 @@ |
||
28 | 28 | ) |
29 | 29 | ); |
30 | 30 | |
31 | - $this->output->writeln('<info>Created file: <comment>' . $outFile .'<comment></info>'); |
|
31 | + $this->output->writeln('<info>Created file: <comment>' . $outFile . '<comment></info>'); |
|
32 | 32 | |
33 | 33 | return true; |
34 | 34 | } |
@@ -28,7 +28,7 @@ |
||
28 | 28 | ) |
29 | 29 | ); |
30 | 30 | |
31 | - $this->output->writeln('<info>Created file: <comment>' . $outFile .'<comment></info>'); |
|
31 | + $this->output->writeln('<info>Created file: <comment>' . $outFile . '<comment></info>'); |
|
32 | 32 | |
33 | 33 | return true; |
34 | 34 | } |
@@ -28,7 +28,7 @@ |
||
28 | 28 | ) |
29 | 29 | ); |
30 | 30 | |
31 | - $this->output->writeln('<info>Created file: <comment>' . $outFile .'<comment></info>'); |
|
31 | + $this->output->writeln('<info>Created file: <comment>' . $outFile . '<comment></info>'); |
|
32 | 32 | |
33 | 33 | return true; |
34 | 34 | } |
@@ -28,7 +28,7 @@ |
||
28 | 28 | ) |
29 | 29 | ); |
30 | 30 | |
31 | - $this->output->writeln('<info>Created file: <comment>' . $outFile .'<comment></info>'); |
|
31 | + $this->output->writeln('<info>Created file: <comment>' . $outFile . '<comment></info>'); |
|
32 | 32 | |
33 | 33 | return true; |
34 | 34 | } |