Completed
Pull Request — develop (#26)
by Lucas
06:45 queued 01:35
created
src/Command/CoreExportCommand.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,6 @@
 block discarded – undo
7 7
 
8 8
 use Symfony\Component\Console\Command\Command;
9 9
 use Symfony\Component\Console\Input\InputArgument;
10
-
11 10
 use Symfony\Component\Console\Input\InputInterface;
12 11
 use Symfony\Component\Console\Input\InputOption;
13 12
 use Symfony\Component\Console\Output\OutputInterface;
Please login to merge, or discard this patch.
test/Command/CoreImportCommandTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
         $clientMock = $this->getMockBuilder('\MongoClient')->disableOriginalConstructor()->getMock();
52 52
 
53 53
         $collectionMock = $this->getMockBuilder('\MongoCollection')->disableOriginalConstructor()->getMock();
54
-        $collectionMock->method('save')->will($this->returnCallback(array($this,'saveCollectionCallback')));
54
+        $collectionMock->method('save')->will($this->returnCallback(array($this, 'saveCollectionCallback')));
55 55
 
56 56
         $dbMock = $this->getMockBuilder('\MongoDB')->disableOriginalConstructor()->getMock();
57 57
         $dbMock->method('selectCollection')->willReturn($collectionMock);
@@ -118,7 +118,7 @@  discard block
 block discarded – undo
118 118
 
119 119
         // fail in output?
120 120
         $this->assertContains(
121
-            'Could not deserialize file <' . $this->sourceDir . '/Dudess/Invalid.json>',
121
+            'Could not deserialize file <'.$this->sourceDir.'/Dudess/Invalid.json>',
122 122
             $this->cmdTester->getDisplay()
123 123
         );
124 124
         $this->assertEquals(1, $this->cmdTester->getStatusCode());
Please login to merge, or discard this patch.