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 (#23)
by
unknown
10:24
created
code/community/EbayEnterprise/Inventory/Model/Allocation/Item/Selector.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -88,7 +88,7 @@
 block discarded – undo
88 88
 
89 89
     protected function getAddressItemFactoryCallback(Mage_Customer_Model_Address_Abstract $address)
90 90
     {
91
-        return function (Mage_Sales_Model_Quote_Item_Abstract $item) use ($address) {
91
+        return function(Mage_Sales_Model_Quote_Item_Abstract $item) use ($address) {
92 92
             return [$address, $item];
93 93
         };
94 94
     }
Please login to merge, or discard this patch.
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -83,6 +83,7 @@
 block discarded – undo
83 83
      * @param string
84 84
      * @param array
85 85
      * @param mixed
86
+     * @param string $key
86 87
      * @return mixed
87 88
      */
88 89
     protected function _nullCoalesce(array $arr, $key, $default)
Please login to merge, or discard this patch.
code/community/EbayEnterprise/Inventory/Model/Details/Request/Builder.php 3 patches
Indentation   +13 added lines, -13 removed lines patch added patch discarded remove patch
@@ -1,24 +1,24 @@
 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
 use eBayEnterprise\RetailOrderManagement\Payload\Inventory\IInStorePickUpItem;
17 17
 use eBayEnterprise\RetailOrderManagement\Payload\Inventory\IShippingItem;
18 18
 use eBayEnterprise\RetailOrderManagement\Payload\Inventory\IInventoryDetailsRequest;
19 19
 
20 20
 class EbayEnterprise_Inventory_Model_Details_Request_Builder extends
21
- EbayEnterprise_Inventory_Model_Details_Request_Builder_Abstract
21
+    EbayEnterprise_Inventory_Model_Details_Request_Builder_Abstract
22 22
 {
23 23
     /** @var EbayEnterprise_Inventory_Helper_Details_Item */
24 24
     protected $itemHelper;
Please login to merge, or discard this patch.
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -83,6 +83,7 @@
 block discarded – undo
83 83
      * @param string
84 84
      * @param array
85 85
      * @param mixed
86
+     * @param string $key
86 87
      * @return mixed
87 88
      */
88 89
     protected function _nullCoalesce(array $arr, $key, $default)
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -13,8 +13,6 @@
 block discarded – undo
13 13
  * @license     http://opensource.org/licenses/osl-3.0.php  Open Software License (OSL 3.0)
14 14
  */
15 15
 
16
-use eBayEnterprise\RetailOrderManagement\Payload\Inventory\IInStorePickUpItem;
17
-use eBayEnterprise\RetailOrderManagement\Payload\Inventory\IShippingItem;
18 16
 use eBayEnterprise\RetailOrderManagement\Payload\Inventory\IInventoryDetailsRequest;
19 17
 
20 18
 class EbayEnterprise_Inventory_Test_Model_Details_Request_BuilderTest extends EbayEnterprise_Eb2cCore_Test_Base
Please login to merge, or discard this patch.
src/app/code/community/EbayEnterprise/Inventory/Model/Details/Service.php 3 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -132,7 +132,7 @@
 block discarded – undo
132 132
      */
133 133
     protected function getQuoteItemId(Mage_Sales_Model_Quote_Item_Abstract $item)
134 134
     {
135
-        $children = $item->getChildren() ?:  [];
135
+        $children = $item->getChildren() ?: [];
136 136
         foreach ($children as $childItem) {
137 137
             return $childItem->getId();
138 138
         }
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
 class EbayEnterprise_Tax_Test_Model_Total_Quote_Address_TaxTest extends EcomDev_PHPUnit_Test_Case
17 17
 {
Please login to merge, or discard this patch.
Doc Comments   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -73,6 +73,7 @@  discard block
 block discarded – undo
73 73
      * @param string
74 74
      * @param array
75 75
      * @param mixed
76
+     * @param string $key
76 77
      * @return mixed
77 78
      */
78 79
     protected function nullCoalesce(array $arr, $key, $default)
@@ -86,7 +87,7 @@  discard block
 block discarded – undo
86 87
      * there was an error in the sdk
87 88
      *
88 89
      * @param  Mage_Sales_Model_Quote_Item_Abstract
89
-     * @return EbayEnterprise_Inventory_Model_Details_Item|null
90
+     * @return EbayEnterprise_Inventory_Details_Item|null
90 91
      */
91 92
     public function getDetailsForItem(Mage_Sales_Model_Quote_Item_Abstract $item)
92 93
     {
@@ -145,7 +146,7 @@  discard block
 block discarded – undo
145 146
      * there was an error in the sdk
146 147
      *
147 148
      * @param  Mage_Sales_Model_Order_Item
148
-     * @return EbayEnterprise_Inventory_Model_Details_Item|null
149
+     * @return EbayEnterprise_Inventory_Details_Item|null
149 150
      */
150 151
     public function getDetailsForOrderItem(Mage_Sales_Model_Order_Item $item)
151 152
     {
Please login to merge, or discard this patch.
code/community/EbayEnterprise/Inventory/Test/Model/Details/ServiceTest.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
30 30
     public function setUp()
31 31
     {
32 32
         parent::setUp();
33
-        $this->logger= $this->getHelperMockBuilder('ebayenterprise_magelog/data')
33
+        $this->logger = $this->getHelperMockBuilder('ebayenterprise_magelog/data')
34 34
             ->disableOriginalConstructor()
35 35
             ->getMock();
36 36
         $this->logContext = $this->getHelperMockBuilder('ebayenterprise_magelog/context')
@@ -266,7 +266,7 @@  discard block
 block discarded – undo
266 266
         /** @var Mage_Sales_Model_Quote_Item $childItem */
267 267
         $childItem = Mage::getModel('sales/quote_item', ['item_id' => $childItemId, 'product' => $product]);
268 268
         /** @var Mage_Sales_Model_Quote_Item $parentItem */
269
-        $parentItem = Mage::getModel('sales/quote_item', ['item_id' => $parentItemId,'product' => $product]);
269
+        $parentItem = Mage::getModel('sales/quote_item', ['item_id' => $parentItemId, 'product' => $product]);
270 270
         $parentItem->addChild($childItem);
271 271
 
272 272
         return [
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
 class EbayEnterprise_Tax_Test_Model_Total_Quote_Address_TaxTest extends EcomDev_PHPUnit_Test_Case
17 17
 {
Please login to merge, or discard this patch.
src/app/code/community/EbayEnterprise/Inventory/Test/Model/EddTest.php 1 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-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
 class EbayEnterprise_Inventory_Test_Model_EddTest extends EbayEnterprise_Eb2cCore_Test_Base
17 17
 {
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
         $detailItem->expects($this->once())
49 49
             ->method('getDeliveryWindowFromDate')
50 50
             ->will($this->returnValue($from));
51
-         $detailItem->expects($this->once())
51
+            $detailItem->expects($this->once())
52 52
             ->method('getDeliveryWindowToDate')
53 53
             ->will($this->returnValue($to));
54 54
 
Please login to merge, or discard this patch.
community/EbayEnterprise/Inventory/Test/Model/Tax/Shipping/OriginTest.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
 
25 25
     public function setUp()
26 26
     {
27
-        $this->logger= $this->getHelperMockBuilder('ebayenterprise_magelog/data')
27
+        $this->logger = $this->getHelperMockBuilder('ebayenterprise_magelog/data')
28 28
             ->disableOriginalConstructor()
29 29
             ->getMock();
30 30
         $this->logContext = $this->getHelperMockBuilder('ebayenterprise_magelog/context')
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
 class EbayEnterprise_Tax_Test_Model_Total_Quote_Address_TaxTest extends EcomDev_PHPUnit_Test_Case
17 17
 {
Please login to merge, or discard this patch.
Multishipping/sql/ebayenterprise_multishipping_setup/install-1.6.0.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-2015 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-2015 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
 /** @var Mage_Sales_Model_Resource_Setup */
17 17
 $installer = $this;
Please login to merge, or discard this patch.
src/app/code/community/EbayEnterprise/Order/Helper/Detail/Item.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,6 +26,6 @@
 block discarded – undo
26 26
      */
27 27
     public function filterHiddenGiftItems(array $items = [])
28 28
     {
29
-        return array_filter($items, function ($item) { return !$item->getIsHiddenGift(); });
29
+        return array_filter($items, function($item) { return !$item->getIsHiddenGift(); });
30 30
     }
31 31
 }
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
 class EbayEnterprise_Tax_Test_Model_Total_Quote_Address_TaxTest extends EcomDev_PHPUnit_Test_Case
17 17
 {
Please login to merge, or discard this patch.
src/app/code/community/EbayEnterprise/Order/Helper/Factory.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -345,7 +345,7 @@
 block discarded – undo
345 345
      * @param  string | null - optional
346 346
      * @return EbayEnterprise_Order_Model_Tracking
347 347
      */
348
-    public function getNewTrackingModel(Mage_Sales_Model_Order $order, $shipmentId, $trackingNumber=null)
348
+    public function getNewTrackingModel(Mage_Sales_Model_Order $order, $shipmentId, $trackingNumber = null)
349 349
     {
350 350
         return Mage::getModel('ebayenterprise_order/tracking', [
351 351
             'order' => $order,
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
 class EbayEnterprise_Tax_Test_Model_Total_Quote_Address_TaxTest extends EcomDev_PHPUnit_Test_Case
17 17
 {
Please login to merge, or discard this patch.