Completed
Push — master ( 453e3c...2f13e8 )
by Mahmoud
18:11 queued 11:11
created
app/Containers/ShipHero/Tasks/CreateShipHeroProductTask.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace App\Containers\ShipHero\Tasks;
4 4
 
5
-use App\Containers\Artwork\Models\ArtworkSpecification;
6 5
 use App\Containers\Artwork\Models\ArtworkType;
7 6
 use App\Containers\PrintJob\Models\PrintJob;
8 7
 use App\Containers\PrintJob\Tasks\UpdatePrintJobTask;
Please login to merge, or discard this patch.
app/Containers/Shipment/Adapters/EasyPostAdapter.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,6 @@
 block discarded – undo
27 27
      * @param      $stateCode
28 28
      * @param      $zipCode
29 29
      * @param null $countryCode
30
-     * @param null $name
31 30
      * @param null $email
32 31
      * @param null $phone
33 32
      *
Please login to merge, or discard this patch.
app/Containers/Shipment/Tasks/GetFromAddressTask.php 1 patch
Doc Comments   -2 removed lines patch added patch discarded remove patch
@@ -40,8 +40,6 @@
 block discarded – undo
40 40
      * @param      $stateCode
41 41
      * @param      $zipCode
42 42
      * @param      $countryCode
43
-     * @param null $phone
44
-     * @param null $email
45 43
      *
46 44
      * @return  array
47 45
      */
Please login to merge, or discard this patch.
app/Containers/Store/Actions/CreateStoreAction.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
     /**
23 23
      * CreateStoreAction constructor.
24 24
      *
25
-     * @param \App\Containers\Artwork\Actions\CreateStoreTask $createStoreTask
25
+     * @param CreateStoreTask $createStoreTask
26 26
      */
27 27
     public function __construct(CreateStoreTask $createStoreTask)
28 28
     {
Please login to merge, or discard this patch.
app/Ship/Features/Seeders/Tests/LiveTestingSeeder.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -2,15 +2,12 @@
 block discarded – undo
2 2
 
3 3
 namespace App\Ship\Features\Seeders\Tests;
4 4
 
5
-use App\Containers\Application\Actions\CreateApplicationWithTokenAction;
6 5
 use App\Containers\Artwork\Models\ArtworkSpecification;
7 6
 use App\Containers\Item\Models\Item;
8 7
 use App\Containers\Item\Models\ItemType;
9 8
 use App\Containers\Item\Models\ItemVariantName;
10 9
 use App\Containers\Item\Models\ItemVariantValue;
11 10
 use App\Containers\Item\Tests\ItemTestHelpersTrait;
12
-use App\Containers\Store\Actions\CreateStoreAction;
13
-use App\Containers\User\Actions\CreateUserAction;
14 11
 use App\Ship\Parents\Seeders\Seeder;
15 12
 use Illuminate\Support\Facades\App;
16 13
 
Please login to merge, or discard this patch.
app/Containers/ShipHero/Tasks/CreateShipHeroOrderTask.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -67,7 +67,7 @@  discard block
 block discarded – undo
67 67
             'required_ship_date' => $order->created_at->addDays(7)->format('Y-m-d'),
68 68
             // <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
69 69
 
70
-            'email' => $recipient->email ? : '[email protected]',
70
+            'email' => $recipient->email ?: '[email protected]',
71 71
 //            'note' => 'BOX-TYPE: ABC',
72 72
 
73 73
             'shipping_lines' => [
@@ -88,7 +88,7 @@  discard block
 block discarded – undo
88 88
                 'country_code'  => $recipient->country_code,
89 89
                 'city'          => $recipient->city,
90 90
                 'zip'           => $recipient->zip_code,
91
-                'phone'         => $recipient->phone ? : '0123456789',
91
+                'phone'         => $recipient->phone ?: '0123456789',
92 92
                 'company'       => '',
93 93
             ]
94 94
         ];
Please login to merge, or discard this patch.
app/Containers/Artwork/Data/Factories/ArtworkSpecificationFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,7 @@
 block discarded – undo
3 3
 use App\Containers\Artwork\Models\ArtworkSpecification;
4 4
 use App\Containers\Artwork\Models\ArtworkType;
5 5
 
6
-$factory->define(ArtworkSpecification::class, function (Faker\Generator $faker) {
6
+$factory->define(ArtworkSpecification::class, function(Faker\Generator $faker) {
7 7
     return [
8 8
         'name'            => $faker->name(),
9 9
         'description'     => $faker->text(50),
Please login to merge, or discard this patch.
app/Containers/Artwork/Data/Factories/ArtworkTypeFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,7 @@
 block discarded – undo
2 2
 
3 3
 use App\Containers\Artwork\Models\ArtworkType;
4 4
 
5
-$factory->define(ArtworkType::class, function (Faker\Generator $faker) {
5
+$factory->define(ArtworkType::class, function(Faker\Generator $faker) {
6 6
     return [
7 7
         'name' => $faker->name(),
8 8
     ];
Please login to merge, or discard this patch.
Migrations/2016_07_21_110999_create_artwork_specifications_items_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
      */
19 19
     public function up()
20 20
     {
21
-        Schema::create('artwork_specification_item', function (Blueprint $table) {
21
+        Schema::create('artwork_specification_item', function(Blueprint $table) {
22 22
             $table->integer('item_id')->unsigned()->index();
23 23
             $table->foreign('item_id')->references('id')->on('items')->onDelete('cascade');
24 24
 
Please login to merge, or discard this patch.