Completed
Push — master ( 3fc78f...9409b9 )
by Mahmoud
09:06 queued 05:36
created
app/Port/Routes/Traits/RoutesServiceProviderTrait.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
                 $apiVersionNumber = $this->getRouteFileVersionNumber($fileNameWithoutExtension);
55 55
 
56 56
                 $this->apiRouter->version('v' . $apiVersionNumber,
57
-                    function (DingoApiRouter $router) use ($file, $containerPath, $containersNamespace) {
57
+                    function(DingoApiRouter $router) use ($file, $containerPath, $containersNamespace) {
58 58
 
59 59
                         $router->group([
60 60
                             // Routes Namespace
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
65 65
                             'limit'      => Config::get('api.limit'),
66 66
                             // The API limit expiry time.
67 67
                             'expires'    => Config::get('api.limit_expires'),
68
-                        ], function ($router) use ($file) {
68
+                        ], function($router) use ($file) {
69 69
 
70 70
                             require $file->getPathname();
71 71
 
@@ -96,7 +96,7 @@  discard block
 block discarded – undo
96 96
             foreach ($files as $file) {
97 97
                 $this->webRouter->group([
98 98
                     'namespace' => $containersNamespace . '\\Containers\\' . basename($containerPath) . '\\Controllers',
99
-                ], function (LaravelRouter $router) use ($file) {
99
+                ], function(LaravelRouter $router) use ($file) {
100 100
                     require $file->getPathname();
101 101
                 });
102 102
             }
Please login to merge, or discard this patch.
app/Port/Console/Inspire.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,6 +28,6 @@
 block discarded – undo
28 28
      */
29 29
     public function handle()
30 30
     {
31
-        $this->comment(PHP_EOL.Inspiring::quote().PHP_EOL);
31
+        $this->comment(PHP_EOL . Inspiring::quote() . PHP_EOL);
32 32
     }
33 33
 }
Please login to merge, or discard this patch.
app/Port/Console/ConsolePort.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,6 +32,6 @@
 block discarded – undo
32 32
     protected function schedule(Schedule $schedule)
33 33
     {
34 34
         $schedule->command('inspire')
35
-                 ->hourly();
35
+                    ->hourly();
36 36
     }
37 37
 }
Please login to merge, or discard this patch.
app/Port/Criterias/Eloquent/CountCriteria.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,6 +37,6 @@
 block discarded – undo
37 37
      */
38 38
     public function apply($model, PrettusRepositoryInterface $repository)
39 39
     {
40
-        return DB::table($model->getModel()->getTable())->select('*', DB::raw('count('.$this->field.') as total_count'))->groupBy($this->field);
40
+        return DB::table($model->getModel()->getTable())->select('*', DB::raw('count(' . $this->field . ') as total_count'))->groupBy($this->field);
41 41
     }
42 42
 }
Please login to merge, or discard this patch.
Paypal/Data/Migrations/2016_07_11_120947_create_paypal_accounts_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('paypal_accounts', function (Blueprint $table) {
21
+        Schema::create('paypal_accounts', function(Blueprint $table) {
22 22
             $table->increments('id');
23 23
 
24 24
             $table->string('some_id');
Please login to merge, or discard this patch.
Stripe/Data/Migrations/2016_07_08_110947_create_stripe_accounts_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('stripe_accounts', function (Blueprint $table) {
21
+        Schema::create('stripe_accounts', function(Blueprint $table) {
22 22
             $table->increments('id');
23 23
             $table->string('customer_id');
24 24
             $table->string('card_id')->nullable();
Please login to merge, or discard this patch.
Tracker/Data/Migrations/2016_29_09_030201_create_time_tracker_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
16 16
      */
17 17
     public function up()
18 18
     {
19
-        Schema::create('time_tracker', function (Blueprint $table) {
19
+        Schema::create('time_tracker', function(Blueprint $table) {
20 20
             $table->increments('id');
21 21
 
22 22
             $table->timestamp('open_at')->nullable();
Please login to merge, or discard this patch.
Containers/User/Data/Migrations/2000_01_01_000001_create_users_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
      */
12 12
     public function up()
13 13
     {
14
-        Schema::create('users', function (Blueprint $table) {
14
+        Schema::create('users', function(Blueprint $table) {
15 15
             $table->increments('id');
16 16
             $table->string('name');
17 17
 
Please login to merge, or discard this patch.
User/Data/Migrations/2000_01_01_000002_create_password_resets_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
      */
12 12
     public function up()
13 13
     {
14
-        Schema::create('password_resets', function (Blueprint $table) {
14
+        Schema::create('password_resets', function(Blueprint $table) {
15 15
             $table->string('email')->index();
16 16
             $table->string('token')->index();
17 17
             $table->timestamp('created_at');
Please login to merge, or discard this patch.