Passed
Push — master ( 34bc8c...92daf4 )
by
unknown
02:28
created
Models/Adapters/PayInQuery.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -54,10 +54,10 @@  discard block
 block discarded – undo
54 54
                     return $this->payInTranslator->translateMangoPayDirectPayInToDto($createdPayIn);
55 55
                 }
56 56
                 $this->logger->addCritical(
57
-                    "Pay-In has been created with status: ".$createdPayIn->Status . ' (result code: ' . $createdPayIn->ResultCode . ')'
57
+                    "Pay-In has been created with status: " . $createdPayIn->Status . ' (result code: ' . $createdPayIn->ResultCode . ')'
58 58
                 );
59 59
                 throw new PartFireException(
60
-                    "Pay-In has been created with status: ".$createdPayIn->Status . ' (result code: ' . $createdPayIn->ResultCode . ')'
60
+                    "Pay-In has been created with status: " . $createdPayIn->Status . ' (result code: ' . $createdPayIn->ResultCode . ')'
61 61
                 );
62 62
             }
63 63
             $this->logger->addCritical("Failed to create PayIn");
@@ -83,10 +83,10 @@  discard block
 block discarded – undo
83 83
                     return $this->payInTranslator->translateMangoPayBankwireDirectPayInToDto($createdPayIn);
84 84
                 }
85 85
                 $this->logger->addCritical(
86
-                    "Pay-In has been created with status: ".$createdPayIn->Status . ' (result code: ' . $createdPayIn->ResultCode . ')'
86
+                    "Pay-In has been created with status: " . $createdPayIn->Status . ' (result code: ' . $createdPayIn->ResultCode . ')'
87 87
                 );
88 88
                 throw new PartFireException(
89
-                    "Pay-In has been created with status: ".$createdPayIn->Status . ' (result code: ' . $createdPayIn->ResultCode . ')'
89
+                    "Pay-In has been created with status: " . $createdPayIn->Status . ' (result code: ' . $createdPayIn->ResultCode . ')'
90 90
                 );
91 91
             }
92 92
             $this->logger->addCritical("Failed to create PayIn");
Please login to merge, or discard this patch.
Models/Adapters/PayOutQuery.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -55,10 +55,10 @@
 block discarded – undo
55 55
                     return $this->payOutTranslator->translateMangoToPayOutDto($createdPayout);
56 56
                 }
57 57
                 $this->logger->addCritical(
58
-                    "Pay-Out has been created with status: ".$createdPayout->Status . ' (result code: ' . $createdPayout->ResultCode . ')'
58
+                    "Pay-Out has been created with status: " . $createdPayout->Status . ' (result code: ' . $createdPayout->ResultCode . ')'
59 59
                 );
60 60
                 throw new PartFireException(
61
-                    "Pay-Out has been created with status: ".$createdPayout->Status . ' (result code: ' . $createdPayout->ResultCode . ')'
61
+                    "Pay-Out has been created with status: " . $createdPayout->Status . ' (result code: ' . $createdPayout->ResultCode . ')'
62 62
                 );
63 63
             }
64 64
             $this->logger->addCritical("Failed to create PayOut");
Please login to merge, or discard this patch.
Services/HookHandleService.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,6 @@
 block discarded – undo
14 14
 
15 15
 namespace PartFire\MangoPayBundle\Services;
16 16
 
17
-use Composer\EventDispatcher\Event;
18 17
 use PartFire\CommonBundle\Services\Output\CommonOutputInterface;
19 18
 use PartFire\MangoPayBundle\Entity\Hook;
20 19
 use PartFire\MangoPayBundle\Entity\Repository\HookRepository;
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -75,7 +75,7 @@  discard block
 block discarded – undo
75 75
     {
76 76
         $output->info(count($this->getAllNewWebhooks()) . " new hooks to check");
77 77
 
78
-        foreach($this->getAllNewWebhooks() as $webHook) {
78
+        foreach ($this->getAllNewWebhooks() as $webHook) {
79 79
             $output->infoid(" Processing hook ID " . $webHook->getId() . " - Action Type = " . $webHook->getHookEventType());
80 80
             try {
81 81
                 $this->processWebhook($webHook, $output);
@@ -93,7 +93,7 @@  discard block
 block discarded – undo
93 93
 
94 94
         } else {
95 95
             $this->sendErrorMessage(
96
-                "Received webhook from MangoPay *" . $hook->getHookEventType() ."*, which is unknown. Firing event anyway \n ```" . json_encode($hook->getRawHookData()) . "```",
96
+                "Received webhook from MangoPay *" . $hook->getHookEventType() . "*, which is unknown. Firing event anyway \n ```" . json_encode($hook->getRawHookData()) . "```",
97 97
                 ':anguished:'
98 98
             );
99 99
         }
@@ -118,7 +118,7 @@  discard block
 block discarded – undo
118 118
         $this->mangoPayRepositoryFactory->saveAndGetEntity($hook);
119 119
     }
120 120
 
121
-    private function getIdentityCheckReportByOnfidoReportId(OnfidoHookQueue $onfidoHookQueue) : ?IdentityCheckReport
121
+    private function getIdentityCheckReportByOnfidoReportId(OnfidoHookQueue $onfidoHookQueue) : ? IdentityCheckReport
122 122
     {
123 123
         return $this->mangoPayRepositoryFactory->getIdentityCheckReport()->findOneByOnfidoReportId(
124 124
             $onfidoHookQueue->getResourceId()
Please login to merge, or discard this patch.