Completed
Push — master ( cd3b85...d7a535 )
by
unknown
08:16
created
Tests/AbstractTestCase.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -24,9 +24,9 @@
 block discarded – undo
24 24
         $extension = $bundle->getContainerExtension();
25 25
         $container = new ContainerBuilder();
26 26
         $container->setParameter('kernel.debug', true);
27
-        $container->setParameter('kernel.cache_dir', sys_get_temp_dir() . '/guzzle');
27
+        $container->setParameter('kernel.cache_dir', sys_get_temp_dir().'/guzzle');
28 28
         $container->setParameter('kernel.bundles', array());
29
-        $container->setParameter('kernel.root_dir', __DIR__ . '/Fixtures');
29
+        $container->setParameter('kernel.root_dir', __DIR__.'/Fixtures');
30 30
 
31 31
         $container->set('validator', $this->getMock('\Symfony\Component\Validator\Validator\ValidatorInterface'));
32 32
 
Please login to merge, or discard this patch.
Controller/PaymentController.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -106,9 +106,9 @@  discard block
 block discarded – undo
106 106
                     );
107 107
                 }
108 108
             } catch (Exception\Declined $e) {
109
-                return $this->errorResponse('Payment declined: ' . print_r($e->getErrors(), true));
109
+                return $this->errorResponse('Payment declined: '.print_r($e->getErrors(), true));
110 110
             } catch (Exception\Runtime $e) {
111
-                return $this->errorResponse('Unexpected error occured: ' . print_r($e, true));
111
+                return $this->errorResponse('Unexpected error occured: '.print_r($e, true));
112 112
             };
113 113
         }
114 114
 
@@ -169,7 +169,7 @@  discard block
 block discarded – undo
169 169
                 return new RedirectResponse($this->router->generate('cardinity_client.payment_success'));
170 170
             }
171 171
         } catch (Exception\Runtime $e) {
172
-            return $this->errorResponse('Unexpected error occured. ' . $e->getMessage() . ': ' . print_r($e->getErrors(), true));
172
+            return $this->errorResponse('Unexpected error occured. '.$e->getMessage().': '.print_r($e->getErrors(), true));
173 173
         };
174 174
 
175 175
         return $this->errorResponse('Unexpected response while finalizing payment');
Please login to merge, or discard this patch.