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 ( b1489d...d608fb )
by Scott van
15:51
created
community/EbayEnterprise/Order/Model/Detail/Process/Response/Shipment.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
32 32
      * @param array $initParams Must have this key:
33 33
      *                          - 'response' => IOrderDetailResponse
34 34
      */
35
-    public function __construct(array $initParams=[])
35
+    public function __construct(array $initParams = [])
36 36
     {
37 37
         list($this->orderHelper, $this->coreConfig, $this->shipping, $this->factory, $this->itemHelper) = $this->checkTypes(
38 38
             $this->nullCoalesce($initParams, 'order_helper', Mage::helper('ebayenterprise_order')),
@@ -189,7 +189,7 @@  discard block
 block discarded – undo
189 189
         $mode = $this->getCarrierMode();
190 190
         /** @var array */
191 191
         $shipmap = is_array($this->coreConfig->shippingMethodMap)
192
-            ? array_flip($this->coreConfig->shippingMethodMap): [];
192
+            ? array_flip($this->coreConfig->shippingMethodMap) : [];
193 193
         /** @var string */
194 194
         $romKey = sprintf('%s_%s', $carrier, $mode);
195 195
 
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.
community/EbayEnterprise/Order/Model/Search/Process/Response/Collection.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
      */
21 21
     public function sort()
22 22
     {
23
-        usort($this->_items, [$this,'_sortOrdersMostRecentFirst']);
23
+        usort($this->_items, [$this, '_sortOrdersMostRecentFirst']);
24 24
         return $this;
25 25
     }
26 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
 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/Model/Tracking.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@
 block discarded – undo
58 58
         Mage_Shipping_Model_Config $shippingConfig,
59 59
         Mage_Sales_Model_Order $order,
60 60
         $shipmentId,
61
-        $trackingNumber=null
61
+        $trackingNumber = null
62 62
     )
63 63
     {
64 64
         return func_get_args();
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -59,8 +59,7 @@
 block discarded – undo
59 59
         Mage_Sales_Model_Order $order,
60 60
         $shipmentId,
61 61
         $trackingNumber=null
62
-    )
63
-    {
62
+    ) {
64 63
         return func_get_args();
65 64
     }
66 65
 
Please login to merge, or discard this patch.
code/community/EbayEnterprise/Order/Test/Controller/OrderControllerTest.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -649,7 +649,7 @@  discard block
 block discarded – undo
649 649
         $controller->expects($this->once())
650 650
             ->method('_getRomCancelSession')
651 651
             ->will($this->returnValue($session));
652
-        $controller->expects($isRedirectSession? $this->never() : $this->once())
652
+        $controller->expects($isRedirectSession ? $this->never() : $this->once())
653 653
             // Proving that this method will never be called when the varien magic method
654 654
             // core/session::getCancelActionRefererUrl() returns a non-empty string.
655 655
             // When the method core/session::getCancelActionRefererUrl() return null
@@ -789,7 +789,7 @@  discard block
 block discarded – undo
789 789
         $request->expects($this->once())
790 790
             ->method('isPost')
791 791
             ->will($this->returnValue($isPost));
792
-        $request->expects($isPost? $this->once() : $this->never())
792
+        $request->expects($isPost ? $this->once() : $this->never())
793 793
             // Proving that once the method Zend_Controller_Request_Abstract::isPost() return
794 794
             // false the method Zend_Controller_Request_Abstract::getPost() will never be invoked
795 795
             // since we are using logical AND operation for the condition.
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/Test/Helper/FactoryTest.php 1 patch
Indentation   +15 added lines, -15 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_Order_Test_Helper_FactoryTest extends EbayEnterprise_Eb2cCore_Test_Base
17 17
 {
@@ -272,9 +272,9 @@  discard block
 block discarded – undo
272 272
     }
273 273
 
274 274
         /**
275
-     * Test that the controller method ebayenterprise_order/factory::getCoreSessionModel()
276
-     * is invoked and it will instantiate an object of type core/session and return this object.
277
-     */
275
+         * Test that the controller method ebayenterprise_order/factory::getCoreSessionModel()
276
+         * is invoked and it will instantiate an object of type core/session and return this object.
277
+         */
278 278
     public function testGetCoreSessionModel()
279 279
     {
280 280
         /** @var Mock_Mage_Core_Model_Session */
Please login to merge, or discard this patch.
src/app/code/community/EbayEnterprise/Order/Test/Helper/Search/MapTest.php 2 patches
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@  discard block
 block discarded – undo
66 66
         return [
67 67
             [new DateTime('2015-05-14T20:32:33+00:00'), '2015-05-14T20:32:33+00:00'],
68 68
             [null, null],
69
-            [new stdClass() , null],
69
+            [new stdClass(), null],
70 70
         ];
71 71
     }
72 72
 
@@ -97,7 +97,7 @@  discard block
 block discarded – undo
97 97
         return [
98 98
             [7.65, 7.65],
99 99
             ['10.87', 10.87],
100
-            [null , 0.0],
100
+            [null, 0.0],
101 101
         ];
102 102
     }
103 103
 
@@ -126,7 +126,7 @@  discard block
 block discarded – undo
126 126
         return [
127 127
             ['true', true],
128 128
             ['false', false],
129
-            [null , false],
129
+            [null, false],
130 130
         ];
131 131
     }
132 132
 
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.
app/code/community/EbayEnterprise/Order/Test/Model/Create/OrderitemTest.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@
 block discarded – undo
64 64
                 'info_buyRequest' => [
65 65
                     'super_attribute' => [
66 66
                         92 => '15', // fake color
67
-                        3 => '2',   // fake size
67
+                        3 => '2', // fake size
68 68
                     ]
69 69
                 ]
70 70
             ])
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.
community/EbayEnterprise/Order/Test/Model/Detail/Process/ResponseTest.php 2 patches
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -62,29 +62,29 @@
 block discarded – undo
62 62
         // Set the class property ebayenterprise_order/detail_process_response::$_response to a known state
63 63
         EcomDev_Utils_Reflection::setRestrictedPropertyValue($detailProcessResponse, '_response', $response);
64 64
 
65
-        $detailProcessResponse->expects($invalidResponse? $this->never() : $this->once())
65
+        $detailProcessResponse->expects($invalidResponse ? $this->never() : $this->once())
66 66
             // Proving that this method will only be invoked when there's a valid IOrderDetailResponse response.
67 67
             ->method('_populateOrder')
68 68
             ->will($this->returnSelf());
69
-        $detailProcessResponse->expects($invalidResponse? $this->never() : $this->once())
69
+        $detailProcessResponse->expects($invalidResponse ? $this->never() : $this->once())
70 70
             ->method('_populateOrderAddress')
71 71
             ->will($this->returnSelf());
72
-        $detailProcessResponse->expects($invalidResponse? $this->never() : $this->once())
72
+        $detailProcessResponse->expects($invalidResponse ? $this->never() : $this->once())
73 73
             ->method('_determineBillingAddress')
74 74
             ->will($this->returnSelf());
75
-        $detailProcessResponse->expects($invalidResponse? $this->never() : $this->once())
75
+        $detailProcessResponse->expects($invalidResponse ? $this->never() : $this->once())
76 76
             ->method('_determineShippingAddress')
77 77
             ->will($this->returnSelf());
78
-        $detailProcessResponse->expects($invalidResponse? $this->never() : $this->once())
78
+        $detailProcessResponse->expects($invalidResponse ? $this->never() : $this->once())
79 79
             ->method('_populateOrderItem')
80 80
             ->will($this->returnSelf());
81
-        $detailProcessResponse->expects($invalidResponse? $this->never() : $this->once())
81
+        $detailProcessResponse->expects($invalidResponse ? $this->never() : $this->once())
82 82
             ->method('_populateOrderPayment')
83 83
             ->will($this->returnSelf());
84
-        $detailProcessResponse->expects($invalidResponse? $this->never() : $this->once())
84
+        $detailProcessResponse->expects($invalidResponse ? $this->never() : $this->once())
85 85
             ->method('_populateOrderShipment')
86 86
             ->will($this->returnSelf());
87
-        $detailProcessResponse->expects($invalidResponse? $this->never() : $this->once())
87
+        $detailProcessResponse->expects($invalidResponse ? $this->never() : $this->once())
88 88
             ->method('_populateOrderShipGroup')
89 89
             ->will($this->returnSelf());
90 90
         $this->assertSame($detailProcessResponse, $detailProcessResponse->process());
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/ProductExport/Helper/Giftcard.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@
 block discarded – undo
48 48
      */
49 49
     protected function _getMaxGiftCardAmount(Mage_Catalog_Model_Product $product)
50 50
     {
51
-        return array_reduce($product->getGiftcardAmounts(), function ($p, $i) {
51
+        return array_reduce($product->getGiftcardAmounts(), function($p, $i) {
52 52
                 return max($p, $i['value']);
53 53
         }, 0);
54 54
     }
Please login to merge, or discard this patch.