Passed
Push — develop ( f51290...6bb160 )
by Erwin
10:58
created
src/ProcessHandler.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -7,12 +7,12 @@
 block discarded – undo
7 7
 
8 8
 class ProcessHandler
9 9
 {
10
-   /**
11
-    * Run the Symfony fromShellCommandLine
12
-    *
13
-    * @param string $command
14
-    * @return boolean
15
-    */
10
+    /**
11
+     * Run the Symfony fromShellCommandLine
12
+     *
13
+     * @param string $command
14
+     * @return boolean
15
+     */
16 16
     public function run(string $command): bool
17 17
     {
18 18
         $process = Process::fromShellCommandline($command, null, null, null, 999.00);
Please login to merge, or discard this patch.
tests/Databases/MySQLDatabaseTest.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -50,9 +50,9 @@  discard block
 block discarded – undo
50 50
         $this->assertFalse($this->database->backup());
51 51
     }
52 52
 
53
-     /**
54
-     * @test
55
-     */
53
+        /**
54
+         * @test
55
+         */
56 56
     public function testRestoreSuccess()
57 57
     {
58 58
         $this->processHandlerMock->method('run')->willReturn(true);
@@ -60,9 +60,9 @@  discard block
 block discarded – undo
60 60
         $this->assertTrue($this->database->restore($this->testBackupFile));
61 61
     }
62 62
 
63
-     /**
64
-     * @test
65
-     */
63
+        /**
64
+         * @test
65
+         */
66 66
     public function testRestoreFailure()
67 67
     {
68 68
         $this->processHandlerMock->method('run')->willReturn(false);
Please login to merge, or discard this patch.
tests/Databases/DatabaseTest.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,6 +15,6 @@
 block discarded – undo
15 15
         $this->storage = $this->getMockBuilder('EDouna\LaravelDBBackup\Database\Storage')->getMock();
16 16
         $this->processHandlerMock = $this->getMockBuilder('EDouna\LaravelDBBackup\ProcessHandler')->getMock();
17 17
 
18
-       $this->database = new Database($this->storage);
18
+        $this->database = new Database($this->storage);
19 19
     }
20 20
 }
Please login to merge, or discard this patch.