GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Passed
Push — master ( 65f780...98a366 )
by Peng
07:40 queued 04:41
created
src/Bundle/ReportBundle/Command/ReportCommand.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
     protected function configure()
39 39
     {
40 40
         $this->setName('report:merchant')
41
-             ->setDescription('Generate the merchant transactions report')
41
+                ->setDescription('Generate the merchant transactions report')
42 42
             ->addArgument(
43 43
                 'merchant_id',
44 44
                 InputArgument::OPTIONAL,
Please login to merge, or discard this patch.
src/Bundle/ReportBundle/Model/TransactionCsvStorage.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
      */
41 41
     public function __construct($csvFilePath)
42 42
     {
43
-        $this->csvFilePath  = $csvFilePath;
43
+        $this->csvFilePath = $csvFilePath;
44 44
 
45 45
         if (!ini_get("auto_detect_line_endings")) {
46 46
             ini_set("auto_detect_line_endings", '1');
Please login to merge, or discard this patch.
src/Bundle/ReportBundle/Model/TransactionTable.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -70,7 +70,7 @@
 block discarded – undo
70 70
 
71 71
         foreach ($data as $item) {
72 72
             $itemTime = $dateWorker->createFromFormat('d/m/Y', $item[1])->format('Y-m-d H:i:s');
73
-            if (null === $formattedDate || strtotime($formattedDate) - strtotime($itemTime) >= 0 ) {
73
+            if (null === $formattedDate || strtotime($formattedDate) - strtotime($itemTime) >= 0) {
74 74
                 $symbol = mb_substr($item[2], 0, 1, 'UTF-8');
75 75
                 $amount = mb_substr($item[2], 1);
76 76
                 $temp   = array_merge($item, [$symbol, $amount]);
Please login to merge, or discard this patch.
src/Bundle/ReportBundle/Model/CurrencyWebservice.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@  discard block
 block discarded – undo
29 29
 
30 30
         switch ($originalCurrency) {
31 31
             case 'GBP':
32
-                switch($targetCurrency) {
32
+                switch ($targetCurrency) {
33 33
                     case 'GBP':
34 34
                         $rate = 1.00;
35 35
                         break;
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
                 }
45 45
                 break;
46 46
             case 'USD':
47
-                switch($targetCurrency) {
47
+                switch ($targetCurrency) {
48 48
                     case 'GBP':
49 49
                         $rate = random_int(77, 82) / 100;
50 50
                         break;
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
                 }
60 60
                 break;
61 61
             case 'EUR':
62
-                switch($targetCurrency) {
62
+                switch ($targetCurrency) {
63 63
                     case 'GBP':
64 64
                         $rate = random_int(85, 90) / 100;
65 65
                         break;
Please login to merge, or discard this patch.
src/Bundle/ReportBundle/Model/Merchant.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@
 block discarded – undo
54 54
 
55 55
         return array_filter(
56 56
             $this->getTransactionRepository()->getTransactions(),
57
-            function ($e) use ($merchantId) {
57
+            function($e) use ($merchantId) {
58 58
                 return (int)$e[0] === (int)$merchantId;
59 59
             }
60 60
         );
Please login to merge, or discard this patch.
src/Bundle/ReportBundle/Utility/Helper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
      */
24 24
     public static function array_intersect_recursive($array1, $array2)
25 25
     {
26
-        foreach($array1 as $key => $value) {
26
+        foreach ($array1 as $key => $value) {
27 27
             if (!isset($array2[$key])) {
28 28
                 unset($array1[$key]);
29 29
             } else {
Please login to merge, or discard this patch.