@@ -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 |      { | 
                                                        
@@ -40,7 +40,7 @@  | 
                                                    ||
| 40 | 40 | $expr = null;  | 
                                                        
| 41 | 41 | |
| 42 | 42 |          if (isset($job->schedule->config_path)) { | 
                                                        
| 43 | - $expr = Mage::getStoreConfig((string) $job->schedule->config_path);  | 
                                                        |
| 43 | + $expr = Mage::getStoreConfig((string)$job->schedule->config_path);  | 
                                                        |
| 44 | 44 |          } elseif (isset($job->schedule->cron_expr)) { | 
                                                        
| 45 | 45 | $expr = $job->schedule->cron_expr;  | 
                                                        
| 46 | 46 | }  | 
                                                        
@@ -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;  | 
                                                        
@@ -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\Util;  | 
                                                        
| 8 | 8 | |
| 9 | 9 | /**  | 
                                                        
@@ -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\Util;  | 
                                                        
| 8 | 8 | |
| 9 | 9 | /**  | 
                                                        
@@ -97,8 +97,8 @@ discard block  | 
                                                    ||
| 97 | 97 | 'password' => null,  | 
                                                        
| 98 | 98 | );  | 
                                                        
| 99 | 99 | |
| 100 | - $config = ((array) $resources->default_setup->connection) + $config;  | 
                                                        |
| 101 | - $config['prefix'] = (string) $resources->db->table_prefix;  | 
                                                        |
| 100 | + $config = ((array)$resources->default_setup->connection) + $config;  | 
                                                        |
| 101 | + $config['prefix'] = (string)$resources->db->table_prefix;  | 
                                                        |
| 102 | 102 | |
| 103 | 103 | // known parameters: host, port, unix_socket, dbname, username, password, options, charset, persistent,  | 
                                                        
| 104 | 104 | // driver_options  | 
                                                        
@@ -108,7 +108,7 @@ discard block  | 
                                                    ||
| 108 | 108 | |
| 109 | 109 | /* @see Varien_Db_Adapter_Pdo_Mysql::_connect */  | 
                                                        
| 110 | 110 |          if (strpos($config['host'], '/') !== false) { | 
                                                        
| 111 | - $config['unix_socket'] = (string) $config['host'];  | 
                                                        |
| 111 | + $config['unix_socket'] = (string)$config['host'];  | 
                                                        |
| 112 | 112 | $config['host'] = null;  | 
                                                        
| 113 | 113 | $config['port'] = null;  | 
                                                        
| 114 | 114 |          } elseif (strpos($config['host'], ':') !== false) { | 
                                                        
@@ -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\Util;  | 
                                                        
| 8 | 8 | |
| 9 | 9 | /**  | 
                                                        
@@ -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\Util;  | 
                                                        
| 8 | 8 | |
| 9 | 9 | /**  | 
                                                        
@@ -33,7 +33,7 @@  | 
                                                    ||
| 33 | 33 | $errorMessage = 'Wrong hostname configured. <info>Hostname must contain a dot</info>';  | 
                                                        
| 34 | 34 | |
| 35 | 35 | $host = parse_url($baseUrl, PHP_URL_HOST);  | 
                                                        
| 36 | - $isValid = (bool) strstr($host, '.');  | 
                                                        |
| 36 | + $isValid = (bool)strstr($host, '.');  | 
                                                        |
| 37 | 37 | $result->setStatus($isValid);  | 
                                                        
| 38 | 38 |          if ($isValid) { | 
                                                        
| 39 | 39 | $result->setMessage(  | 
                                                        
@@ -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\Util;  | 
                                                        
| 8 | 8 | |
| 9 | 9 | /**  | 
                                                        
@@ -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\Util;  | 
                                                        
| 8 | 8 | |
| 9 | 9 | /**  | 
                                                        
@@ -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\Util;  | 
                                                        
| 8 | 8 | |
| 9 | 9 | /**  |