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/Order/CustomizationInstruction.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 CustomizationInstruction implements ICustomizationInstruction
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-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.
RetailOrderManagement/Payload/Order/CustomizationInstructionIterable.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 CustomizationInstructionIterable extends SPLObjectStorage implements ICustomizationInstructionIterable
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.
RetailOrderManagement/Payload/Order/CustomizationIterable.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 CustomizationIterable extends SPLObjectStorage implements ICustomizationIterable
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.
RetailOrderManagement/Payload/Order/Detail/AdjustmentCharge.php 2 patches
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 AdjustmentCharge implements IAdjustmentCharge
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\Order\Detail;
17 17
 
Please login to merge, or discard this patch.
src/eBayEnterprise/RetailOrderManagement/Payload/Order/Detail/Associate.php 2 patches
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 Associate implements IAssociate
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\Order\Detail;
17 17
 
Please login to merge, or discard this patch.
src/eBayEnterprise/RetailOrderManagement/Payload/Order/Detail/Charge.php 3 patches
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 Charge implements ICharge
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\Order\Detail;
17 17
 
Please login to merge, or discard this patch.
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.
eBayEnterprise/RetailOrderManagement/Payload/Order/Detail/ChargeGroup.php 3 patches
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 ChargeGroup implements IChargeGroup
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\Order\Detail;
17 17
 
Please login to merge, or discard this patch.
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.
RetailOrderManagement/Payload/Order/Detail/ChargeGroupIterable.php 2 patches
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -19,10 +19,8 @@
 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\TIterablePayload;
24 23
 use Psr\Log\LoggerInterface;
25
-use Psr\Log\NullLogger;
26 24
 use SPLObjectStorage;
27 25
 
28 26
 class ChargeGroupIterable extends SPLObjectStorage implements IChargeGroupIterable
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\Detail;
17 17
 
Please login to merge, or discard this patch.
RetailOrderManagement/Payload/Order/Detail/ChargeIterable.php 2 patches
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -19,10 +19,8 @@
 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\TIterablePayload;
24 23
 use Psr\Log\LoggerInterface;
25
-use Psr\Log\NullLogger;
26 24
 use SPLObjectStorage;
27 25
 
28 26
 class ChargeIterable extends SPLObjectStorage implements IChargeIterable
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\Detail;
17 17
 
Please login to merge, or discard this patch.