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 ( 8c902a...b02519 )
by Michael
15:59 queued 49s
created
app/code/community/EbayEnterprise/GiftCard/Model/Order/Create/Payment.php 2 patches
Doc Comments   +6 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
     /**
32 32
      * ensure correct types
33 33
      * @param  EbayEnterprise_GiftCard_Model_IContainer $container
34
-     * @return array
34
+     * @return EbayEnterprise_GiftCard_Model_IContainer[]
35 35
      */
36 36
     protected function _enforceTypes(EbayEnterprise_GiftCard_Model_IContainer $container)
37 37
     {
@@ -72,6 +72,11 @@  discard block
 block discarded – undo
72 72
         }
73 73
     }
74 74
 
75
+    /**
76
+     * @param string $key
77
+     *
78
+     * @return EbayEnterprise_GiftCard_Model_IContainer
79
+     */
75 80
     protected function _nullCoalesce($key, array $args, $default)
76 81
     {
77 82
         return isset($args[$key]) ? $args[$key] : $default;
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
 use \eBayEnterprise\RetailOrderManagement\Payload\Order\IPaymentContainer;
17 17
 
Please login to merge, or discard this patch.
src/app/code/community/EbayEnterprise/GiftCard/Model/Session.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@
 block discarded – undo
48 48
     /**
49 49
      * Get the gift card object currently being applied or checked.
50 50
      *
51
-     * @return EbayEnterprise_GiftCard_Model_IGiftcard|null
51
+     * @return EbayEnterprise_GiftCard_Model_Giftcard|null
52 52
      */
53 53
     public function getEbayEnterpriseCurrentGiftCard($clear = false)
54 54
     {
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
 /**
17 17
  * Session model for gift card session data. Provides a namespaced session
Please login to merge, or discard this patch.
src/app/code/community/EbayEnterprise/GiftCard/Model/Tendertype/Lookup.php 3 patches
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -82,6 +82,9 @@  discard block
 block discarded – undo
82 82
         return func_get_args();
83 83
     }
84 84
 
85
+    /**
86
+     * @param string $key
87
+     */
85 88
     protected function nullCoalesce(array $arr, $key, $default)
86 89
     {
87 90
         return isset($arr[$key]) ? $arr[$key] : $default;
@@ -176,6 +179,8 @@  discard block
 block discarded – undo
176 179
      *
177 180
      * @param string
178 181
      * @param string
182
+     * @param string $responseCode
183
+     * @param string $responseMessage
179 184
      * @return EbayEnterprise_GiftCard_Exception_InvalidCardNumber_Exception
180 185
      */
181 186
     protected function createLookupFailedException($responseCode, $responseMessage)
@@ -221,6 +226,7 @@  discard block
 block discarded – undo
221 226
      *
222 227
      * @param ILookupRequest
223 228
      * @param string
229
+     * @param string $logMessage
224 230
      * @return self
225 231
      */
226 232
     protected function logRequest(ILookupRequest $request, $logMessage)
Please login to merge, or discard this patch.
Unused Use Statements   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -13,14 +13,13 @@
 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\Api\IBidirectionalApi;
17 16
 use eBayEnterprise\RetailOrderManagement\Api\Exception\NetworkError;
18 17
 use eBayEnterprise\RetailOrderManagement\Api\Exception\UnsupportedHttpAction;
19 18
 use eBayEnterprise\RetailOrderManagement\Api\Exception\UnsupportedOperation;
19
+use eBayEnterprise\RetailOrderManagement\Api\IBidirectionalApi;
20 20
 use eBayEnterprise\RetailOrderManagement\Payload\Exception\InvalidPayload;
21 21
 use eBayEnterprise\RetailOrderManagement\Payload\Payment\TenderType\ILookupReply;
22 22
 use eBayEnterprise\RetailOrderManagement\Payload\Payment\TenderType\ILookupRequest;
23
-use PSR\Log\NullLogger;
24 23
 
25 24
 /**
26 25
  * performs gift card tender type lookups using the Retail Order Management
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
 use eBayEnterprise\RetailOrderManagement\Api\IBidirectionalApi;
17 17
 use eBayEnterprise\RetailOrderManagement\Api\Exception\NetworkError;
Please login to merge, or discard this patch.
src/app/code/community/EbayEnterprise/GiftCard/Model/Total/Quote.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@  discard block
 block discarded – undo
43 43
      *
44 44
      * @param EbayEnterprise_GiftCard_Helper_Data
45 45
      * @param EbayEnterprise_GiftCard_Model_IContainer
46
-     * @return array
46
+     * @return EbayEnterprise_GiftCard_Model_IContainer[]
47 47
      */
48 48
     protected function _checkTypes(
49 49
         EbayEnterprise_GiftCard_Helper_Data $helper,
@@ -57,7 +57,7 @@  discard block
 block discarded – undo
57 57
      * @param  array  $arr
58 58
      * @param  string $field
59 59
      * @param  mixed  $default
60
-     * @return mixed
60
+     * @return EbayEnterprise_GiftCard_Model_IContainer
61 61
      */
62 62
     protected function _nullCoalesce(array $arr = array(), $field, $default)
63 63
     {
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_GiftCard_Model_Total_Quote extends Mage_Sales_Model_Quote_Address_Total_Abstract
17 17
 {
Please login to merge, or discard this patch.
app/code/community/EbayEnterprise/GiftCard/Test/Helper/TendertypeTest.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,8 +1,8 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-use eBayEnterprise\RetailOrderManagement\Api\IBidirectionalApi;
4 3
 use Psr\Log\LoggerInterface;
5 4
 use Psr\Log\NullLogger;
5
+use eBayEnterprise\RetailOrderManagement\Api\IBidirectionalApi;
6 6
 
7 7
 class EbayEnterprise_GiftCard_Test_Helper_TendertypeTest extends EbayEnterprise_Eb2cCore_Test_Base
8 8
 {
Please login to merge, or discard this patch.
code/community/EbayEnterprise/GiftCard/Test/Model/Tendertype/LookupTest.php 2 patches
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-use eBayEnterprise\RetailOrderManagement\Api\IBidirectionalApi;
4 3
 use eBayEnterprise\RetailOrderManagement\Api\Exception\NetworkError;
5 4
 use eBayEnterprise\RetailOrderManagement\Api\Exception\UnsupportedHttpAction;
6 5
 use eBayEnterprise\RetailOrderManagement\Api\Exception\UnsupportedOperation;
6
+use eBayEnterprise\RetailOrderManagement\Api\IBidirectionalApi;
7 7
 use eBayEnterprise\RetailOrderManagement\Payload\Exception\InvalidPayload;
8 8
 use eBayEnterprise\RetailOrderManagement\Payload\Payment\TenderType\ILookupReply;
9 9
 use eBayEnterprise\RetailOrderManagement\Payload\Payment\TenderType\ILookupRequest;
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -67,7 +67,7 @@
 block discarded – undo
67 67
             ->with($this->identicalTo(ILookupRequest::CLASS_STOREDVALUE))
68 68
             ->will($this->returnSelf());
69 69
 
70
-        $this->logger= $this->getHelperMockBuilder('ebayenterprise_magelog/data')
70
+        $this->logger = $this->getHelperMockBuilder('ebayenterprise_magelog/data')
71 71
             ->disableOriginalConstructor()
72 72
             ->getMock();
73 73
         $this->logContext = $this->getHelperMockBuilder('ebayenterprise_magelog/context')
Please login to merge, or discard this patch.
src/app/code/community/EbayEnterprise/Inventory/Helper/Data.php 3 patches
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -112,6 +112,7 @@  discard block
 block discarded – undo
112 112
      * Determine if the passed in street date string is in the future.
113 113
      *
114 114
      * @param  string
115
+     * @param string $streetDate
115 116
      * @return bool
116 117
      */
117 118
     protected function isStreetDateInTheFuture($streetDate)
@@ -125,6 +126,7 @@  discard block
 block discarded – undo
125 126
      * Using configuration setting to determine the to date for street date.
126 127
      *
127 128
      * @param  string
129
+     * @param string $streetDate
128 130
      * @return DateTime
129 131
      */
130 132
     protected function getStreetToDate($streetDate)
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -38,8 +38,7 @@
 block discarded – undo
38 38
     protected function checkTypes(
39 39
         EbayEnterprise_Eb2cCore_Model_Config_Registry $coreConfig,
40 40
         EbayEnterprise_Inventory_Helper_Details_Factory $detailFactory
41
-    )
42
-    {
41
+    ) {
43 42
         return func_get_args();
44 43
     }
45 44
 
Please login to merge, or discard this patch.
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -130,7 +130,7 @@
 block discarded – undo
130 130
     protected function getStreetToDate($streetDate)
131 131
     {
132 132
         $toDate = $this->getNewDateTime($streetDate);
133
-        $intervalSpec = "P{$this->coreConfig->toStreetDateRange}D";
133
+        $intervalSpec = "p{$this->coreConfig->toStreetDateRange}d";
134 134
         return $toDate->add($this->getNewDateInterval($intervalSpec));
135 135
     }
136 136
 
Please login to merge, or discard this patch.
src/app/code/community/EbayEnterprise/Inventory/Helper/Details/Item.php 3 patches
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -48,6 +48,7 @@
 block discarded – undo
48 48
      * @param  array
49 49
      * @param  string
50 50
      * @param  mixed
51
+     * @param string $key
51 52
      * @return mixed
52 53
      */
53 54
     protected function nullCoalesce(array $arr, $key, $default)
Please login to merge, or discard this patch.
Unused Use Statements   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -13,10 +13,9 @@
 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\IDetailItem;
16 17
 use eBayEnterprise\RetailOrderManagement\Payload\Inventory\IItem;
17 18
 use eBayEnterprise\RetailOrderManagement\Payload\Inventory\IOrderItem;
18
-use eBayEnterprise\RetailOrderManagement\Payload\Inventory\IDetailItem;
19
-use eBayEnterprise\RetailOrderManagement\Payload\Inventory\IAddress;
20 19
 
21 20
 class EbayEnterprise_Inventory_Helper_Details_Item
22 21
 {
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
 use eBayEnterprise\RetailOrderManagement\Payload\Inventory\IItem;
17 17
 use eBayEnterprise\RetailOrderManagement\Payload\Inventory\IOrderItem;
Please login to merge, or discard this patch.
src/app/code/community/EbayEnterprise/Inventory/Helper/Details/Response.php 2 patches
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -51,6 +51,7 @@
 block discarded – undo
51 51
      * @param string
52 52
      * @param array
53 53
      * @param mixed
54
+     * @param string $key
54 55
      * @return mixed
55 56
      */
56 57
     protected function nullCoalesce(array $arr, $key, $default)
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
 use eBayEnterprise\RetailOrderManagement\Payload\Inventory\IInventoryDetailsReply;
17 17
 use eBayEnterprise\RetailOrderManagement\Payload\Inventory\IItemIterable;
Please login to merge, or discard this patch.