Completed
Push — feature/add-error-verbosity ( 606343...82d586 )
by Narcotic
07:40
created
src/Command/CoreImportCommand.php 2 patches
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,7 +1,7 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * import objects into mongodb with files created by CoreExportCommand
4
- */
3
+     * import objects into mongodb with files created by CoreExportCommand
4
+     */
5 5
 
6 6
 namespace Graviton\ImportExport\Command;
7 7
 
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -128,7 +128,7 @@
 block discarded – undo
128 128
                 $this->getClient($input)->selectCollection($this->databaseName, $collectionName)->save($origDoc);
129 129
                 $output->writeln("<info>Imported <${file}> to <${collectionName}></info>");
130 130
             } catch (\Exception $e) {
131
-                $errorMessage = "<error>Error in <${file}>: ".$e->getMessage()."</error>";
131
+                $errorMessage = "<error>Error in <${file}>: " . $e->getMessage() . "</error>";
132 132
                 $output->writeln($errorMessage);
133 133
                 $this->errorStack[] = $errorMessage;
134 134
             }
Please login to merge, or discard this patch.