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
Push — master ( 65c2b5...b49898 )
by
unknown
07:47
created
src/eBayEnterprise/RetailOrderManagement/Payload/Order/TOrderContext.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -161,6 +161,6 @@
 block discarded – undo
161 161
     protected function convertHMSToDateInterval($hmsTime)
162 162
     {
163 163
         $parts = explode(':', $hmsTime);
164
-        return 'PT' . $parts[0] . 'H' . $parts[1] . 'M' . $parts[2] . 'S';
164
+        return 'PT' . $parts[ 0 ] . 'H' . $parts[ 1 ] . 'M' . $parts[ 2 ] . 'S';
165 165
     }
166 166
 }
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.
src/eBayEnterprise/RetailOrderManagement/Payload/Order/Template.php 3 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
         $this->logger = $logger;
47 47
         $this->extractionPaths = array_merge(
48 48
             $this->extractionPaths,
49
-            ['id' => 'string(@id)']
49
+            [ 'id' => 'string(@id)' ]
50 50
         );
51 51
     }
52 52
 
@@ -63,6 +63,6 @@  discard block
 block discarded – undo
63 63
 
64 64
     protected function getRootAttributes()
65 65
     {
66
-        return ['id' => $this->getId()];
66
+        return [ 'id' => $this->getId() ];
67 67
     }
68 68
 }
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/OrderEvents/CreditOrderItem.php 3 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -77,7 +77,7 @@
 block discarded – undo
77 77
     {
78 78
         return array_merge(
79 79
             parent::getRootAttributes(),
80
-            ['remainingQuantity' => $this->getRemainingQuantity()]
80
+            [ 'remainingQuantity' => $this->getRemainingQuantity() ]
81 81
         );
82 82
     }
83 83
 
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-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/OrderEvents/IOrderCreditIssued.php 1 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
 
17 17
 namespace eBayEnterprise\RetailOrderManagement\Payload\OrderEvents;
Please login to merge, or discard this patch.
eBayEnterprise/RetailOrderManagement/Payload/OrderEvents/OrderConfirmed.php 3 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -148,8 +148,8 @@
 block discarded – undo
148 148
             'feesAmount' => $this->getFeesAmount(),
149 149
             'discountAmount' => $this->getDiscountAmount(),
150 150
         ];
151
-        $qualifyAttributes = function ($name) use ($attrs) {
152
-            return sprintf('%s="%s"', $name, $this->formatAmount($attrs[$name] ?: 0));
151
+        $qualifyAttributes = function($name) use ($attrs) {
152
+            return sprintf('%s="%s"', $name, $this->formatAmount($attrs[ $name ] ?: 0));
153 153
         };
154 154
         $qualifiedAttributes = array_map($qualifyAttributes, array_keys($attrs));
155 155
         return '<OrderSummary ' . implode(' ', $qualifiedAttributes) . '/>';
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-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/OrderEvents/OrderConfirmedShipGroup.php 3 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
         $this->optionalExtractionPaths = [
60 60
             'shipmentMethodDisplayText' => 'x:ShipmentMethod/@displayText',
61 61
         ];
62
-        $this->subpayloadExtractionPaths = ['orderItems' => 'x:OrderConfirmedOrderItems'];
62
+        $this->subpayloadExtractionPaths = [ 'orderItems' => 'x:OrderConfirmedOrderItems' ];
63 63
     }
64 64
 
65 65
     protected function serializeContents()
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
 
77 77
     protected function getRootAttributes()
78 78
     {
79
-        return [];
79
+        return [ ];
80 80
     }
81 81
 
82 82
     protected function getXmlNamespace()
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-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/OrderEvents/PerformedAdjustment.php 3 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -112,6 +112,6 @@
 block discarded – undo
112 112
 
113 113
     protected function getRootAttributes()
114 114
     {
115
-        return ['type' => $this->getType(), 'display' => $this->getDisplay()];
115
+        return [ 'type' => $this->getType(), 'display' => $this->getDisplay() ];
116 116
     }
117 117
 }
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-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/OrderEvents/ShippedOrderItem.php 3 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -83,7 +83,7 @@
 block discarded – undo
83 83
     {
84 84
         return array_merge(
85 85
             parent::getRootAttributes(),
86
-            ['shippedQuantity' => $this->getShippedQuantity()]
86
+            [ 'shippedQuantity' => $this->getShippedQuantity() ]
87 87
         );
88 88
     }
89 89
 
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-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/OrderEvents/TShipGroup.php 2 patches
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -113,8 +113,7 @@
 block discarded – undo
113 113
     protected function serializeShipmentMethod()
114 114
     {
115 115
         $serializedAttribute = $this->getShipmentMethodDisplayText() ?
116
-            " displayText=\"{$this->getShipmentMethodDisplayText()}\"" :
117
-            '';
116
+            " displayText=\"{$this->getShipmentMethodDisplayText()}\"" : '';
118 117
         return sprintf(
119 118
             '<ShipmentMethod%s>%s</ShipmentMethod>',
120 119
             $serializedAttribute,
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.