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 (#9)
by Ryan
06:55 queued 14s
created
eBayEnterprise/RetailOrderManagement/Payload/Inventory/AllocationReply.php 3 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -123,9 +123,9 @@
 block discarded – undo
123 123
      */
124 124
     protected function getRootAttributes()
125 125
     {
126
-        $attrs = ['xmlns' => $this->getXmlNamespace()];
126
+        $attrs = [ 'xmlns' => $this->getXmlNamespace() ];
127 127
         if ($this->getReservationId()) {
128
-            $attrs['reservationId'] = $this->cleanString($this->getReservationId(), 40);
128
+            $attrs[ 'reservationId' ] = $this->cleanString($this->getReservationId(), 40);
129 129
         }
130 130
         return $attrs;
131 131
     }
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,6 @@
 block discarded – undo
19 19
 use eBayEnterprise\RetailOrderManagement\Payload\IPayloadMap;
20 20
 use eBayEnterprise\RetailOrderManagement\Payload\ISchemaValidator;
21 21
 use eBayEnterprise\RetailOrderManagement\Payload\IValidatorIterator;
22
-use eBayEnterprise\RetailOrderManagement\Payload\PayloadFactory;
23 22
 use eBayEnterprise\RetailOrderManagement\Payload\TTopLevelPayload;
24 23
 use Psr\Log\LoggerInterface;
25 24
 
Please login to merge, or discard this patch.
Indentation   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -1,17 +1,17 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Copyright (c) 2013-2014 eBay Enterprise, Inc.
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.md.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- *
12
- * @copyright   Copyright (c) 2013-2014 eBay Enterprise, Inc. (http://www.ebayenterprise.com/)
13
- * @license     http://opensource.org/licenses/osl-3.0.php  Open Software License (OSL 3.0)
14
- */
3
+     * Copyright (c) 2013-2014 eBay Enterprise, Inc.
4
+     *
5
+     * NOTICE OF LICENSE
6
+     *
7
+     * This source file is subject to the Open Software License (OSL 3.0)
8
+     * that is bundled with this package in the file LICENSE.md.
9
+     * It is also available through the world-wide-web at this URL:
10
+     * http://opensource.org/licenses/osl-3.0.php
11
+     *
12
+     * @copyright   Copyright (c) 2013-2014 eBay Enterprise, Inc. (http://www.ebayenterprise.com/)
13
+     * @license     http://opensource.org/licenses/osl-3.0.php  Open Software License (OSL 3.0)
14
+     */
15 15
 
16 16
 namespace eBayEnterprise\RetailOrderManagement\Payload;
17 17
 
Please login to merge, or discard this patch.
RetailOrderManagement/Payload/Inventory/CompliantShippingItem.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@
 block discarded – undo
54 54
             $parentPayload
55 55
         );
56 56
 
57
-        unset($this->optionalExtractionPaths['shippingMethodMode']);
58
-        unset($this->optionalExtractionPaths['shippingMethodDisplayText']);
57
+        unset($this->optionalExtractionPaths[ 'shippingMethodMode' ]);
58
+        unset($this->optionalExtractionPaths[ 'shippingMethodDisplayText' ]);
59 59
     }
60 60
 }
Please login to merge, or discard this patch.
Indentation   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -1,17 +1,17 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Copyright (c) 2013-2014 eBay Enterprise, Inc.
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.md.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- *
12
- * @copyright   Copyright (c) 2013-2014 eBay Enterprise, Inc. (http://www.ebayenterprise.com/)
13
- * @license     http://opensource.org/licenses/osl-3.0.php  Open Software License (OSL 3.0)
14
- */
3
+     * Copyright (c) 2013-2014 eBay Enterprise, Inc.
4
+     *
5
+     * NOTICE OF LICENSE
6
+     *
7
+     * This source file is subject to the Open Software License (OSL 3.0)
8
+     * that is bundled with this package in the file LICENSE.md.
9
+     * It is also available through the world-wide-web at this URL:
10
+     * http://opensource.org/licenses/osl-3.0.php
11
+     *
12
+     * @copyright   Copyright (c) 2013-2014 eBay Enterprise, Inc. (http://www.ebayenterprise.com/)
13
+     * @license     http://opensource.org/licenses/osl-3.0.php  Open Software License (OSL 3.0)
14
+     */
15 15
 
16 16
 namespace eBayEnterprise\RetailOrderManagement\Payload;
17 17
 
Please login to merge, or discard this patch.
src/eBayEnterprise/RetailOrderManagement/Payload/Inventory/TOrderItem.php 2 patches
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -66,8 +66,7 @@
 block discarded – undo
66 66
 
67 67
     protected function serializeGiftWrapRequested()
68 68
     {
69
-        return is_null($this->getGiftWrapRequested()) ? '' :
70
-            "<GiftwrapRequested>{$this->convertBooleanToString($this->getGiftWrapRequested())}</GiftwrapRequested>";
69
+        return is_null($this->getGiftWrapRequested()) ? '' : "<GiftwrapRequested>{$this->convertBooleanToString($this->getGiftWrapRequested())}</GiftwrapRequested>";
71 70
     }
72 71
 
73 72
     protected function serializeQuantity()
Please login to merge, or discard this patch.
Indentation   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -1,17 +1,17 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Copyright (c) 2013-2014 eBay Enterprise, Inc.
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.md.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- *
12
- * @copyright   Copyright (c) 2013-2014 eBay Enterprise, Inc. (http://www.ebayenterprise.com/)
13
- * @license     http://opensource.org/licenses/osl-3.0.php  Open Software License (OSL 3.0)
14
- */
3
+     * Copyright (c) 2013-2014 eBay Enterprise, Inc.
4
+     *
5
+     * NOTICE OF LICENSE
6
+     *
7
+     * This source file is subject to the Open Software License (OSL 3.0)
8
+     * that is bundled with this package in the file LICENSE.md.
9
+     * It is also available through the world-wide-web at this URL:
10
+     * http://opensource.org/licenses/osl-3.0.php
11
+     *
12
+     * @copyright   Copyright (c) 2013-2014 eBay Enterprise, Inc. (http://www.ebayenterprise.com/)
13
+     * @license     http://opensource.org/licenses/osl-3.0.php  Open Software License (OSL 3.0)
14
+     */
15 15
 
16 16
 namespace eBayEnterprise\RetailOrderManagement\Payload;
17 17
 
Please login to merge, or discard this patch.
RetailOrderManagement/Payload/OmnidirectionalMessageConfigMap.php 2 patches
Spacing   +13 added lines, -13 removed lines patch added patch discarded remove patch
@@ -17,19 +17,19 @@
 block discarded – undo
17 17
  * Wrap include in a function to allow variables while protecting scope.
18 18
  * @return array mapping of config keys to message payload types for bidirectional api operations
19 19
  */
20
-return call_user_func(function () {
20
+return call_user_func(function() {
21 21
     $orderEvents = '\eBayEnterprise\RetailOrderManagement\Payload\OrderEvents';
22
-    $map = [];
23
-    $map['OrderAccepted'] = "$orderEvents\OrderAccepted";
24
-    $map['OrderBackorder'] = "$orderEvents\OrderBackorder";
25
-    $map['OrderCancelled'] = "$orderEvents\OrderCancel";
26
-    $map['OrderConfirmed'] = "$orderEvents\OrderConfirmed";
27
-    $map['OrderCreditIssued'] = "$orderEvents\OrderCreditIssued";
28
-    $map['OrderGiftCardActivation'] = "$orderEvents\OrderGiftCardActivation";
29
-    $map['OrderPriceAdjustment'] = "$orderEvents\OrderPriceAdjustment";
30
-    $map['OrderRejected'] = "$orderEvents\OrderRejected";
31
-    $map['OrderReturnInTransit'] = "$orderEvents\OrderReturnInTransit";
32
-    $map['OrderShipped'] = "$orderEvents\OrderShipped";
33
-    $map['Test'] = "$orderEvents\TestMessage";
22
+    $map = [ ];
23
+    $map[ 'OrderAccepted' ] = "$orderEvents\OrderAccepted";
24
+    $map[ 'OrderBackorder' ] = "$orderEvents\OrderBackorder";
25
+    $map[ 'OrderCancelled' ] = "$orderEvents\OrderCancel";
26
+    $map[ 'OrderConfirmed' ] = "$orderEvents\OrderConfirmed";
27
+    $map[ 'OrderCreditIssued' ] = "$orderEvents\OrderCreditIssued";
28
+    $map[ 'OrderGiftCardActivation' ] = "$orderEvents\OrderGiftCardActivation";
29
+    $map[ 'OrderPriceAdjustment' ] = "$orderEvents\OrderPriceAdjustment";
30
+    $map[ 'OrderRejected' ] = "$orderEvents\OrderRejected";
31
+    $map[ 'OrderReturnInTransit' ] = "$orderEvents\OrderReturnInTransit";
32
+    $map[ 'OrderShipped' ] = "$orderEvents\OrderShipped";
33
+    $map[ 'Test' ] = "$orderEvents\TestMessage";
34 34
     return $map;
35 35
 });
Please login to merge, or discard this patch.
Indentation   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -1,17 +1,17 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Copyright (c) 2013-2014 eBay Enterprise, Inc.
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.md.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- *
12
- * @copyright   Copyright (c) 2013-2014 eBay Enterprise, Inc. (http://www.ebayenterprise.com/)
13
- * @license     http://opensource.org/licenses/osl-3.0.php  Open Software License (OSL 3.0)
14
- */
3
+     * Copyright (c) 2013-2014 eBay Enterprise, Inc.
4
+     *
5
+     * NOTICE OF LICENSE
6
+     *
7
+     * This source file is subject to the Open Software License (OSL 3.0)
8
+     * that is bundled with this package in the file LICENSE.md.
9
+     * It is also available through the world-wide-web at this URL:
10
+     * http://opensource.org/licenses/osl-3.0.php
11
+     *
12
+     * @copyright   Copyright (c) 2013-2014 eBay Enterprise, Inc. (http://www.ebayenterprise.com/)
13
+     * @license     http://opensource.org/licenses/osl-3.0.php  Open Software License (OSL 3.0)
14
+     */
15 15
 
16 16
 namespace eBayEnterprise\RetailOrderManagement\Payload;
17 17
 
Please login to merge, or discard this patch.
src/eBayEnterprise/RetailOrderManagement/Payload/Order/Detail/Charge.php 3 patches
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -272,14 +272,14 @@
 block discarded – undo
272 272
         $linePrice = $this->getLinePrice();
273 273
         $amount = $this->getAmount();
274 274
         return array_merge(
275
-            $name ? ['name' => $name] : [],
276
-            $category ? ['category' => $category] : [],
277
-            $isDiscount ? ['isDiscount' => $isDiscount] : [],
278
-            $isPromotion ? ['isPromotion' => $isPromotion] : [],
279
-            $informational ? ['informational' => $informational] : [],
280
-            is_numeric($unitPrice) ? ['unitPrice' => $unitPrice] : [],
281
-            is_numeric($linePrice) ? ['linePrice' => $linePrice] : [],
282
-            is_numeric($amount) ? ['amount' => $amount] : []
275
+            $name ? [ 'name' => $name ] : [ ],
276
+            $category ? [ 'category' => $category ] : [ ],
277
+            $isDiscount ? [ 'isDiscount' => $isDiscount ] : [ ],
278
+            $isPromotion ? [ 'isPromotion' => $isPromotion ] : [ ],
279
+            $informational ? [ 'informational' => $informational ] : [ ],
280
+            is_numeric($unitPrice) ? [ 'unitPrice' => $unitPrice ] : [ ],
281
+            is_numeric($linePrice) ? [ 'linePrice' => $linePrice ] : [ ],
282
+            is_numeric($amount) ? [ 'amount' => $amount ] : [ ]
283 283
         );
284 284
     }
285 285
 }
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -20,9 +20,7 @@
 block discarded – undo
20 20
 use eBayEnterprise\RetailOrderManagement\Payload\ISchemaValidator;
21 21
 use eBayEnterprise\RetailOrderManagement\Payload\IValidatorIterator;
22 22
 use eBayEnterprise\RetailOrderManagement\Payload\TPayload;
23
-use eBayEnterprise\RetailOrderManagement\Payload\PayloadFactory;
24 23
 use Psr\Log\LoggerInterface;
25
-use Psr\Log\NullLogger;
26 24
 
27 25
 class TaxHeader implements ITaxHeader
28 26
 {
Please login to merge, or discard this patch.
Indentation   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -1,17 +1,17 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Copyright (c) 2013-2014 eBay Enterprise, Inc.
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.md.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- *
12
- * @copyright   Copyright (c) 2013-2015 eBay Enterprise, Inc. (http://www.ebayenterprise.com/)
13
- * @license     http://opensource.org/licenses/osl-3.0.php  Open Software License (OSL 3.0)
14
- */
3
+     * Copyright (c) 2013-2014 eBay Enterprise, Inc.
4
+     *
5
+     * NOTICE OF LICENSE
6
+     *
7
+     * This source file is subject to the Open Software License (OSL 3.0)
8
+     * that is bundled with this package in the file LICENSE.md.
9
+     * It is also available through the world-wide-web at this URL:
10
+     * http://opensource.org/licenses/osl-3.0.php
11
+     *
12
+     * @copyright   Copyright (c) 2013-2015 eBay Enterprise, Inc. (http://www.ebayenterprise.com/)
13
+     * @license     http://opensource.org/licenses/osl-3.0.php  Open Software License (OSL 3.0)
14
+     */
15 15
 
16 16
 namespace eBayEnterprise\RetailOrderManagement\Payload\Validator\Order;
17 17
 
Please login to merge, or discard this patch.
eBayEnterprise/RetailOrderManagement/Payload/Order/Detail/ChargeGroup.php 3 patches
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -212,10 +212,10 @@
 block discarded – undo
212 212
     protected function getRootAttributes()
213 213
     {
214 214
         $name = $this->getName();
215
-        $adjustmentCategory = $this->getAdjustmentCategory();;
215
+        $adjustmentCategory = $this->getAdjustmentCategory(); ;
216 216
         return array_merge(
217
-            $name ? ['name' => $name] : [],
218
-            $adjustmentCategory ? ['adjustmentCategory' => $adjustmentCategory] : []
217
+            $name ? [ 'name' => $name ] : [ ],
218
+            $adjustmentCategory ? [ 'adjustmentCategory' => $adjustmentCategory ] : [ ]
219 219
         );
220 220
     }
221 221
 }
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -20,9 +20,7 @@
 block discarded – undo
20 20
 use eBayEnterprise\RetailOrderManagement\Payload\ISchemaValidator;
21 21
 use eBayEnterprise\RetailOrderManagement\Payload\IValidatorIterator;
22 22
 use eBayEnterprise\RetailOrderManagement\Payload\TPayload;
23
-use eBayEnterprise\RetailOrderManagement\Payload\PayloadFactory;
24 23
 use Psr\Log\LoggerInterface;
25
-use Psr\Log\NullLogger;
26 24
 
27 25
 class TaxHeader implements ITaxHeader
28 26
 {
Please login to merge, or discard this patch.
Indentation   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -1,17 +1,17 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Copyright (c) 2013-2014 eBay Enterprise, Inc.
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.md.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- *
12
- * @copyright   Copyright (c) 2013-2015 eBay Enterprise, Inc. (http://www.ebayenterprise.com/)
13
- * @license     http://opensource.org/licenses/osl-3.0.php  Open Software License (OSL 3.0)
14
- */
3
+     * Copyright (c) 2013-2014 eBay Enterprise, Inc.
4
+     *
5
+     * NOTICE OF LICENSE
6
+     *
7
+     * This source file is subject to the Open Software License (OSL 3.0)
8
+     * that is bundled with this package in the file LICENSE.md.
9
+     * It is also available through the world-wide-web at this URL:
10
+     * http://opensource.org/licenses/osl-3.0.php
11
+     *
12
+     * @copyright   Copyright (c) 2013-2015 eBay Enterprise, Inc. (http://www.ebayenterprise.com/)
13
+     * @license     http://opensource.org/licenses/osl-3.0.php  Open Software License (OSL 3.0)
14
+     */
15 15
 
16 16
 namespace eBayEnterprise\RetailOrderManagement\Payload\Validator\Order;
17 17
 
Please login to merge, or discard this patch.
RetailOrderManagement/Payload/Order/Detail/OrderDetailCustomer.php 3 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -199,6 +199,6 @@
 block discarded – undo
199 199
     protected function getRootAttributes()
200 200
     {
201 201
         $customerId = $this->getCustomerId();
202
-        return $customerId ? ['customerId' => $customerId] : [];
202
+        return $customerId ? [ 'customerId' => $customerId ] : [ ];
203 203
     }
204 204
 }
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -20,9 +20,7 @@
 block discarded – undo
20 20
 use eBayEnterprise\RetailOrderManagement\Payload\ISchemaValidator;
21 21
 use eBayEnterprise\RetailOrderManagement\Payload\IValidatorIterator;
22 22
 use eBayEnterprise\RetailOrderManagement\Payload\TPayload;
23
-use eBayEnterprise\RetailOrderManagement\Payload\PayloadFactory;
24 23
 use Psr\Log\LoggerInterface;
25
-use Psr\Log\NullLogger;
26 24
 
27 25
 class TaxHeader implements ITaxHeader
28 26
 {
Please login to merge, or discard this patch.
Indentation   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -1,17 +1,17 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Copyright (c) 2013-2014 eBay Enterprise, Inc.
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.md.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- *
12
- * @copyright   Copyright (c) 2013-2015 eBay Enterprise, Inc. (http://www.ebayenterprise.com/)
13
- * @license     http://opensource.org/licenses/osl-3.0.php  Open Software License (OSL 3.0)
14
- */
3
+     * Copyright (c) 2013-2014 eBay Enterprise, Inc.
4
+     *
5
+     * NOTICE OF LICENSE
6
+     *
7
+     * This source file is subject to the Open Software License (OSL 3.0)
8
+     * that is bundled with this package in the file LICENSE.md.
9
+     * It is also available through the world-wide-web at this URL:
10
+     * http://opensource.org/licenses/osl-3.0.php
11
+     *
12
+     * @copyright   Copyright (c) 2013-2015 eBay Enterprise, Inc. (http://www.ebayenterprise.com/)
13
+     * @license     http://opensource.org/licenses/osl-3.0.php  Open Software License (OSL 3.0)
14
+     */
15 15
 
16 16
 namespace eBayEnterprise\RetailOrderManagement\Payload\Validator\Order;
17 17
 
Please login to merge, or discard this patch.
RetailOrderManagement/Payload/Order/Detail/OrderDetailRequest.php 3 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -146,8 +146,8 @@
 block discarded – undo
146 146
     {
147 147
         $orderType = $this->getOrderType();
148 148
         return array_merge(
149
-            ['xmlns' => $this->getXmlNamespace()],
150
-            $orderType ? ['orderType' => $this->getOrderType()] : []
149
+            [ 'xmlns' => $this->getXmlNamespace() ],
150
+            $orderType ? [ 'orderType' => $this->getOrderType() ] : [ ]
151 151
         );
152 152
     }
153 153
 }
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,6 @@
 block discarded – undo
23 23
 use eBayEnterprise\RetailOrderManagement\Payload\Payment\TAmount;
24 24
 use eBayEnterprise\RetailOrderManagement\Payload\TPayload;
25 25
 use Psr\Log\LoggerInterface;
26
-use Psr\Log\NullLogger;
27 26
 
28 27
 class TaxedPriceGroup implements ITaxedPriceGroup
29 28
 {
Please login to merge, or discard this patch.
Indentation   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -1,17 +1,17 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Copyright (c) 2013-2014 eBay Enterprise, Inc.
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.md.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- *
12
- * @copyright   Copyright (c) 2013-2015 eBay Enterprise, Inc. (http://www.ebayenterprise.com/)
13
- * @license     http://opensource.org/licenses/osl-3.0.php  Open Software License (OSL 3.0)
14
- */
3
+     * Copyright (c) 2013-2014 eBay Enterprise, Inc.
4
+     *
5
+     * NOTICE OF LICENSE
6
+     *
7
+     * This source file is subject to the Open Software License (OSL 3.0)
8
+     * that is bundled with this package in the file LICENSE.md.
9
+     * It is also available through the world-wide-web at this URL:
10
+     * http://opensource.org/licenses/osl-3.0.php
11
+     *
12
+     * @copyright   Copyright (c) 2013-2015 eBay Enterprise, Inc. (http://www.ebayenterprise.com/)
13
+     * @license     http://opensource.org/licenses/osl-3.0.php  Open Software License (OSL 3.0)
14
+     */
15 15
 
16 16
 namespace eBayEnterprise\RetailOrderManagement\Payload\Validator\Order;
17 17
 
Please login to merge, or discard this patch.
RetailOrderManagement/Payload/Order/Detail/OrderDetailResponse.php 3 patches
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -240,9 +240,9 @@
 block discarded – undo
240 240
     {
241 241
         $testType = $this->getTestType();
242 242
         return array_merge(
243
-            ['xmlns' => $this->getXmlNamespace(), 'orderType' => $this->getOrderType()],
244
-            $testType ? ['testType' => $testType] : [],
245
-            ['cancellable' => $this->getCancellable()]
243
+            [ 'xmlns' => $this->getXmlNamespace(), 'orderType' => $this->getOrderType() ],
244
+            $testType ? [ 'testType' => $testType ] : [ ],
245
+            [ 'cancellable' => $this->getCancellable() ]
246 246
         );
247 247
     }
248 248
 }
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -20,9 +20,7 @@
 block discarded – undo
20 20
 use eBayEnterprise\RetailOrderManagement\Payload\ISchemaValidator;
21 21
 use eBayEnterprise\RetailOrderManagement\Payload\IValidatorIterator;
22 22
 use eBayEnterprise\RetailOrderManagement\Payload\TPayload;
23
-use eBayEnterprise\RetailOrderManagement\Payload\PayloadFactory;
24 23
 use Psr\Log\LoggerInterface;
25
-use Psr\Log\NullLogger;
26 24
 
27 25
 class TaxHeader implements ITaxHeader
28 26
 {
Please login to merge, or discard this patch.
Indentation   +13 added lines, -13 removed lines patch added patch discarded remove patch
@@ -1,17 +1,17 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Copyright (c) 2013-2014 eBay Enterprise, Inc.
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.md.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- *
12
- * @copyright   Copyright (c) 2013-2015 eBay Enterprise, Inc. (http://www.ebayenterprise.com/)
13
- * @license     http://opensource.org/licenses/osl-3.0.php  Open Software License (OSL 3.0)
14
- */
3
+     * Copyright (c) 2013-2014 eBay Enterprise, Inc.
4
+     *
5
+     * NOTICE OF LICENSE
6
+     *
7
+     * This source file is subject to the Open Software License (OSL 3.0)
8
+     * that is bundled with this package in the file LICENSE.md.
9
+     * It is also available through the world-wide-web at this URL:
10
+     * http://opensource.org/licenses/osl-3.0.php
11
+     *
12
+     * @copyright   Copyright (c) 2013-2015 eBay Enterprise, Inc. (http://www.ebayenterprise.com/)
13
+     * @license     http://opensource.org/licenses/osl-3.0.php  Open Software License (OSL 3.0)
14
+     */
15 15
 
16 16
 namespace eBayEnterprise\RetailOrderManagement\Payload\Order\Detail;
17 17
 
@@ -336,7 +336,7 @@  discard block
 block discarded – undo
336 336
             ? sprintf('<%s %s %s>%s</%1$s>', $nodeName, $modeAttribute, $displayTextAttribute, $this->xmlEncode($value)) : null;
337 337
     }
338 338
 
339
-   /**
339
+    /**
340 340
      * @see TPayload::getRootAttributes()
341 341
      */
342 342
     protected function getRootAttributes()
Please login to merge, or discard this patch.