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/Order/EmailAddressDestination.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.
src/eBayEnterprise/RetailOrderManagement/Payload/Order/StoreLocation.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.
RetailOrderManagement/Payload/OrderEvents/BackOrderShipGroup.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -113,6 +113,6 @@
 block discarded – undo
113 113
      */
114 114
     protected function getRootAttributes()
115 115
     {
116
-        return [];
116
+        return [ ];
117 117
     }
118 118
 }
Please login to merge, or discard this patch.
src/eBayEnterprise/RetailOrderManagement/Payload/OrderEvents/EddMessage.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -113,6 +113,6 @@
 block discarded – undo
113 113
      */
114 114
     protected function getRootAttributes()
115 115
     {
116
-        return [];
116
+        return [ ];
117 117
     }
118 118
 }
Please login to merge, or discard this patch.
src/eBayEnterprise/RetailOrderManagement/Payload/Payment/LineItem.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -113,6 +113,6 @@
 block discarded – undo
113 113
      */
114 114
     protected function getRootAttributes()
115 115
     {
116
-        return [];
116
+        return [ ];
117 117
     }
118 118
 }
Please login to merge, or discard this patch.
RetailOrderManagement/Payload/Payment/StoredValueBalanceReply.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.
RetailOrderManagement/Payload/Payment/StoredValueRedeemReply.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.
src/eBayEnterprise/RetailOrderManagement/Payload/TPayload.php 1 patch
Spacing   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -41,20 +41,20 @@  discard block
 block discarded – undo
41 41
     /** @var IPayload */
42 42
     protected $parentPayload;
43 43
     /** @var array XPath expressions to extract required data from the serialized payload (XML) */
44
-    protected $extractionPaths = [];
44
+    protected $extractionPaths = [ ];
45 45
     /** @var array */
46
-    protected $optionalExtractionPaths = [];
46
+    protected $optionalExtractionPaths = [ ];
47 47
     /** @var array property/XPath pairs that take boolean values */
48
-    protected $booleanExtractionPaths = [];
48
+    protected $booleanExtractionPaths = [ ];
49 49
     /** @var array pair address lines properties with xpaths for extraction */
50
-    protected $addressLinesExtractionMap = [];
50
+    protected $addressLinesExtractionMap = [ ];
51 51
     /** @var array extracting node value and assigned the property as DateTime */
52
-    protected $datetimeExtractionPaths = [];
52
+    protected $datetimeExtractionPaths = [ ];
53 53
     /**
54 54
      * @var array property/XPath pairs. if property is a payload, first node matched
55 55
      *            will be deserialized by that payload
56 56
      */
57
-    protected $subpayloadExtractionPaths = [];
57
+    protected $subpayloadExtractionPaths = [ ];
58 58
     /** @var LoggerInterface enabled PSR-3 logging */
59 59
     protected $logger;
60 60
     /** @var bool flag to determine to either serialize empty node not or to serialize empty node. */
@@ -156,9 +156,9 @@  discard block
 block discarded – undo
156 156
     protected function addressLinesFromXPath(\DOMXPath $domXPath)
157 157
     {
158 158
         foreach ($this->addressLinesExtractionMap as $address) {
159
-            $lines = $domXPath->query($address['xPath']);
160
-            $property = $address['property'];
161
-            $this->$property = [];
159
+            $lines = $domXPath->query($address[ 'xPath' ]);
160
+            $property = $address[ 'property' ];
161
+            $this->$property = [ ];
162 162
             foreach ($lines as $line) {
163 163
                 array_push($this->$property, $line->nodeValue);
164 164
             }
@@ -290,8 +290,8 @@  discard block
 block discarded – undo
290 290
     protected function serializeRootAttributes()
291 291
     {
292 292
         $rootAttributes = $this->getRootAttributes();
293
-        $qualifyAttributes = function ($name) use ($rootAttributes) {
294
-            return sprintf('%s="%s"', $name, $this->xmlEncode($rootAttributes[$name]));
293
+        $qualifyAttributes = function($name) use ($rootAttributes) {
294
+            return sprintf('%s="%s"', $name, $this->xmlEncode($rootAttributes[ $name ]));
295 295
         };
296 296
         $qualifiedAttributes = array_map($qualifyAttributes, array_keys($rootAttributes));
297 297
         return implode(' ', $qualifiedAttributes);
@@ -311,7 +311,7 @@  discard block
 block discarded – undo
311 311
      */
312 312
     protected function getRootAttributes()
313 313
     {
314
-        return [];
314
+        return [ ];
315 315
     }
316 316
 
317 317
     /**
Please login to merge, or discard this patch.
eBayEnterprise/RetailOrderManagement/Payload/TaxDutyFee/DutyPriceGroup.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@
 block discarded – undo
50 50
 
51 51
         $this->optionalExtractionPaths = array_merge(
52 52
             $this->optionalExtractionPaths,
53
-            ['calculationError' => 'x:CalculationError']
53
+            [ 'calculationError' => 'x:CalculationError' ]
54 54
         );
55 55
     }
56 56
 
Please login to merge, or discard this patch.