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 (#14)
by Michael
15:13 queued 05:39
created
community/EbayEnterprise/CreditCard/Test/Model/Method/CcpaymentTest.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -169,7 +169,7 @@
 block discarded – undo
169 169
      * @param  bool $isAcceptable
170 170
      * @param  bool $isAvsSuccess
171 171
      * @param  bool $isCvvSuccess
172
-     * @return Payload\Payment\ICreditCardAuthReply
172
+     * @return PHPUnit_Framework_MockObject_MockObject
173 173
      */
174 174
     protected function _buildPayloadToValidate($isSuccess = true, $isAcceptable = true, $isAvsSuccess = true, $isCvvSuccess = true)
175 175
     {
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/CreditCard/Test/Model/Order/Create/PaymentTest.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -127,7 +127,7 @@
 block discarded – undo
127 127
     /**
128 128
      * stub out the setter methods for the payload excluding those
129 129
      * specified in the array
130
-     * @param  array  $exclude
130
+     * @param  string[]  $exclude
131 131
      */
132 132
     protected function _stubPayload($exclude = [])
133 133
     {
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.
Eb2cCore/controllers/Exchange/System/Config/ValidateController.php 2 patches
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
     /**
51 51
      * Type checks for __construct's $initParams
52 52
      * @param EbayEnterprise_Eb2cCore_Helper_Validator $validatorHelper
53
-     * @return mixed[]
53
+     * @return EbayEnterprise_Eb2cCore_Helper_Validator[]
54 54
      */
55 55
     protected function _checkTypes(EbayEnterprise_Eb2cCore_Helper_Validator $validatorHelper)
56 56
     {
@@ -59,9 +59,9 @@  discard block
 block discarded – undo
59 59
     /**
60 60
      * Get the value form the array if set, else the default value.
61 61
      * @param  mixed[] $arr
62
-     * @param  string|int $field
62
+     * @param  string $field
63 63
      * @param  mixed $default
64
-     * @return mixed
64
+     * @return EbayEnterprise_Eb2cCore_Helper_Validator
65 65
      */
66 66
     protected function _nullCoalesce(array $arr, $field, $default)
67 67
     {
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/Eb2cCore/Helper/Data.php 4 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -357,7 +357,7 @@
 block discarded – undo
357 357
      * getting how long ago a file has been modified or created in minutes
358 358
      *
359 359
      * @param string $sourceFile
360
-     * @return int time ago in minutes
360
+     * @return double time ago in minutes
361 361
      */
362 362
     public function getFileTimeElapse($sourceFile)
363 363
     {
Please login to merge, or discard this patch.
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,8 +13,8 @@
 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;
17 16
 use Psr\Log\LoggerInterface;
17
+use eBayEnterprise\RetailOrderManagement\Api;
18 18
 
19 19
 /**
20 20
  * Class EbayEnterprise_Eb2cCore_Helper_Data
Please login to merge, or discard this patch.
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -210,7 +210,7 @@  discard block
 block discarded – undo
210 210
      */
211 211
     public function extractNodeVal(DOMNodeList $nodeList)
212 212
     {
213
-        return ($nodeList->length)? $nodeList->item(0)->nodeValue : null;
213
+        return ($nodeList->length) ? $nodeList->item(0)->nodeValue : null;
214 214
     }
215 215
 
216 216
     /**
@@ -222,7 +222,7 @@  discard block
 block discarded – undo
222 222
      */
223 223
     public function extractNodeAttributeVal(DOMNodeList $nodeList, $attributeName)
224 224
     {
225
-        return ($nodeList->length)? $nodeList->item(0)->getAttribute($attributeName) : null;
225
+        return ($nodeList->length) ? $nodeList->item(0)->getAttribute($attributeName) : null;
226 226
     }
227 227
 
228 228
     /**
@@ -482,7 +482,7 @@  discard block
 block discarded – undo
482 482
     {
483 483
         $cfg = Mage::helper('eb2ccore')->getConfigModel();
484 484
         $ids = explode(',', $appliedRuleIds);
485
-        $ruleId = !empty($ids)?$ids[0]: 0;
485
+        $ruleId = !empty($ids) ? $ids[0] : 0;
486 486
         return sprintf('%.12s', $cfg->storeId . '-' . $ruleId);
487 487
     }
488 488
     /**
@@ -590,7 +590,7 @@  discard block
 block discarded – undo
590 590
         if (empty($meta)) {
591 591
             return null;
592 592
         }
593
-        $parameters = isset($meta['parameters'])? $meta['parameters'] : [];
593
+        $parameters = isset($meta['parameters']) ? $meta['parameters'] : [];
594 594
         switch ($meta['type']) {
595 595
             case 'model':
596 596
                 return call_user_func_array([Mage::getModel($meta['class']), $meta['method']], $parameters);
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/Eb2cCore/Helper/Shipping.php 2 patches
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -125,6 +125,7 @@  discard block
 block discarded – undo
125 125
      * return null if $shippingMethod evaluates to false
126 126
      *
127 127
      * @param  string
128
+     * @param string $shippingMethod
128 129
      * @return string|null
129 130
      */
130 131
     public function getMethodTitle($shippingMethod)
@@ -186,6 +187,8 @@  discard block
 block discarded – undo
186 187
      *
187 188
      * @param string
188 189
      * @param string
190
+     * @param string $shippingMethod
191
+     * @param string $displayString
189 192
      */
190 193
     protected function storeShippingMethodInfo($shippingMethod, $displayString)
191 194
     {
@@ -227,6 +230,7 @@  discard block
 block discarded – undo
227 230
      *
228 231
      * @param string
229 232
      * @param string
233
+     * @param string $carrierTitle
230 234
      * @return string
231 235
      */
232 236
     protected function buildNameString($carrierTitle, $methodName)
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/Eb2cCore/Model/Config/Registry.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -102,7 +102,7 @@
 block discarded – undo
102 102
      * Get the configuration flag value represented by the given configKey
103 103
      * @param string $configKey
104 104
      * @param null|string|bool|int|Mage_Core_Model_Store $store
105
-     * @return bool
105
+     * @return string|boolean
106 106
      */
107 107
     public function getConfig($configKey, $store = null)
108 108
     {
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/Eb2cCore/Model/Observer.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,8 @@
 block discarded – undo
44 44
      * @param array
45 45
      * @param mixed
46 46
      * @param mixed
47
-     * @return mixed
47
+     * @param string $key
48
+     * @return EbayEnterprise_Eb2cCore_Helper_Data
48 49
      */
49 50
     protected function nullCoalesce(array $arr, $key, $default)
50 51
     {
Please login to merge, or discard this patch.
EbayEnterprise/Eb2cCore/Model/System/Config/Backend/Language/Code.php 2 patches
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
 
37 37
     /**
38 38
      * @param EbayEnterprise_Eb2cCore_Helper_Languages
39
-     * @return array
39
+     * @return EbayEnterprise_Eb2cCore_Helper_Languages[]
40 40
      */
41 41
     protected function _checkTypes(
42 42
         EbayEnterprise_Eb2cCore_Helper_Languages $langHelper,
@@ -71,6 +71,7 @@  discard block
 block discarded – undo
71 71
      * is not, throw an exception.
72 72
      *
73 73
      * @param string
74
+     * @param string $langCode
74 75
      * @return self
75 76
      * @throws EbayeEnterprise_Eb2cCore_Exception If value is not a valid language code.
76 77
      */
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/Eb2cCore/Test/Base.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -124,8 +124,8 @@
 block discarded – undo
124 124
 
125 125
     /**
126 126
      * @param  string $alias           model alias
127
-     * @param  array  $methodActions   mapping of method name to a value or PHPUnit_Framework_MockObject_Stub
128
-     * @return object                  mock object with specified methods mocked under the 'any' invokation constraint.
127
+     * @param  array  $methods   mapping of method name to a value or PHPUnit_Framework_MockObject_Stub
128
+     * @return EcomDev_PHPUnit_Mock_Proxy                  mock object with specified methods mocked under the 'any' invokation constraint.
129 129
      */
130 130
     protected function _buildModelMock($alias, array $methods = [])
131 131
     {
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.