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
21:01 queued 11:15
created
src/app/code/community/EbayEnterprise/Address/Helper/Data.php 2 patches
Doc Comments   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -98,7 +98,9 @@
 block discarded – undo
98 98
      *
99 99
      * @param string
100 100
      * @param string
101
-     * @return string
101
+     * @param string $regionCode
102
+     * @param string $countryCode
103
+     * @return integer
102 104
      */
103 105
     public function getRegionIdByCode($regionCode, $countryCode)
104 106
     {
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/Address/Model/Validation/Request.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -63,9 +63,9 @@
 block discarded – undo
63 63
      * Return the value at field in array if it exists. Otherwise, use the
64 64
      * default value.
65 65
      * @param array      $arr
66
-     * @param string|int $field Valid array key
66
+     * @param string $field Valid array key
67 67
      * @param mixed      $default
68
-     * @return mixed
68
+     * @return EbayEnterprise_Address_Helper_Data
69 69
      */
70 70
     protected function _nullCoalesce(array $arr, $field, $default)
71 71
     {
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/Address/Model/Validator.php 2 patches
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -72,7 +72,7 @@  discard block
 block discarded – undo
72 72
      * Return the value at field in array if it exists. Otherwise, use the
73 73
      * default value.
74 74
      * @param array      $arr
75
-     * @param string|int $field Valid array key
75
+     * @param string $field Valid array key
76 76
      * @param mixed      $default
77 77
      * @return mixed
78 78
      */
@@ -321,7 +321,7 @@  discard block
 block discarded – undo
321 321
     /**
322 322
      * Perform the web request for address validation and return the response
323 323
      * @param Mage_Customer_Model_Address_Abstract $address
324
-     * @return EbayEnterprise_Address_Model_Validation_Response|null
324
+     * @return EbayEnterprise_Address_Model_Validatoin_Response|null
325 325
      */
326 326
     protected function _makeRequestForAddress(Mage_Customer_Model_Address_Abstract $address)
327 327
     {
@@ -367,7 +367,7 @@  discard block
 block discarded – undo
367 367
      *
368 368
      * @param Mage_Customer_Model_Address_Abstract
369 369
      * @param IBidirectionalApi
370
-     * @return \eBayEnterprise\RetailOrderManagement\Payload\Address\IValidationRequest
370
+     * @return IBidirectionalApi
371 371
      */
372 372
     protected function _prepareApiForAddressRequest(Mage_Customer_Model_Address_Abstract $address, IBidirectionalApi $api)
373 373
     {
@@ -409,7 +409,7 @@  discard block
 block discarded – undo
409 409
      *
410 410
      * @param Mage_Customer_Model_Address_Abstract $address
411 411
      * @param string $errorMessage
412
-     * @return EbayEnterprise_Address_Model_Validation_Response|null
412
+     * @return EbayEnterprise_Address_Model_Validatoin_Response|null
413 413
      */
414 414
     protected function _processRequest(Mage_Customer_Model_Address_Abstract $address, &$errorMessage)
415 415
     {
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/Address/Test/Model/ObserverTest.php 3 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -22,6 +22,9 @@
 block discarded – undo
22 22
         $this->_setupBaseUrl();
23 23
     }
24 24
 
25
+    /**
26
+     * @param integer $enabled
27
+     */
25 28
     protected function _mockConfig($enabled)
26 29
     {
27 30
         $config = $this->getModelMockBuilder('eb2ccore/config_registry')
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 EcomDev_PHPUnit_Test_Case_Util as TestUtil;
17
-
18 16
 class EbayEnterprise_Address_Test_Model_ObserverTest extends EbayEnterprise_Eb2cCore_Test_Base
19 17
 {
20 18
     public function setUp()
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.
code/community/EbayEnterprise/Address/Test/Model/Suggestion/GroupTest.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -17,8 +17,8 @@
 block discarded – undo
17 17
 {
18 18
     /**
19 19
      * Create a new address object using the provided array of data.
20
-     * @param array $addressData
21
-     * @return Mage_Customer_Model_Address
20
+     * @param string|null $type
21
+     * @return EcomDev_PHPUnit_Mock_Proxy
22 22
      */
23 23
     protected function _createAddress($type)
24 24
     {
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/Address/Test/Model/ValidatorTest.php 3 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -193,7 +193,7 @@
 block discarded – undo
193 193
 
194 194
     /**
195 195
      * Setup the session data with the supplied addresses.
196
-     * @param Mage_Customer_Model_Address_Abstract $original
196
+     * @param Mage_Customer_Model_Address|null $original
197 197
      * @param Mage_Customer_Model_Address_Abstract[] $suggestions
198 198
      * @param bool $hasFreshSuggestions
199 199
      */
Please login to merge, or discard this patch.
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -917,8 +917,8 @@  discard block
 block discarded – undo
917 917
             ->method('getAddressType')
918 918
             ->will($this->returnValue($addressType));
919 919
         $addressData = [
920
-            ['street',    null, '123 Main St'],
921
-            ['city',      null, 'Fooville'],
920
+            ['street', null, '123 Main St'],
921
+            ['city', null, 'Fooville'],
922 922
             ['region_id', null, 51],
923 923
         ];
924 924
         $address->expects($this->any())
@@ -967,8 +967,8 @@  discard block
 block discarded – undo
967 967
         // any one of these being different from the validatedAddressData below
968 968
         // will cause the comparison check fail
969 969
         $addressData = [
970
-            ['street',    null, 'Borg'],
971
-            ['city',      null, 'Barton'],
970
+            ['street', null, 'Borg'],
971
+            ['city', null, 'Barton'],
972 972
             ['region_id', null, 41],
973 973
         ];
974 974
         $address->expects($this->any())
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/Amqp/Block/System/Config/Testamqpconnection.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
33 33
     /**
34 34
      * Type hints for injected dependencies via the self::__construct $args
35 35
      * @param  EbayEnterprise_Amqp_Helper_Data $amqpHelper
36
-     * @return mixed[]
36
+     * @return EbayEnterprise_Amqp_Helper_Data[]
37 37
      */
38 38
     protected function _checkTypes(EbayEnterprise_Amqp_Helper_Data $amqpHelper)
39 39
     {
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/Amqp/Helper/Config.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -141,7 +141,7 @@
 block discarded – undo
141 141
      * same configuration as (or is) the default store, should return 'default'
142 142
      * and 0.
143 143
      * @param  Mage_Core_Model_Store $store
144
-     * @return mixed[] Tuple of scope "type" and scope id
144
+     * @return string[] Tuple of scope "type" and scope id
145 145
      */
146 146
     public function getScopeForStoreSettings(Mage_Core_Model_Store $store)
147 147
     {
Please login to merge, or discard this patch.
src/app/code/community/EbayEnterprise/Amqp/Model/Observer.php 2 patches
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
     /**
32 32
      * Type checks for self::__construct $initParams
33 33
      * @param  EbayEnterprise_Amqp_Helper_Config $configHelper
34
-     * @return mixed[]
34
+     * @return EbayEnterprise_Amqp_Helper_Config[]
35 35
      */
36 36
     protected function _checkTypes(EbayEnterprise_Amqp_Helper_Config $configHelper)
37 37
     {
@@ -41,9 +41,9 @@  discard block
 block discarded – undo
41 41
      * Return the value at field in array if it exists. Otherwise, use the
42 42
      * default value.
43 43
      * @param array      $arr
44
-     * @param string|int $field Valid array key
44
+     * @param string $field Valid array key
45 45
      * @param mixed      $default
46
-     * @return mixed
46
+     * @return EbayEnterprise_Amqp_Helper_Config
47 47
      */
48 48
     protected function _nullCoalesce(array $arr, $field, $default)
49 49
     {
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.