Completed
Branch dependabot/composer/orchestra/... (ad6976)
by Kazi Mainuddin
01:54
created
src/Provider/PayuServiceProvider.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@  discard block
 block discarded – undo
21 21
         /**
22 22
          * Register singleton.
23 23
          */
24
-        $this->app->singleton('tzsk-payu', function ($app) {
24
+        $this->app->singleton('tzsk-payu', function($app) {
25 25
             return new PayuGateway();
26 26
         });
27 27
     }
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
          * Merge Configurations.
38 38
          */
39 39
         $this->mergeConfigFrom(
40
-            __DIR__ . '/../Config/tzsk-payu.php',
40
+            __DIR__.'/../Config/tzsk-payu.php',
41 41
             'payu'
42 42
         );
43 43
     }
@@ -51,14 +51,14 @@  discard block
 block discarded – undo
51 51
          * Configurations that needs to be done by user.
52 52
          */
53 53
         $this->publishes([
54
-            __DIR__ . '/../Config/payu.php' => config_path('payu.php'),
54
+            __DIR__.'/../Config/payu.php' => config_path('payu.php'),
55 55
         ], 'payu-config');
56 56
 
57 57
         /**
58 58
          * Migration file for the payments.
59 59
          */
60 60
         $this->publishes([
61
-            __DIR__ . '/../Migration/' => database_path('migrations')
61
+            __DIR__.'/../Migration/' => database_path('migrations')
62 62
         ], 'payu-table');
63 63
     }
64 64
 
@@ -70,13 +70,13 @@  discard block
 block discarded – undo
70 70
         /**
71 71
          * Load routes for payment.
72 72
          */
73
-        if (! $this->app->routesAreCached()) {
74
-            require __DIR__ . '/../Routes/routes.php';
73
+        if (!$this->app->routesAreCached()) {
74
+            require __DIR__.'/../Routes/routes.php';
75 75
         }
76 76
 
77 77
         /**
78 78
          * Load the Views.
79 79
          */
80
-        $this->loadViewsFrom(__DIR__ . '/../Views', 'tzsk');
80
+        $this->loadViewsFrom(__DIR__.'/../Views', 'tzsk');
81 81
     }
82 82
 }
Please login to merge, or discard this patch.
tests/TestCase.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
         parent::resolveApplicationConfiguration($app);
13 13
 
14
-        $app['config']['payu'] = require __DIR__ . '/../src/Config/payu.php';
14
+        $app['config']['payu'] = require __DIR__.'/../src/Config/payu.php';
15 15
     }
16 16
 
17 17
     protected function getPackageProviders($app)
Please login to merge, or discard this patch.
src/Helpers/FormBuilder.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -50,9 +50,9 @@  discard block
 block discarded – undo
50 50
     {
51 51
         $this->request->replace($this->storage->getData());
52 52
 
53
-        $redirect = collect($this->config->getRedirect())->map(function ($value) {
53
+        $redirect = collect($this->config->getRedirect())->map(function($value) {
54 54
             $separator = Str::contains($value, '?') ? '&' : '?';
55
-            return url($value . $separator . '_token=' . csrf_token() . '&' . 'callback=' . $this->getStatusUrl());
55
+            return url($value.$separator.'_token='.csrf_token().'&'.'callback='.$this->getStatusUrl());
56 56
         })->all();
57 57
 
58 58
         return array_merge(
@@ -102,7 +102,7 @@  discard block
 block discarded – undo
102 102
      */
103 103
     protected function validateRequest()
104 104
     {
105
-        $validation = collect(array_flip($this->config->getRequiredFields()))->map(function () {
105
+        $validation = collect(array_flip($this->config->getRequiredFields()))->map(function() {
106 106
             return 'required';
107 107
         })->all();
108 108
 
Please login to merge, or discard this patch.