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.
Completed
Pull Request — master (#4)
by Ryan
08:01
created
RetailOrderManagement/Payload/Payment/StoredValueRedeemVoidReply.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@
 block discarded – undo
34 34
 
35 35
     protected $responseCode;
36 36
     /** @var array response codes that are considered a success */
37
-    protected $successResponseCodes = ['Success'];
37
+    protected $successResponseCodes = [ 'Success' ];
38 38
 
39 39
     /**
40 40
      * @param IValidatorIterator
Please login to merge, or discard this patch.
eBayEnterprise/RetailOrderManagement/Payload/Payment/TBillingAddress.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -58,12 +58,12 @@
 block discarded – undo
58 58
      */
59 59
     protected function serializeBillingAddress()
60 60
     {
61
-        $lines = [];
62
-        $billingLines = is_array($this->billingLines) ? $this->billingLines : [];
61
+        $lines = [ ];
62
+        $billingLines = is_array($this->billingLines) ? $this->billingLines : [ ];
63 63
         $idx = 0;
64 64
         foreach ($billingLines as $line) {
65 65
             $idx++;
66
-            $lines[] = sprintf(
66
+            $lines[ ] = sprintf(
67 67
                 '<Line%d>%s</Line%1$d>',
68 68
                 $idx,
69 69
                 $this->xmlEncode($line)
Please login to merge, or discard this patch.
RetailOrderManagement/Payload/Payment/TPaymentAccountUniqueId.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -84,7 +84,7 @@
 block discarded – undo
84 84
 
85 85
     public function setIsEncrypted($isEncrypted)
86 86
     {
87
-        $this->isEncrypted = (bool)$isEncrypted;
87
+        $this->isEncrypted = (bool) $isEncrypted;
88 88
         return $this;
89 89
     }
90 90
 
Please login to merge, or discard this patch.
eBayEnterprise/RetailOrderManagement/Payload/Payment/TShippingAddress.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -57,14 +57,14 @@  discard block
 block discarded – undo
57 57
             $trimmed = trim($lines);
58 58
             $addressLines = preg_split("/\n/", $trimmed, null, PREG_SPLIT_NO_EMPTY);
59 59
 
60
-            $newLines = [];
60
+            $newLines = [ ];
61 61
             foreach ($addressLines as $line) {
62
-                $newLines[] = $this->cleanString($line, 70);
62
+                $newLines[ ] = $this->cleanString($line, 70);
63 63
             }
64 64
 
65 65
             if (count($newLines) > 4) {
66 66
                 // concat lines beyond the four allowed down into the last line
67
-                $newLines[3] = $this->cleanString(implode(' ', array_slice($newLines, 3)), 70);
67
+                $newLines[ 3 ] = $this->cleanString(implode(' ', array_slice($newLines, 3)), 70);
68 68
             }
69 69
 
70 70
             $finalLines = array_slice($newLines, 0, 4);
@@ -80,12 +80,12 @@  discard block
 block discarded – undo
80 80
      */
81 81
     protected function serializeShippingAddress()
82 82
     {
83
-        $lines = [];
83
+        $lines = [ ];
84 84
         $idx = 0;
85
-        $shipToLines = is_array($this->shipToLines) ? $this->shipToLines : [];
85
+        $shipToLines = is_array($this->shipToLines) ? $this->shipToLines : [ ];
86 86
         foreach ($shipToLines as $line) {
87 87
             $idx++;
88
-            $lines[] = sprintf(
88
+            $lines[ ] = sprintf(
89 89
                 '<Line%d>%s</Line%1$d>',
90 90
                 $idx,
91 91
                 $this->xmlEncode($line)
Please login to merge, or discard this patch.
RetailOrderManagement/Payload/Payment/TenderType/LookupReply.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -109,8 +109,8 @@  discard block
 block discarded – undo
109 109
      */
110 110
     public function getResponseMessage()
111 111
     {
112
-        return isset($this->responseCodeMessage[$this->getResponseCode()])
113
-            ? $this->responseCodeMessage[$this->getResponseCode()]
112
+        return isset($this->responseCodeMessage[ $this->getResponseCode() ])
113
+            ? $this->responseCodeMessage[ $this->getResponseCode() ]
114 114
             : '';
115 115
     }
116 116
 
@@ -130,7 +130,7 @@  discard block
 block discarded – undo
130 130
 
131 131
     protected function validateResponseCode()
132 132
     {
133
-        if (!isset($this->responseCodeMessage[$this->getResponseCode()])) {
133
+        if (!isset($this->responseCodeMessage[ $this->getResponseCode() ])) {
134 134
             throw new InvalidPayload("Unrecognized response code '{$this->getResponseCode()}'");
135 135
         }
136 136
     }
Please login to merge, or discard this patch.
RetailOrderManagement/Payload/TaxDutyFee/AbstractCustomization.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -89,7 +89,7 @@
 block discarded – undo
89 89
 
90 90
     protected function getRootAttributes()
91 91
     {
92
-        return $this->getId() ? ['id' => $this->getId()] : [];
92
+        return $this->getId() ? [ 'id' => $this->getId() ] : [ ];
93 93
     }
94 94
 
95 95
     protected function getRootNodeName()
Please login to merge, or discard this patch.
RetailOrderManagement/Payload/TaxDutyFee/AbstractShipGroup.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -118,9 +118,9 @@
 block discarded – undo
118 118
 
119 119
     protected function getRootAttributes()
120 120
     {
121
-        $attrs = ['id' => $this->getId()];
121
+        $attrs = [ 'id' => $this->getId() ];
122 122
         if ($this->getChargeType()) {
123
-            $attrs['chargeType'] = $this->getChargeType();
123
+            $attrs[ 'chargeType' ] = $this->getChargeType();
124 124
         }
125 125
         return $attrs;
126 126
     }
Please login to merge, or discard this patch.
src/eBayEnterprise/RetailOrderManagement/Payload/TaxDutyFee/Discount.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -152,13 +152,13 @@
 block discarded – undo
152 152
      */
153 153
     protected function getRootAttributes()
154 154
     {
155
-        $attrs = [];
155
+        $attrs = [ ];
156 156
         if ($this->getId()) {
157
-            $attrs['id'] = $this->getId();
157
+            $attrs[ 'id' ] = $this->getId();
158 158
         }
159 159
         $flag = $this->getCalculateDutyFlag();
160 160
         if ($flag === true || $flag === false) {
161
-            $attrs['calculateDuty'] = $this->convertBooleanToString($this->getCalculateDutyFlag());
161
+            $attrs[ 'calculateDuty' ] = $this->convertBooleanToString($this->getCalculateDutyFlag());
162 162
         }
163 163
         return $attrs;
164 164
     }
Please login to merge, or discard this patch.
eBayEnterprise/RetailOrderManagement/Payload/TaxDutyFee/MailingAddress.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -91,7 +91,7 @@
 block discarded – undo
91 91
 
92 92
     protected function getRootAttributes()
93 93
     {
94
-        return ['id' => $this->getId()];
94
+        return [ 'id' => $this->getId() ];
95 95
     }
96 96
 
97 97
     protected function buildPhysicalAddressNodes(array $lines)
Please login to merge, or discard this patch.