Test Failed
Push — master ( 7151c5...9163fe )
by Gabriel
03:08 queued 10s
created
examples/card-return.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-require __DIR__ . '/init.php';
3
+require __DIR__.'/init.php';
4 4
 
5 5
 $gateway = new \ByTIC\Omnipay\Paylike\Gateway();
6 6
 $parameters = [
Please login to merge, or discard this patch.
examples/init.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,3 +1,3 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-require dirname(__DIR__) . '/tests/bootstrap.php';
3
+require dirname(__DIR__).'/tests/bootstrap.php';
Please login to merge, or discard this patch.
src/Message/CompletePurchaseRequest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@
 block discarded – undo
62 62
         } catch (\Paylike\Exception\NotFound $e) {
63 63
             $this->setDataItem('message', "The transaction was not found");
64 64
         } catch (\Paylike\Exception\ApiException $e) {
65
-            $this->setDataItem('message', "Api Error:" . $e->getMessage());
65
+            $this->setDataItem('message', "Api Error:".$e->getMessage());
66 66
         }
67 67
 
68 68
         if ($isValid) {
Please login to merge, or discard this patch.
src/Message/PurchaseResponse.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
     protected function initViewVars()
19 19
     {
20 20
         $data = $this->getData();
21
-        $data['returnUrl'] .= strpos($data['returnUrl'], '?') === false ? $data['returnUrl'] . '?' : '';
21
+        $data['returnUrl'] .= strpos($data['returnUrl'], '?') === false ? $data['returnUrl'].'?' : '';
22 22
         $this->getView()->with($data);
23 23
     }
24 24
 
Please login to merge, or discard this patch.
src/resources/views/purchase.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -137,7 +137,7 @@
 block discarded – undo
137 137
                     custom: {
138 138
                         orderId: "<?php echo $this->get('orderId'); ?>",
139 139
                         customer: {
140
-                            name: '<?php echo $this->get('firstName') . ' ' . $this->get('lastName'); ?>',
140
+                            name: '<?php echo $this->get('firstName').' '.$this->get('lastName'); ?>',
141 141
                             email: '<?php echo $this->get('email'); ?>',
142 142
                             telephone: '<?php echo $this->get('phone'); ?>',
143 143
                             address: '<?php echo $this->get('address'); ?>',
Please login to merge, or discard this patch.
examples/card-redirect.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-require __DIR__ . '/init.php';
3
+require __DIR__.'/init.php';
4 4
 
5 5
 $gateway = new \ByTIC\Omnipay\Paylike\Gateway();
6 6
 $parameters = [
Please login to merge, or discard this patch.
examples/capture.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-require __DIR__ . '/init.php';
3
+require __DIR__.'/init.php';
4 4
 
5 5
 $gateway = new \ByTIC\Omnipay\Paylike\Gateway();
6 6
 $parameters = [
Please login to merge, or discard this patch.
tests/bootstrap.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,12 +1,12 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-define('PROJECT_BASE_PATH', __DIR__ . '/..');
3
+define('PROJECT_BASE_PATH', __DIR__.'/..');
4 4
 define('TEST_BASE_PATH', __DIR__);
5
-define('TEST_FIXTURE_PATH', __DIR__ . DIRECTORY_SEPARATOR . 'fixtures');
5
+define('TEST_FIXTURE_PATH', __DIR__.DIRECTORY_SEPARATOR.'fixtures');
6 6
 
7
-require dirname(__DIR__) . '/vendor/autoload.php';
7
+require dirname(__DIR__).'/vendor/autoload.php';
8 8
 
9
-if (file_exists(TEST_BASE_PATH . DIRECTORY_SEPARATOR . '.env')) {
9
+if (file_exists(TEST_BASE_PATH.DIRECTORY_SEPARATOR.'.env')) {
10 10
     $dotenv = Dotenv\Dotenv::createImmutable(TEST_BASE_PATH);
11 11
     $dotenv->load();
12 12
 }
Please login to merge, or discard this patch.
src/Message/PurchaseRequest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
16 16
     public function initialize(array $parameters = [])
17 17
     {
18 18
         $parameters['identifier'] = isset($parameters['identifier']) ?
19
-            $parameters['identifier'] : 'anonymous' . microtime(true);
19
+            $parameters['identifier'] : 'anonymous'.microtime(true);
20 20
 
21 21
         return parent::initialize($parameters);
22 22
     }
Please login to merge, or discard this patch.