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 (#3)
by Ryan
07:32
created
RetailOrderManagement/Payload/Inventory/InStorePickUpItem.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,6 @@
 block discarded – undo
21 21
 use eBayEnterprise\RetailOrderManagement\Payload\IValidatorIterator;
22 22
 use eBayEnterprise\RetailOrderManagement\Payload\PayloadFactory;
23 23
 use eBayEnterprise\RetailOrderManagement\Payload\TPayload;
24
-use eBayEnterprise\RetailOrderManagement\Payload\TIdentity;
25 24
 use eBayEnterprise\RetailOrderManagement\Payload\Checkout\TPhysicalAddress;
26 25
 use eBayEnterprise\RetailOrderManagement\Payload\Payment\TAmount;
27 26
 use Psr\Log\LoggerInterface;
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\Inventory;
17 17
 
Please login to merge, or discard this patch.
RetailOrderManagement/Payload/Inventory/InventoryDetailsReply.php 2 patches
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -136,6 +136,7 @@
 block discarded – undo
136 136
      * @param  DOMNodeList
137 137
      * @param  IItemIterable
138 138
      * @param  string
139
+     * @param string $subPayloadMethod
139 140
      * @return self
140 141
      */
141 142
     protected function deserializeItems(DOMNodeList $itemNodes, IItemIterable $iterable, $subPayloadMethod)
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\Inventory;
17 17
 
Please login to merge, or discard this patch.
src/eBayEnterprise/RetailOrderManagement/Payload/Inventory/ItemIterable.php 2 patches
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@  discard block
 block discarded – undo
58 58
     /**
59 59
      * Get a new, empty item for shipping.
60 60
      *
61
-     * @return IShippingItemIterable
61
+     * @return IPayload
62 62
      */
63 63
     public function getEmptyShippingItem()
64 64
     {
@@ -68,7 +68,7 @@  discard block
 block discarded – undo
68 68
     /**
69 69
      * Get a new, empty item for in store pick up.
70 70
      *
71
-     * @return IInStorePickUpItemIterable
71
+     * @return IPayload
72 72
      */
73 73
     public function getEmptyInStorePickUpItem()
74 74
     {
@@ -78,7 +78,7 @@  discard block
 block discarded – undo
78 78
     /**
79 79
      * Get a new, empty payload for an unavailable item.
80 80
      *
81
-     * @return IShippingItemIterable
81
+     * @return IPayload
82 82
      */
83 83
     public function getEmptyDetailItem()
84 84
     {
@@ -88,7 +88,7 @@  discard block
 block discarded – undo
88 88
     /**
89 89
      * Get a new, empty payload for an unavailable item.
90 90
      *
91
-     * @return IShippingItemIterable
91
+     * @return IPayload
92 92
      */
93 93
     public function getEmptyUnavailableItem()
94 94
     {
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\Inventory;
17 17
 
Please login to merge, or discard this patch.
RetailOrderManagement/Payload/Inventory/ReplyQuantityItem.php 2 patches
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\TPayload;
23 22
 use Psr\Log\LoggerInterface;
24 23
 
25 24
 class ReplyQuantityItem extends QuantityItem implements IReplyQuantityItem
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\Inventory;
17 17
 
Please login to merge, or discard this patch.
RetailOrderManagement/Payload/Inventory/RequestQuantityItem.php 2 patches
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\TPayload;
23 22
 use Psr\Log\LoggerInterface;
24 23
 
25 24
 class RequestQuantityItem extends QuantityItem implements IRequestQuantityItem
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\Inventory;
17 17
 
Please login to merge, or discard this patch.
RetailOrderManagement/Payload/OmnidirectionalMessageFactory.php 3 patches
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,6 @@
 block discarded – undo
30 30
     protected $logger;
31 31
 
32 32
     /**
33
-     * @param IConfig $config
34 33
      * @param IPayloadFactory $payloadFactory
35 34
      * @param array $messageMapping key/value pairs of config key => payload type
36 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.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
      * @param IPayloadFactory $payloadFactory
35 35
      * @param array $messageMapping key/value pairs of config key => payload type
36 36
      */
37
-    public function __construct(IPayloadFactory $payloadFactory = null, array $messageMapping = [], LoggerInterface $logger = null)
37
+    public function __construct(IPayloadFactory $payloadFactory = null, array $messageMapping = [ ], LoggerInterface $logger = null)
38 38
     {
39 39
         $this->logger = $logger ?: new NullLogger();
40 40
         $this->payloadFactory = $payloadFactory ?: new PayloadFactory();
@@ -43,8 +43,8 @@  discard block
 block discarded – undo
43 43
 
44 44
     public function messagePayload($type)
45 45
     {
46
-        if (isset($this->messageTypeMap[$type])) {
47
-            return $this->payloadFactory->buildPayload($this->messageTypeMap[$type], null, null, $this->logger);
46
+        if (isset($this->messageTypeMap[ $type ])) {
47
+            return $this->payloadFactory->buildPayload($this->messageTypeMap[ $type ], null, null, $this->logger);
48 48
         }
49 49
         throw new UnsupportedPayload("No payload found for '$type'");
50 50
     }
Please login to merge, or discard this patch.
eBayEnterprise/RetailOrderManagement/Payload/Order/CreditCardPayment.php 3 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,6 @@
 block discarded – undo
24 24
 use eBayEnterprise\RetailOrderManagement\Payload\Payment\TAmount;
25 25
 use eBayEnterprise\RetailOrderManagement\Payload\TPayload;
26 26
 use Psr\Log\LoggerInterface;
27
-use Psr\Log\NullLogger;
28 27
 
29 28
 class CreditCardPayment implements ICreditCardPayment
30 29
 {
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\Order;
17 17
 
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -511,8 +511,8 @@
 block discarded – undo
511 511
     {
512 512
         $isMockPayment = $this->getIsMockPayment();
513 513
         return !is_null($isMockPayment)
514
-            ? ['isMockPayment' => $this->convertBooleanToString($isMockPayment)]
515
-            : [];
514
+            ? [ 'isMockPayment' => $this->convertBooleanToString($isMockPayment) ]
515
+            : [ ];
516 516
     }
517 517
 
518 518
     protected function getRootNodeName()
Please login to merge, or discard this patch.
src/eBayEnterprise/RetailOrderManagement/Payload/Order/CustomAttribute.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,6 @@
 block discarded – undo
21 21
 use eBayEnterprise\RetailOrderManagement\Payload\IValidatorIterator;
22 22
 use eBayEnterprise\RetailOrderManagement\Payload\TPayload;
23 23
 use Psr\Log\LoggerInterface;
24
-use Psr\Log\NullLogger;
25 24
 
26 25
 class CustomAttribute implements ICustomAttribute
27 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-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\Order;
17 17
 
Please login to merge, or discard this patch.
RetailOrderManagement/Payload/Order/CustomAttributeIterable.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,6 @@
 block discarded – undo
22 22
 use eBayEnterprise\RetailOrderManagement\Payload\PayloadFactory;
23 23
 use eBayEnterprise\RetailOrderManagement\Payload\TIterablePayload;
24 24
 use Psr\Log\LoggerInterface;
25
-use Psr\Log\NullLogger;
26 25
 use SPLObjectStorage;
27 26
 
28 27
 class CustomAttributeIterable extends SPLObjectStorage implements ICustomAttributeIterable
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\Order;
17 17
 
Please login to merge, or discard this patch.