Test Setup Failed
Pull Request — dev (#315)
by Alies
04:00
created
src/Services/PaymentGateways/OffsitePaymentGateway.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare(strict_types = 1);
1
+<?php declare(strict_types=1);
2 2
 
3 3
 namespace Diglabby\Doika\Services\PaymentGateways;
4 4
 
Please login to merge, or discard this patch.
src/Http/Controllers/Widget/CampaignController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare(strict_types = 1);
1
+<?php declare(strict_types=1);
2 2
 
3 3
 namespace Diglabby\Doika\Http\Controllers\Widget;
4 4
 
Please login to merge, or discard this patch.
routes/widget.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -19,6 +19,6 @@
 block discarded – undo
19 19
 Route::post('campaign/{campaignId}/recurrent/donate', 'Widget\CampaignController@donateRecurrent')->name('campaign.recurrent.donate')->where('campaignId', '[0-9]+');
20 20
 
21 21
 /** @todo @fr0zen will remove it */
22
-Route::get('about', function () { return 'this route is deprecated'; })->name('about');
23
-Route::get('contact', function () { return 'this route is deprecated'; })->name('contact');
24
-Route::get('legal-mentions', function () { return 'this route is deprecated'; })->name('legal-mentions');
22
+Route::get('about', function() { return 'this route is deprecated'; })->name('about');
23
+Route::get('contact', function() { return 'this route is deprecated'; })->name('contact');
24
+Route::get('legal-mentions', function() { return 'this route is deprecated'; })->name('legal-mentions');
Please login to merge, or discard this patch.
src/Http/Controllers/Webhooks/PaymentGateways/BePaidWebhookHandler.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
 {
16 16
     public function donated(Request $request, int $campaignId)
17 17
     {
18
-        \Log::debug('bePaid donated webhook', ['headers' => $request->headers->all(), 'input' => $request->all(),]);
18
+        \Log::debug('bePaid donated webhook', ['headers' => $request->headers->all(), 'input' => $request->all(), ]);
19 19
 
20 20
         /** @var Donator $donator */
21 21
         $donator = Donator::query()->firstOrCreate(['email' => $request->json('transaction.customer.email')]);
Please login to merge, or discard this patch.