@@ -23,14 +23,14 @@ |
||
| 23 | 23 | echo "Signature: ", $signature, " (from build.xml) \n"; |
| 24 | 24 | $const = strtoupper($signature); |
| 25 | 25 | |
| 26 | -$sig = constant("Phar::$const"); |
|
| 26 | +$sig = constant("Phar::$const"); |
|
| 27 | 27 | echo "Phar Algo: ", var_export($sig, true), " (Phar::$const)\n"; |
| 28 | 28 | |
| 29 | 29 | if (!is_file($file) || !is_readable($file)) { |
| 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( |
@@ -22,7 +22,7 @@ |
||
| 22 | 22 | |
| 23 | 23 | /** @var $jobs AppendIterator */ |
| 24 | 24 | $jobs = array_reduce( |
| 25 | - array('crontab/jobs', 'default/crontab/jobs'), function (AppendIterator $carry, $path) { |
|
| 25 | + array('crontab/jobs', 'default/crontab/jobs'), function(AppendIterator $carry, $path) { |
|
| 26 | 26 | if ($jobConfig = Mage::getConfig()->getNode($path)) { |
| 27 | 27 | $carry->append(new \IteratorIterator($jobConfig->children())); |
| 28 | 28 | }; |