Completed
Push — feature/add-error-verbosity ( 606343 )
by Narcotic
05:07
created
src/Exception/UnknownFileTypeException.php 1 patch
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
- * thrown when we get a json error
4
- */
3
+     * thrown when we get a json error
4
+     */
5 5
 
6 6
 namespace Graviton\ImportExport\Exception;
7 7
 
Please login to merge, or discard this patch.
src/Command/CoreClientTrait.php 1 patch
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
- * mongodb client trait
4
- */
3
+     * mongodb client trait
4
+     */
5 5
 
6 6
 namespace Graviton\ImportExport\Command;
7 7
 
Please login to merge, or discard this patch.
src/Command/CoreImportCommand.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -97,7 +97,7 @@
 block discarded – undo
97 97
     /**
98 98
      * import a single file into a collection
99 99
      *
100
-     * @param SplFileInfo     $file   file
100
+     * @param \SplFileInfo     $file   file
101 101
      * @param InputInterface  $input  User input on console
102 102
      * @param OutputInterface $output Output of the command
103 103
      *
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -116,7 +116,7 @@
 block discarded – undo
116 116
                 $this->getClient($input)->selectCollection($this->databaseName, $collectionName)->save($origDoc);
117 117
                 $output->writeln("<info>Imported <${file}> to <${collectionName}></info>");
118 118
             } catch (\Exception $e) {
119
-                $output->writeln("<error>Error in <${file}>: ".$e->getMessage()."</error>");
119
+                $output->writeln("<error>Error in <${file}>: " . $e->getMessage() . "</error>");
120 120
             }
121 121
         }
122 122
     }
Please login to merge, or discard this patch.