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 (#6)
by Michael
15:30
created
src/eBayEnterprise/RetailOrderManagement/Payload/Order/ShipGroup.php 2 patches
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -22,9 +22,7 @@
 block discarded – undo
22 22
 use eBayEnterprise\RetailOrderManagement\Payload\PayloadFactory;
23 23
 use eBayEnterprise\RetailOrderManagement\Payload\TPayload;
24 24
 use eBayEnterprise\RetailOrderManagement\Payload\TIdentity;
25
-use eBayEnterprise\RetailOrderManagement\Payload\Checkout\TDestinationTarget;
26 25
 use Psr\Log\LoggerInterface;
27
-use Psr\Log\NullLogger;
28 26
 
29 27
 class ShipGroup implements IShipGroup
30 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.
src/eBayEnterprise/RetailOrderManagement/Payload/Order/TaxIterable.php 3 patches
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -63,6 +63,7 @@
 block discarded – undo
63 63
      * Build a new IPayload for the given interface.
64 64
      *
65 65
      * @param string
66
+     * @param string $interface
66 67
      * @return IPayload
67 68
      */
68 69
     protected function buildPayloadForInterface($interface)
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/Order/TOrderCustomer.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -57,6 +57,9 @@
 block discarded – undo
57 57
         return $this;
58 58
     }
59 59
 
60
+    /**
61
+     * @return null|DateTime
62
+     */
60 63
     public function getDateOfBirth()
61 64
     {
62 65
         return $this->dateOfBirth;
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/BackOrderShipGroup.php 4 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -122,6 +122,9 @@
 block discarded – undo
122 122
         return $this->estimatedShipDate;
123 123
     }
124 124
 
125
+    /**
126
+     * @param DateTime $date
127
+     */
125 128
     public function setEstimatedShipDate($date)
126 129
     {
127 130
         $this->estimatedShipDate =
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.
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.
eBayEnterprise/RetailOrderManagement/Payload/OrderEvents/OrderBackorder.php 2 patches
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -15,16 +15,13 @@
 block discarded – undo
15 15
 
16 16
 namespace eBayEnterprise\RetailOrderManagement\Payload\OrderEvents;
17 17
 
18
-use DOMXPath;
19 18
 use eBayEnterprise\RetailOrderManagement\Payload\IPayload;
20 19
 use eBayEnterprise\RetailOrderManagement\Payload\IPayloadMap;
21 20
 use eBayEnterprise\RetailOrderManagement\Payload\ISchemaValidator;
22 21
 use eBayEnterprise\RetailOrderManagement\Payload\IValidatorIterator;
23 22
 use eBayEnterprise\RetailOrderManagement\Payload\PayloadFactory;
24
-use eBayEnterprise\RetailOrderManagement\Payload\Payment\TAmount;
25 23
 use eBayEnterprise\RetailOrderManagement\Payload\TTopLevelPayload;
26 24
 use Psr\Log\LoggerInterface;
27
-use Psr\Log\NullLogger;
28 25
 
29 26
 class OrderBackorder implements IOrderBackorder
30 27
 {
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/OrderPriceAdjustment.php 2 patches
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -15,7 +15,6 @@  discard block
 block discarded – undo
15 15
 
16 16
 namespace eBayEnterprise\RetailOrderManagement\Payload\OrderEvents;
17 17
 
18
-use DOMXPath;
19 18
 use eBayEnterprise\RetailOrderManagement\Payload\IPayload;
20 19
 use eBayEnterprise\RetailOrderManagement\Payload\IPayloadMap;
21 20
 use eBayEnterprise\RetailOrderManagement\Payload\ISchemaValidator;
@@ -24,7 +23,6 @@  discard block
 block discarded – undo
24 23
 use eBayEnterprise\RetailOrderManagement\Payload\Payment\TAmount;
25 24
 use eBayEnterprise\RetailOrderManagement\Payload\TTopLevelPayload;
26 25
 use Psr\Log\LoggerInterface;
27
-use Psr\Log\NullLogger;
28 26
 
29 27
 class OrderPriceAdjustment implements IOrderPriceAdjustment
30 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/OrderReturnInTransit.php 2 patches
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -20,10 +20,8 @@
 block discarded – undo
20 20
 use eBayEnterprise\RetailOrderManagement\Payload\ISchemaValidator;
21 21
 use eBayEnterprise\RetailOrderManagement\Payload\IValidatorIterator;
22 22
 use eBayEnterprise\RetailOrderManagement\Payload\PayloadFactory;
23
-use eBayEnterprise\RetailOrderManagement\Payload\Payment\TAmount;
24 23
 use eBayEnterprise\RetailOrderManagement\Payload\TTopLevelPayload;
25 24
 use Psr\Log\LoggerInterface;
26
-use Psr\Log\NullLogger;
27 25
 
28 26
 class OrderReturnInTransit implements IOrderReturnInTransit
29 27
 {
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/StoreFrontDetails.php 2 patches
Unused Use Statements   -5 removed lines patch added patch discarded remove patch
@@ -15,11 +15,6 @@
 block discarded – undo
15 15
 
16 16
 namespace eBayEnterprise\RetailOrderManagement\Payload\OrderEvents;
17 17
 
18
-use eBayEnterprise\RetailOrderManagement\Payload\IPayload;
19
-use eBayEnterprise\RetailOrderManagement\Payload\IPayloadMap;
20
-use eBayEnterprise\RetailOrderManagement\Payload\ISchemaValidator;
21
-use eBayEnterprise\RetailOrderManagement\Payload\IValidatorIterator;
22
-use eBayEnterprise\RetailOrderManagement\Payload\TPayload;
23 18
 use eBayEnterprise\RetailOrderManagement\Payload\Order\StoreFrontDetails as OrderStoreFrontDetails;
24 19
 
25 20
 class StoreFrontDetails extends OrderStoreFrontDetails implements IStoreFrontDetails
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.
eBayEnterprise/RetailOrderManagement/Payload/OrderEvents/TProductPrice.php 2 patches
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -88,6 +88,7 @@
 block discarded – undo
88 88
      *
89 89
      * @param string name of element containing the amount
90 90
      * @param mixed amount to serialize
91
+     * @param string $elementName
91 92
      * @return string
92 93
      */
93 94
     abstract protected function serializeAmount($elementName, $amount);
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.