@@ -52,14 +52,14 @@ |
||
| 52 | 52 | $loggers = array(); |
| 53 | 53 | |
| 54 | 54 | // add it to the array |
| 55 | - $loggers[LoggerKeys::SYSTEM] = $systemLogger; |
|
| 55 | + $loggers[ LoggerKeys::SYSTEM ] = $systemLogger; |
|
| 56 | 56 | |
| 57 | 57 | // append the configured loggers or override the default one |
| 58 | 58 | foreach ($configuration->getLoggers() as $loggerConfiguration) { |
| 59 | 59 | // load the factory class that creates the logger instance |
| 60 | 60 | $loggerFactory = $loggerConfiguration->getFactory(); |
| 61 | 61 | // create the logger instance and add it to the available loggers |
| 62 | - $loggers[$loggerConfiguration->getName()] = $loggerFactory::factory($configuration, $loggerConfiguration); |
|
| 62 | + $loggers[ $loggerConfiguration->getName() ] = $loggerFactory::factory($configuration, $loggerConfiguration); |
|
| 63 | 63 | } |
| 64 | 64 | |
| 65 | 65 | // return the array with the initialized loggers |
@@ -75,10 +75,10 @@ |
||
| 75 | 75 | new InputArgument(InputArgumentKeys::OPERATION_NAME, InputArgument::OPTIONAL, 'Operation that has to be executed', InputArgumentKeys::OPERATION_NAME_ARG_ADD_UPDATE), |
| 76 | 76 | new InputOption(InputOptionKeys::INSTALLATION_DIR, null, InputOption::VALUE_REQUIRED, 'The magento installation directors to use', getcwd()), |
| 77 | 77 | new InputOption(InputOptionKeys::CONFIGURATION, null, InputOption::VALUE_REQUIRED, 'Path to the configuration file'), |
| 78 | - new InputOption(InputOptionKeys::SYSTEM_NAME, null, InputOption::VALUE_REQUIRED,'Specify the system name to use', gethostname()), |
|
| 79 | - new InputOption(InputOptionKeys::PID_FILENAME, null,InputOption::VALUE_REQUIRED, 'The explicit PID filename to use', sprintf('%s/%s', sys_get_temp_dir(), Configuration::PID_FILENAME)), |
|
| 78 | + new InputOption(InputOptionKeys::SYSTEM_NAME, null, InputOption::VALUE_REQUIRED, 'Specify the system name to use', gethostname()), |
|
| 79 | + new InputOption(InputOptionKeys::PID_FILENAME, null, InputOption::VALUE_REQUIRED, 'The explicit PID filename to use', sprintf('%s/%s', sys_get_temp_dir(), Configuration::PID_FILENAME)), |
|
| 80 | 80 | new InputOption(InputOptionKeys::MAGENTO_EDITION, null, InputOption::VALUE_REQUIRED, 'The Magento edition to be used, either one of "CE" or "EE"'), |
| 81 | - new InputOption(InputOptionKeys::MAGENTO_VERSION, null, InputOption::VALUE_REQUIRED, 'The Magento version to be used, e. g. "2.1.2"'), |
|
| 81 | + new InputOption(InputOptionKeys::MAGENTO_VERSION, null, InputOption::VALUE_REQUIRED, 'The Magento version to be used, e. g. "2.1.2"'), |
|
| 82 | 82 | new InputOption(InputOptionKeys::CONFIGURATION, null, InputOption::VALUE_REQUIRED, 'Specify the pathname to the configuration file to use'), |
| 83 | 83 | new InputOption(InputOptionKeys::ENTITY_TYPE_CODE, null, InputOption::VALUE_REQUIRED, 'Specify the entity type code to use, either one of "catalog_product", "catalog_category" or "eav_attribute"'), |
| 84 | 84 | new InputOption(InputOptionKeys::SOURCE_DIR, null, InputOption::VALUE_REQUIRED, 'The directory that has to be watched for new files'), |