Completed
Pull Request — develop (#15)
by Narcotic
17:37 queued 07:40
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
@@ -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.