Completed
Push — master ( 4794c5...857394 )
by Mahmoud
05:41 queued 02:36
created
app/Port/Loader/Loaders/ConsolesLoaderTrait.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 
5 5
 use App;
6 6
 use App\Port\Foundation\Portals\Facade\PortButler;
7
-use DB;
8 7
 use File;
9 8
 
10 9
 /**
Please login to merge, or discard this patch.
app/Port/Loader/Loaders/MigrationsLoaderTrait.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 
5 5
 use App;
6 6
 use App\Port\Foundation\Portals\Facade\PortButler;
7
-use DB;
8 7
 use File;
9 8
 
10 9
 /**
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@
 block discarded – undo
57 57
      */
58 58
     private function loadMigrations($directory)
59 59
     {
60
-        App::afterResolving('migrator', function ($migrator) use ($directory) {
60
+        App::afterResolving('migrator', function($migrator) use ($directory) {
61 61
             foreach ((array)$directory as $path) {
62 62
                 $migrator->path($path);
63 63
             }
Please login to merge, or discard this patch.
app/Port/Loader/Loaders/ProvidersLoaderTrait.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -4,9 +4,7 @@
 block discarded – undo
4 4
 
5 5
 use App;
6 6
 use App\Port\Foundation\Portals\Facade\PortButler;
7
-use DB;
8 7
 use File;
9
-use Log;
10 8
 
11 9
 /**
12 10
  * Class ProvidersLoaderTrait.
Please login to merge, or discard this patch.
app/Port/Loader/Loaders/ViewsLoaderTrait.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
     }
43 43
 
44 44
     /**
45
-     * @param $directory
45
+     * @param string $directory
46 46
      */
47 47
     private function loadViews($directory)
48 48
     {
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -4,10 +4,8 @@
 block discarded – undo
4 4
 
5 5
 use App;
6 6
 use App\Port\Foundation\Portals\Facade\PortButler;
7
-use DB;
8 7
 use File;
9 8
 use Illuminate\Support\Facades\View;
10
-use Log;
11 9
 
12 10
 /**
13 11
  * Class ViewsLoaderTrait.
Please login to merge, or discard this patch.
app/Port/Loader/Loaders/FactoriesLoaderTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
     {
24 24
         $newFactoriesPath = '/app/Port/Factory/Factories';
25 25
 
26
-        App::singleton(Factory::class, function ($app) use ($newFactoriesPath) {
26
+        App::singleton(Factory::class, function($app) use ($newFactoriesPath) {
27 27
             $faker = $app->make(Generator::class);
28 28
 
29 29
             return Factory::construct($faker, base_path() . $newFactoriesPath);
Please login to merge, or discard this patch.