@@ -1,10 +1,10 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * update phar file timestamp to the last commit in the repository for binary reproduceable build |
|
| 4 | - * of phar-files. |
|
| 5 | - * |
|
| 6 | - * @author Tom Klingenberg <https://github.com/ktomk> |
|
| 7 | - */ |
|
| 3 | + * update phar file timestamp to the last commit in the repository for binary reproduceable build |
|
| 4 | + * of phar-files. |
|
| 5 | + * |
|
| 6 | + * @author Tom Klingenberg <https://github.com/ktomk> |
|
| 7 | + */ |
|
| 8 | 8 | |
| 9 | 9 | use Seld\PharUtils\Timestamps; |
| 10 | 10 | |
@@ -55,7 +55,7 @@ |
||
| 55 | 55 | /** |
| 56 | 56 | * Get job configuration from XML and database. Expression priority is given to the database. |
| 57 | 57 | * |
| 58 | - * @return Traversable|Mage_Core_Model_Config_Element[] |
|
| 58 | + * @return AppendIterator |
|
| 59 | 59 | */ |
| 60 | 60 | private function getJobConfigElements() |
| 61 | 61 | { |
@@ -1,9 +1,9 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * this file is part of magerun |
|
| 4 | - * |
|
| 5 | - * @author Tom Klingenberg <https://github.com/ktomk> |
|
| 6 | - */ |
|
| 3 | + * this file is part of magerun |
|
| 4 | + * |
|
| 5 | + * @author Tom Klingenberg <https://github.com/ktomk> |
|
| 6 | + */ |
|
| 7 | 7 | namespace N98\Magento; |
| 8 | 8 | |
| 9 | 9 | use ArrayAccess; |
@@ -297,7 +297,7 @@ |
||
| 297 | 297 | { |
| 298 | 298 | if ($this->_userConfig == null) { |
| 299 | 299 | $this->_userConfig = array(); |
| 300 | - $homeDirectory = OperatingSystem::getHomeDir(); |
|
| 300 | + $homeDirectory = OperatingSystem::getHomeDir(); |
|
| 301 | 301 | if (OperatingSystem::isWindows()) { |
| 302 | 302 | $personalConfigFile = $homeDirectory . DIRECTORY_SEPARATOR . $this->_customConfigFilename; |
| 303 | 303 | } else { |
@@ -806,7 +806,7 @@ |
||
| 806 | 806 | */ |
| 807 | 807 | private function requireOnce($path) |
| 808 | 808 | { |
| 809 | - $requireOnce = function () { |
|
| 809 | + $requireOnce = function() { |
|
| 810 | 810 | require_once func_get_arg(0); |
| 811 | 811 | }; |
| 812 | 812 | if (50400 <= PHP_VERSION_ID) { |
@@ -1,16 +1,16 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * Ported attribute migration script from: |
|
| 4 | - * |
|
| 5 | - * https://github.com/astorm/Pulsestorm/blob/master/magento-create-setup.php |
|
| 6 | - * https://github.com/astorm/Pulsestorm/blob/2863201b19367d02483e01b1c03b54b979d87278/_trash/magento-create-setup.php |
|
| 7 | - * |
|
| 8 | - * It creates attribute script for existing attribute |
|
| 9 | - * |
|
| 10 | - * Originally created by Alan Storm |
|
| 11 | - * |
|
| 12 | - * @author Dusan Lukic <[email protected]> |
|
| 13 | - */ |
|
| 3 | + * Ported attribute migration script from: |
|
| 4 | + * |
|
| 5 | + * https://github.com/astorm/Pulsestorm/blob/master/magento-create-setup.php |
|
| 6 | + * https://github.com/astorm/Pulsestorm/blob/2863201b19367d02483e01b1c03b54b979d87278/_trash/magento-create-setup.php |
|
| 7 | + * |
|
| 8 | + * It creates attribute script for existing attribute |
|
| 9 | + * |
|
| 10 | + * Originally created by Alan Storm |
|
| 11 | + * |
|
| 12 | + * @author Dusan Lukic <[email protected]> |
|
| 13 | + */ |
|
| 14 | 14 | namespace N98\Magento\Command\Developer\Setup\Script; |
| 15 | 15 | |
| 16 | 16 | use Exception; |
@@ -80,7 +80,7 @@ |
||
| 80 | 80 | |
| 81 | 81 | /** @var $dialog DialogHelper */ |
| 82 | 82 | $dialog = $this->getHelperSet()->get('dialog'); |
| 83 | - $logFile = $dialog->askAndValidate($output, $question, function ($typeInput) use ($files) { |
|
| 83 | + $logFile = $dialog->askAndValidate($output, $question, function($typeInput) use ($files) { |
|
| 84 | 84 | if (!isset($files[$typeInput - 1])) { |
| 85 | 85 | throw new InvalidArgumentException('Invalid file'); |
| 86 | 86 | } |
@@ -1,9 +1,9 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * this file is part of magerun |
|
| 4 | - * |
|
| 5 | - * @author Tom Klingenberg <https://github.com/ktomk> |
|
| 6 | - */ |
|
| 3 | + * this file is part of magerun |
|
| 4 | + * |
|
| 5 | + * @author Tom Klingenberg <https://github.com/ktomk> |
|
| 6 | + */ |
|
| 7 | 7 | namespace N98\Magento\Command\Cache\Dir; |
| 8 | 8 | |
| 9 | 9 | use FilesystemIterator; |
@@ -63,7 +63,7 @@ |
||
| 63 | 63 | $selectedFile = $this->getHelper('dialog')->askAndValidate( |
| 64 | 64 | $output, |
| 65 | 65 | $question, |
| 66 | - function ($typeInput) use ($files) { |
|
| 66 | + function($typeInput) use ($files) { |
|
| 67 | 67 | if (!isset($files[$typeInput - 1])) { |
| 68 | 68 | throw new InvalidArgumentException('Invalid file'); |
| 69 | 69 | } |