Passed
Branch master (cf7c7e)
by Carl
02:29
created
DependencyInjection/PartFireMangoPayExtension.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
         $configuration = new Configuration();
23 23
         $config = $this->processConfiguration($configuration, $configs);
24 24
 
25
-        $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
25
+        $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config'));
26 26
         $loader->load('services.yml');
27 27
     }
28 28
 }
Please login to merge, or discard this patch.
Models/Adapters/AbstractQuery.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
         $this->mangoPayApi->Config->ClientId = $clientId;
33 33
         $this->mangoPayApi->Config->ClientPassword = $clientPassword;
34 34
         $this->mangoPayApi->Config->BaseUrl = $baseUrl;
35
-        $this->mangoPayApi->Config->TemporaryFolder = sys_get_temp_dir() . DIRECTORY_SEPARATOR . 'mangopay-'.$clientId;
35
+        $this->mangoPayApi->Config->TemporaryFolder = sys_get_temp_dir() . DIRECTORY_SEPARATOR . 'mangopay-' . $clientId;
36 36
         $this->mangoPayApi->setLogger($logger);
37 37
         $this->logger = $logger;
38 38
     }
Please login to merge, or discard this patch.
Models/Adapters/WalletQuery.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
         Logger $logger,
37 37
         WalletTranslator $walletTranslator
38 38
     ) {
39
-        parent::__construct($clientId, $clientPassword, $baseUrl,$mangoPayApi, $logger);
39
+        parent::__construct($clientId, $clientPassword, $baseUrl, $mangoPayApi, $logger);
40 40
         $this->walletTranslator = $walletTranslator;
41 41
     }
42 42
 
@@ -45,10 +45,10 @@  discard block
 block discarded – undo
45 45
         $mangoWallet = $this->walletTranslator->convertDTOToMangoPayWallet($walletDto);
46 46
         try {
47 47
             $mangoWallet = $this->mangoPayApi->Wallets->Create($mangoWallet);
48
-        } catch(MangoPay\Libraries\ResponseException $e) {
48
+        } catch (MangoPay\Libraries\ResponseException $e) {
49 49
             $this->logger->addCritical($e->getMessage(), ['code' => $e->getCode(), 'details' => $e->GetErrorDetails()]);
50 50
             return new PartFireException($e->getMessage(), $e->getCode());
51
-        } catch(MangoPay\Libraries\Exception $e) {
51
+        } catch (MangoPay\Libraries\Exception $e) {
52 52
             $this->logger->addError($e->getMessage());
53 53
             return new PartFireException($e->getMessage(), $e->getCode());
54 54
         }
Please login to merge, or discard this patch.
Models/Adapters/UserQuery.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
         Logger $logger,
37 37
         UserTranslator $userTranslator
38 38
     ) {
39
-        parent::__construct($clientId, $clientPassword, $baseUrl,$mangoPayApi, $logger);
39
+        parent::__construct($clientId, $clientPassword, $baseUrl, $mangoPayApi, $logger);
40 40
         $this->userTranslator = $userTranslator;
41 41
     }
42 42
 
Please login to merge, or discard this patch.
Models/Adapters/KycDocumentQuery.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
         Logger $logger,
37 37
         WalletTranslator $walletTranslator
38 38
     ) {
39
-        parent::__construct($clientId, $clientPassword, $baseUrl,$mangoPayApi, $logger);
39
+        parent::__construct($clientId, $clientPassword, $baseUrl, $mangoPayApi, $logger);
40 40
         $this->walletTranslator = $walletTranslator;
41 41
     }
42 42
 
@@ -45,10 +45,10 @@  discard block
 block discarded – undo
45 45
         $mangoWallet = $this->walletTranslator->convertDTOToMangoPayWallet($walletDto);
46 46
         try {
47 47
             $mangoWallet = $this->mangoPayApi->Wallets->Create($mangoWallet);
48
-        } catch(MangoPay\Libraries\ResponseException $e) {
48
+        } catch (MangoPay\Libraries\ResponseException $e) {
49 49
             $this->logger->addCritical($e->getMessage(), ['code' => $e->getCode(), 'details' => $e->GetErrorDetails()]);
50 50
             return new PartFireException($e->getMessage(), $e->getCode());
51
-        } catch(MangoPay\Libraries\Exception $e) {
51
+        } catch (MangoPay\Libraries\Exception $e) {
52 52
             $this->logger->addError($e->getMessage());
53 53
             return new PartFireException($e->getMessage(), $e->getCode());
54 54
         }
Please login to merge, or discard this patch.
Models/Adapters/TransferQuery.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
         Logger $logger,
37 37
         UserTranslator $userTranslator
38 38
     ) {
39
-        parent::__construct($clientId, $clientPassword, $baseUrl,$mangoPayApi, $logger);
39
+        parent::__construct($clientId, $clientPassword, $baseUrl, $mangoPayApi, $logger);
40 40
         $this->userTranslator = $userTranslator;
41 41
     }
42 42
 
Please login to merge, or discard this patch.
Models/Adapters/KycDocumentPageQuery.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
         Logger $logger,
37 37
         WalletTranslator $walletTranslator
38 38
     ) {
39
-        parent::__construct($clientId, $clientPassword, $baseUrl,$mangoPayApi, $logger);
39
+        parent::__construct($clientId, $clientPassword, $baseUrl, $mangoPayApi, $logger);
40 40
         $this->walletTranslator = $walletTranslator;
41 41
     }
42 42
 
@@ -45,10 +45,10 @@  discard block
 block discarded – undo
45 45
         $mangoWallet = $this->walletTranslator->convertDTOToMangoPayWallet($walletDto);
46 46
         try {
47 47
             $mangoWallet = $this->mangoPayApi->Wallets->Create($mangoWallet);
48
-        } catch(MangoPay\Libraries\ResponseException $e) {
48
+        } catch (MangoPay\Libraries\ResponseException $e) {
49 49
             $this->logger->addCritical($e->getMessage(), ['code' => $e->getCode(), 'details' => $e->GetErrorDetails()]);
50 50
             return new PartFireException($e->getMessage(), $e->getCode());
51
-        } catch(MangoPay\Libraries\Exception $e) {
51
+        } catch (MangoPay\Libraries\Exception $e) {
52 52
             $this->logger->addError($e->getMessage());
53 53
             return new PartFireException($e->getMessage(), $e->getCode());
54 54
         }
Please login to merge, or discard this patch.