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/Eb2cFraud/Model/Order/Create/Context.php 2 patches
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@  discard block
 block discarded – undo
47 47
      * @param  EbayEnterprise_Eb2cFraud_Helper_Http
48 48
      * @param  EbayEnterprise_Eb2cCore_Helper_Data
49 49
      * @param  Mage_Core_Model_Cookie
50
-     * @return array
50
+     * @return Mage_Core_Model_Cookie[]
51 51
      */
52 52
     protected function _checkTypes(
53 53
         EbayEnterprise_Eb2cFraud_Helper_Data $helper,
@@ -63,6 +63,7 @@  discard block
 block discarded – undo
63 63
      * @param  string
64 64
      * @param  array
65 65
      * @param  mixed
66
+     * @param string $key
66 67
      * @return mixed
67 68
      */
68 69
     protected function _nullCoalesce($key, array $ar, $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\IOrderContext;
17 17
 
Please login to merge, or discard this patch.
code/community/EbayEnterprise/Eb2cGiftwrap/Model/Order/Create/Gifting.php 2 patches
Doc Comments   +7 added lines, -2 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
      * enforce injected types
38 38
      * @param  EbayEnterprise_MageLog_Helper_Data
39 39
      * @param  EbayEnterprise_Eb2cGiftwrap_Helper_Data
40
-     * @return array
40
+     * @return EbayEnterprise_MageLog_Helper_Data[]
41 41
      */
42 42
     protected function _checkTypes(
43 43
         EbayEnterprise_MageLog_Helper_Data $logger,
@@ -46,6 +46,11 @@  discard block
 block discarded – undo
46 46
         return array($logger, $helper);
47 47
     }
48 48
 
49
+    /**
50
+     * @param string $key
51
+     *
52
+     * @return EbayEnterprise_MageLog_Helper_Data
53
+     */
49 54
     protected function _nullCoalesce($key, array $arr, $default = null)
50 55
     {
51 56
         return isset($arr[$key]) ? $arr[$key] : $default;
@@ -83,7 +88,7 @@  discard block
 block discarded – undo
83 88
      * get the gifting pricegroup; a new price group is created
84 89
      * and attached if one doesn't exist.
85 90
      * @param  IGifting
86
-     * @return IPriceGroup
91
+     * @return Payload\Order\IPriceGroup
87 92
      */
88 93
     protected function _getPriceGroup(IGifting $giftingPayload)
89 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-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
 use eBayEnterprise\RetailOrderManagement\Payload\Order\IGifting;
17 17
 
Please login to merge, or discard this patch.
EbayEnterprise/GiftCard/Block/Checkout/Onepage/Payment/Additional.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@
 block discarded – undo
52 52
      * Return the value at field in array if it exists. Otherwise, use the
53 53
      * default value.
54 54
      * @param  array      $arr
55
-     * @param  string|int $field Valid array key
55
+     * @param  string $field Valid array key
56 56
      * @param  mixed      $default
57 57
      * @return mixed
58 58
      */
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_Block_Checkout_Onepage_Payment_Additional extends EbayEnterprise_GiftCard_Block_Template_Abstract
17 17
 {
Please login to merge, or discard this patch.
src/app/code/community/EbayEnterprise/GiftCard/Helper/Data.php 1 patch
Doc Comments   +3 added lines, -5 removed lines patch added patch discarded remove patch
@@ -28,9 +28,7 @@  discard block
 block discarded – undo
28 28
 
29 29
     /**
30 30
      * Type checks for self::__construct $initParams
31
-     * @param  EbayEnterprise_GiftCard_Model_IContainer $checkoutSession
32
-     * @param  EbayEnterprise_MageLog_Helper_Data $logger
33
-     * @return mixed[]
31
+     * @return EbayEnterprise_GiftCard_Model_IContainer[]
34 32
      */
35 33
     protected function _checkTypes(
36 34
         EbayEnterprise_GiftCard_Model_IContainer $container
@@ -42,9 +40,9 @@  discard block
 block discarded – undo
42 40
      * Return the value at field in array if it exists. Otherwise, use the
43 41
      * default value.
44 42
      * @param  array      $arr
45
-     * @param  string|int $field Valid array key
43
+     * @param  string $field Valid array key
46 44
      * @param  mixed      $default
47
-     * @return mixed
45
+     * @return EbayEnterprise_GiftCard_Model_IContainer
48 46
      */
49 47
     protected function _nullCoalesce(array $arr, $field, $default)
50 48
     {
Please login to merge, or discard this patch.
src/app/code/community/EbayEnterprise/GiftCard/Helper/Tendertype.php 3 patches
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -56,6 +56,9 @@  discard block
 block discarded – undo
56 56
         return func_get_args();
57 57
     }
58 58
 
59
+    /**
60
+     * @param string $key
61
+     */
59 62
     protected function nullCoalesce(array $arr, $key, $default)
60 63
     {
61 64
         return isset($arr[$key]) ? $arr[$key] : $default;
@@ -66,6 +69,8 @@  discard block
 block discarded – undo
66 69
      * @param string
67 70
      * @param string
68 71
      * @param bool
72
+     * @param string $cardNumber
73
+     * @param null|string $currencyCode
69 74
      * @return string
70 75
      * @throws EbayEnterprise_GiftCard_Exception_InvalidCardNumber_Exception If card number cannot be retrieved.
71 76
      */
Please login to merge, or discard this 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
 /**
8 8
  * performs gift card tender type lookups using the Retail Order Management
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -69,7 +69,7 @@
 block discarded – undo
69 69
      * @return string
70 70
      * @throws EbayEnterprise_GiftCard_Exception_InvalidCardNumber_Exception If card number cannot be retrieved.
71 71
      */
72
-    public function lookupTenderType($cardNumber, $currencyCode, $panIsToken=false)
72
+    public function lookupTenderType($cardNumber, $currencyCode, $panIsToken = false)
73 73
     {
74 74
         try {
75 75
             $api = $this->getTenderTypeLookupApi();
Please login to merge, or discard this patch.
src/app/code/community/EbayEnterprise/GiftCard/Model/Adminhtml/Observer.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -119,7 +119,7 @@
 block discarded – undo
119 119
     }
120 120
     /**
121 121
      * Get post data from the request. If not set, return the default value.
122
-     * @param string|int $field
122
+     * @param string $field
123 123
      * @param string $default
124 124
      * @return string
125 125
      */
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_Adminhtml_Observer
17 17
 {
Please login to merge, or discard this patch.
src/app/code/community/EbayEnterprise/GiftCard/Model/Container.php 2 patches
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -58,9 +58,9 @@
 block discarded – undo
58 58
      * Return the value at field in array if it exists. Otherwise, use the
59 59
      * default value.
60 60
      * @param  array $arr
61
-     * @param  string|int $field Valid array key
62
-     * @param  mixed $default
63
-     * @return mixed
61
+     * @param  string $field Valid array key
62
+     * @param  SplObjectStorage|null $default
63
+     * @return SplObjectStorage|null
64 64
      */
65 65
     protected function nullCoalesce(array $arr, $field, $default)
66 66
     {
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_Container implements EbayEnterprise_GiftCard_Model_IContainer
17 17
 {
Please login to merge, or discard this patch.
src/app/code/community/EbayEnterprise/GiftCard/Model/Giftcard.php 3 patches
Doc Comments   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -129,7 +129,7 @@  discard block
 block discarded – undo
129 129
      * Return the value at field in array if it exists. Otherwise, use the
130 130
      * default value.
131 131
      * @param  array      $arr
132
-     * @param  string|int $field Valid array key
132
+     * @param  string $field Valid array key
133 133
      * @param  mixed      $default
134 134
      * @return mixed
135 135
      */
@@ -370,7 +370,6 @@  discard block
 block discarded – undo
370 370
      * Log the different requests consistently.
371 371
      *
372 372
      * @param string $type 'balance', 'redeem', 'void'
373
-     * @param string $body the serialized xml body
374 373
      * @param string $direction 'request' or 'response'
375 374
      */
376 375
     protected function logApiCall($type, $direction)
@@ -665,6 +664,8 @@  discard block
 block discarded – undo
665 664
      * @param IBidirectionalApi
666 665
      * @param bool
667 666
      * @param string
667
+     * @param boolean $isRequest
668
+     * @param string $logMessage
668 669
      */
669 670
     protected function logStoredValuePayload(IBidirectionalApi $api, $isRequest, $logMessage)
670 671
     {
Please login to merge, or discard this patch.
Unused Use Statements   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -13,14 +13,14 @@
 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;
16
+use Psr\Log\LoggerInterface;
17
+use Psr\Log\NullLogger;
17 18
 use eBayEnterprise\RetailOrderManagement\Api\Exception\NetworkError;
18 19
 use eBayEnterprise\RetailOrderManagement\Api\Exception\UnsupportedHttpAction;
19 20
 use eBayEnterprise\RetailOrderManagement\Api\Exception\UnsupportedOperation;
21
+use eBayEnterprise\RetailOrderManagement\Api\IBidirectionalApi;
20 22
 use eBayEnterprise\RetailOrderManagement\Payload;
21 23
 use eBayEnterprise\RetailOrderManagement\Payload\Exception\InvalidPayload;
22
-use Psr\Log\LoggerInterface;
23
-use Psr\Log\NullLogger;
24 24
 
25 25
 /**
26 26
  * Model representing a gift card that has been applied to an 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
 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/Mask.php 3 patches
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,8 @@
 block discarded – undo
46 46
      * @param  array
47 47
      * @param  string | int $field Valid array key
48 48
      * @param  mixed
49
-     * @return mixed
49
+     * @param string $field
50
+     * @return EbayEnterprise_Eb2cCore_Helper_Data
50 51
      */
51 52
     protected function nullCoalesce(array $arr, $field, $default)
52 53
     {
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_Mask
17 17
 {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -119,7 +119,7 @@
 block discarded – undo
119 119
      * @param  bool
120 120
      * @return self
121 121
      */
122
-    protected function doTheMasking(DOMDocument $doc, DOMXPath $xpath, array $nodes, $hasAttribute=false)
122
+    protected function doTheMasking(DOMDocument $doc, DOMXPath $xpath, array $nodes, $hasAttribute = false)
123 123
     {
124 124
         foreach ($nodes as $node => $expression) {
125 125
             /** @var DOMElement */
Please login to merge, or discard this patch.