Completed
Branch master (e4cc5c)
by Luiz
08:49
created
src/Console/DbCreateCommand.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@
 block discarded – undo
43 43
     /**
44 44
      * Execute the console command.
45 45
      *
46
-     * @return mixed
46
+     * @return integer|null
47 47
      */
48 48
     public function handle(GrammarFactory $grammars)
49 49
     {
Please login to merge, or discard this patch.
src/Console/DbDropCommand.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@
 block discarded – undo
43 43
     /**
44 44
      * Execute the console command.
45 45
      *
46
-     * @return mixed
46
+     * @return integer|null
47 47
      */
48 48
     public function handle(GrammarFactory $grammars)
49 49
     {
Please login to merge, or discard this patch.
src/Database/DryRunConnector.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -6,6 +6,9 @@
 block discarded – undo
6 6
 
7 7
 class DryRunConnector implements Connector
8 8
 {
9
+    /**
10
+     * @param \Illuminate\Console\OutputStyle $output
11
+     */
9 12
     public function __construct($output)
10 13
     {
11 14
         $this->output = $output;
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -2,8 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace Tonysm\LaravelParatest\Database;
4 4
 
5
-use PDO;
6
-
7 5
 class DryRunConnector implements Connector
8 6
 {
9 7
     public function __construct($output)
Please login to merge, or discard this patch.
src/Testing/Paratest/LaravelRunner.php 2 patches
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -45,6 +45,10 @@
 block discarded – undo
45 45
         }
46 46
     }
47 47
 
48
+    /**
49
+     * @param Application $app
50
+     * @param string $dbName
51
+     */
48 52
     protected function swapTestingDatabase($app, $driver, $dbName): void
49 53
     {
50 54
         // Paratest gives each process a unique TEST_TOKEN env variable.
Please login to merge, or discard this patch.
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -2,11 +2,11 @@
 block discarded – undo
2 2
 
3 3
 namespace Tonysm\LaravelParatest\Testing\Paratest;
4 4
 
5
-use ParaTest\Runners\PHPUnit\Runner;
5
+use Illuminate\Contracts\Console\Kernel;
6 6
 use Illuminate\Foundation\Application;
7 7
 use Illuminate\Support\Facades\Artisan;
8 8
 use ParaTest\Runners\PHPUnit\BaseRunner;
9
-use Illuminate\Contracts\Console\Kernel;
9
+use ParaTest\Runners\PHPUnit\Runner;
10 10
 
11 11
 class LaravelRunner extends BaseRunner
12 12
 {
Please login to merge, or discard this patch.