@@ -30,7 +30,7 @@ |
||
30 | 30 | throw new RuntimeException(sprintf('Is not a file or not readable: %s', var_export($file, true))); |
31 | 31 | } |
32 | 32 | |
33 | -$timestamp = (int) `git log --format=format:%ct HEAD -1`; |
|
33 | +$timestamp = (int)`git log --format=format:%ct HEAD -1`; |
|
34 | 34 | $threshold = 1343826993; |
35 | 35 | if ($timestamp < $threshold) { |
36 | 36 | $message = sprintf( |
@@ -64,7 +64,7 @@ |
||
64 | 64 | $runConfig = $jobConfig->run; |
65 | 65 | |
66 | 66 | if ($runConfig->model) { |
67 | - if (!preg_match(self::REGEX_RUN_MODEL, (string) $runConfig->model, $run)) { |
|
67 | + if (!preg_match(self::REGEX_RUN_MODEL, (string)$runConfig->model, $run)) { |
|
68 | 68 | throw new RuntimeException('Invalid model/method definition, expecting "model/class::method".'); |
69 | 69 | } |
70 | 70 | $model = \Mage::getModel($run[1]); |