Completed
Push — master ( dc322e...438d0e )
by Mahmoud
03:27
created
app/Containers/Authorization/UI/API/Controllers/Controller.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,6 @@
 block discarded – undo
26 26
 use App\Containers\Authorization\UI\API\Requests\RevokeUserFromRoleRequest;
27 27
 use App\Containers\Authorization\UI\API\Transformers\PermissionTransformer;
28 28
 use App\Containers\Authorization\UI\API\Transformers\RoleTransformer;
29
-use App\Containers\User\Models\User;
30 29
 use App\Containers\User\UI\API\Transformers\UserTransformer;
31 30
 use App\Ship\Parents\Controllers\ApiController;
32 31
 
Please login to merge, or discard this patch.
app/Containers/Stripe/Tasks/ChargeWithStripeTask.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,6 @@
 block discarded – undo
6 6
 use App\Containers\Stripe\Exceptions\StripeApiErrorException;
7 7
 use App\Containers\User\Models\User;
8 8
 use App\Ship\Parents\Tasks\Task;
9
-
10 9
 use Cartalyst\Stripe\Stripe;
11 10
 use Exception;
12 11
 use Illuminate\Support\Facades\Config;
Please login to merge, or discard this patch.
app/Ship/Engine/Loaders/AliasesLoaderTrait.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,6 @@
 block discarded – undo
15 15
 
16 16
 
17 17
     /**
18
-     * @param array $aliases
19 18
      */
20 19
     public function loadShipInternalAliases()
21 20
     {
Please login to merge, or discard this patch.
app/Ship/Features/Tests/PhpUnit/GeneralTestsHelpersTrait.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace App\Ship\Features\Tests\PhpUnit;
4 4
 
5 5
 use App;
6
-use Artisan;
7 6
 use Dingo\Api\Http\Response as DingoAPIResponse;
8 7
 use Illuminate\Http\Response;
9 8
 use Illuminate\Http\UploadedFile;
Please login to merge, or discard this patch.
app/Ship/Parents/Tests/PhpUnit/TestCase.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\Ship\Features\Tests\PhpUnit\CustomTestsHelpersTrait;
6 6
 use App\Ship\Features\Tests\PhpUnit\GeneralTestsHelpersTrait;
7
-use App\Ship\Features\Tests\PhpUnit\TestingTrait;
8 7
 use App\Ship\Features\Tests\PhpUnit\TestingUserTrait;
9 8
 use Faker\Generator;
10 9
 use Illuminate\Contracts\Console\Kernel as LaravelKernel;
Please login to merge, or discard this patch.
app/Ship/Engine/Loaders/FactoriesLoaderTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
     {
23 23
         $newFactoriesPath = '/app/Ship/Engine/Loaders/FactoryMixer';
24 24
 
25
-        App::singleton(Factory::class, function ($app) use ($newFactoriesPath) {
25
+        App::singleton(Factory::class, function($app) use ($newFactoriesPath) {
26 26
             $faker = $app->make(Generator::class);
27 27
 
28 28
             return Factory::construct($faker, base_path() . $newFactoriesPath);
Please login to merge, or discard this patch.
app/Ship/Features/Validations/ValidationTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
      */
18 18
     public function extendValidationRules()
19 19
     {
20
-        Validator::extend('no_spaces', function ($attr, $value) {
20
+        Validator::extend('no_spaces', function($attr, $value) {
21 21
             return preg_match('/^\S*$/u', $value);
22 22
         }, ['String should not contain space.']);
23 23
     }
Please login to merge, or discard this patch.