Completed
Push — master ( 58043b...413e7c )
by Sergi Tur
06:39
created
database/migrations/2017_06_20_173730_create_user_migrations_table.php 1 patch
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,8 +1,8 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-use Illuminate\Support\Facades\Schema;
4
-use Illuminate\Database\Schema\Blueprint;
5 3
 use Illuminate\Database\Migrations\Migration;
4
+use Illuminate\Database\Schema\Blueprint;
5
+use Illuminate\Support\Facades\Schema;
6 6
 
7 7
 /**
8 8
  * Class CreateUserMigrationsTable.
Please login to merge, or discard this patch.
database/migrations/2017_06_23_172230_create_progress_batches_table.php 1 patch
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,8 +1,8 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-use Illuminate\Support\Facades\Schema;
4
-use Illuminate\Database\Schema\Blueprint;
5 3
 use Illuminate\Database\Migrations\Migration;
4
+use Illuminate\Database\Schema\Blueprint;
5
+use Illuminate\Support\Facades\Schema;
6 6
 
7 7
 /**
8 8
  * Class CreateProgressBatchesTable.
Please login to merge, or discard this patch.
src/Http/Controllers/UsersMigrationController.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -167,7 +167,7 @@
 block discarded – undo
167 167
     /**
168 168
      * Get users to migrate by request.
169 169
      *
170
-     * @param $request
170
+     * @param UsersMigrationRequest $request
171 171
      * @return \Illuminate\Database\Eloquent\Collection|void|static[]
172 172
      */
173 173
     protected function usersToMigrateByRequest($request)
Please login to merge, or discard this patch.
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -8,10 +8,10 @@
 block discarded – undo
8 8
 use Acacha\Users\Models\ProgressBatch;
9 9
 use Acacha\Users\Models\UserMigration;
10 10
 use Acacha\Users\Services\MigrationBatch;
11
+use App\User as UserOnDestination;
11 12
 use Illuminate\Http\Request;
12 13
 use Redis;
13 14
 use Scool\EbreEscoolModel\User;
14
-use App\User as UserOnDestination;
15 15
 
16 16
 /**
17 17
  * Class UsersMigrationController.
Please login to merge, or discard this patch.
src/Services/UserMigrations.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -117,8 +117,8 @@
 block discarded – undo
117 117
      * Finish migration batch.
118 118
      *
119 119
      * @param ProgressBatch $batch
120
-     * @param $migratedUsers
121
-     * @param $errorUsers
120
+     * @param integer $migratedUsers
121
+     * @param integer $errorUsers
122 122
      */
123 123
     protected function finishMigrationBatch(ProgressBatch $batch , $migratedUsers, $errorUsers)
124 124
     {
Please login to merge, or discard this patch.
Unused Use Statements   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -3,13 +3,13 @@
 block discarded – undo
3 3
 namespace Acacha\Users\Services;
4 4
 
5 5
 use Acacha\Users\Events\ProgressBarStatusHasBeenUpdated;
6
+use Acacha\Users\Events\UserHasBeenMigrated;
7
+use Acacha\Users\Exceptions\MigrationException;
6 8
 use Acacha\Users\Models\ProgressBatch;
9
+use Illuminate\Database\QueryException;
7 10
 use Illuminate\Support\Collection;
8 11
 use Psr\Log\InvalidArgumentException;
9 12
 use Scool\EbreEscoolModel\User;
10
-use Acacha\Users\Events\UserHasBeenMigrated;
11
-use Acacha\Users\Exceptions\MigrationException;
12
-use Illuminate\Database\QueryException;
13 13
 
14 14
 /**
15 15
  * Class UserMigrations.
Please login to merge, or discard this patch.