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 (#19)
by Michael
13:08
created
src/app/code/community/EbayEnterprise/Eb2cCore/Test/Helper/ShippingTest.php 2 patches
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -121,7 +121,8 @@
 block discarded – undo
121 121
      *
122 122
      * @param string
123 123
      * @param array $methods shipping method array
124
-     * @return Mage_Shipping_Model_Carrier_Abstract
124
+     * @param string $title
125
+     * @return PHPUnit_Framework_MockObject_MockObject
125 126
      */
126 127
     protected function mockCarrier($title, $methods = null)
127 128
     {
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/Model/SessionTest.php 3 patches
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,8 @@
 block discarded – undo
33 33
      * @param  int     $qty       Qty of the item in the cart
34 34
      * @param  bool $isVirtual Is the item virtual
35 35
      * @param  int
36
-     * @return Mage_Sales_Model_Quote_Item The stub quote item
36
+     * @param integer $itemId
37
+     * @return EcomDev_PHPUnit_Mock_Proxy The stub quote item
37 38
      */
38 39
     protected function _stubQuoteItem($sku, $qty, $isVirtual, $itemId)
39 40
     {
Please login to merge, or discard this patch.
Indentation   +13 added lines, -13 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_Eb2cCore_Test_Model_SessionTest extends EbayEnterprise_Eb2cCore_Test_Base
17 17
 {
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
             ->expects($this->any())
51 51
             ->method('getIsVirtual')
52 52
             ->will($this->returnValue($isVirtual));
53
-         $item
53
+            $item
54 54
             ->expects($this->any())
55 55
             ->method('getId')
56 56
             ->will($this->returnValue($itemId));
Please login to merge, or discard this patch.
Spacing   +17 added lines, -17 removed lines patch added patch discarded remove patch
@@ -552,11 +552,11 @@  discard block
 block discarded – undo
552 552
 
553 553
         return [
554 554
             //    old     new   bill       coupon       shipping   items      amounts       final
555
-            [$old,   $new, $billDiff, $empty,      $empty,    $empty,    $empty,       $billDiff],
556
-            [$old,   $new, $billDiff, $couponDiff, $empty,    $empty,    $empty,       $billDiff + $couponDiff],
557
-            [$old,   $new, $empty,    $couponDiff, $shipDiff, $empty,    $empty,       $couponDiff + $shipDiff],
558
-            [$old,   $new, $billDiff, $couponDiff, $shipDiff, $itemDiff, $empty,       $billDiff + $couponDiff + $shipDiff + $itemDiff],
559
-            [$old,   $new, $billDiff, $couponDiff, $shipDiff, $itemDiff, $amountsDiff, $billDiff + $couponDiff + $shipDiff + $itemDiff + $amountsDiff],
555
+            [$old, $new, $billDiff, $empty, $empty, $empty, $empty, $billDiff],
556
+            [$old, $new, $billDiff, $couponDiff, $empty, $empty, $empty, $billDiff + $couponDiff],
557
+            [$old, $new, $empty, $couponDiff, $shipDiff, $empty, $empty, $couponDiff + $shipDiff],
558
+            [$old, $new, $billDiff, $couponDiff, $shipDiff, $itemDiff, $empty, $billDiff + $couponDiff + $shipDiff + $itemDiff],
559
+            [$old, $new, $billDiff, $couponDiff, $shipDiff, $itemDiff, $amountsDiff, $billDiff + $couponDiff + $shipDiff + $itemDiff + $amountsDiff],
560 560
         ];
561 561
     }
562 562
     /**
@@ -693,9 +693,9 @@  discard block
 block discarded – undo
693 693
     {
694 694
         return [
695 695
             //    currFlag newFlag
696
-            [true,    false],
697
-            [false,   true],
698
-            [false,   false],
696
+            [true, false],
697
+            [false, true],
698
+            [false, false],
699 699
         ];
700 700
     }
701 701
     /**
@@ -856,14 +856,14 @@  discard block
 block discarded – undo
856 856
 
857 857
         return [
858 858
             // quoteData diff        has virtual hasManaged tax    deets
859
-            [$quoteData, $coupon,    false,      true,      true,   false],
860
-            [$quoteData, $billing,   false,      true,      false,  false],
861
-            [$quoteData, $billing,   true,       true,      true,   false],
862
-            [$quoteData, $shipping,  false,      true,      true,    true],
863
-            [$quoteData, $shipping,  false,      false,     true,   false],
864
-            [$quoteData, $managed,   false,      true,      true,    true],
865
-            [$quoteData, $noManaged, true,       false,     true,   false],
866
-            [$quoteData, $amount,    false,      false,     true,   false],
859
+            [$quoteData, $coupon, false, true, true, false],
860
+            [$quoteData, $billing, false, true, false, false],
861
+            [$quoteData, $billing, true, true, true, false],
862
+            [$quoteData, $shipping, false, true, true, true],
863
+            [$quoteData, $shipping, false, false, true, false],
864
+            [$quoteData, $managed, false, true, true, true],
865
+            [$quoteData, $noManaged, true, false, true, false],
866
+            [$quoteData, $amount, false, false, true, false],
867 867
         ];
868 868
     }
869 869
     /**
@@ -967,7 +967,7 @@  discard block
 block discarded – undo
967 967
                 // the same. skus should match data extracted from the quote.
968 968
                 // last_updated should have been updated to the current time - best
969 969
                 // test I can think of for that is just making sure the new time is more recent that the old one
970
-                function ($quoteData) use ($oldData, $skuDataExtract) {
970
+                function($quoteData) use ($oldData, $skuDataExtract) {
971 971
                     return $quoteData['billing'] === $oldData['billing'] &&
972 972
                         $quoteData['coupon'] === $oldData['coupon'] &&
973 973
                         $quoteData['shipping'] === $oldData['shipping'] &&
Please login to merge, or discard this patch.
EbayEnterprise/Eb2cCustomerService/Overrides/Model/Admin/Session.php 3 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -196,7 +196,7 @@
 block discarded – undo
196 196
      * user object.
197 197
      * @param  Mage_Admin_Model_User $user
198 198
      * @param  Mage_Core_Controller_Request_Http $request
199
-     * @param  Mage_Core_Exception $authException
199
+     * @param  EbayEnterprise_Eb2cCustomerService_Exception_Authentication $authException
200 200
      * @return null
201 201
      * @codeCoverageIgnore All side-effects taken from Magento auth/login process
202 202
      */
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.
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.
src/app/code/community/EbayEnterprise/Eb2cFraud/Helper/Http.php 3 patches
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,6 +45,7 @@  discard block
 block discarded – undo
45 45
      * @param  string
46 46
      * @param  array
47 47
      * @param  mixed
48
+     * @param string $key
48 49
      * @return mixed
49 50
      */
50 51
     protected function _nullCoalesce($key, array $ar, $default)
@@ -55,7 +56,7 @@  discard block
 block discarded – undo
55 56
     /**
56 57
      * ensure correct types
57 58
      * @param Mage_Core_Model_Cookie
58
-     * @return array
59
+     * @return Mage_Core_Model_Cookie[]
59 60
      */
60 61
     protected function _checkTypes(Mage_Core_Model_Cookie $cookie)
61 62
     {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -124,7 +124,7 @@
 block discarded – undo
124 124
     public function getCookiesString()
125 125
     {
126 126
         $cookies = $this->_cookie->get();
127
-        return implode(self::COOKIES_DELIMITER, array_map(function ($key, $value) {
127
+        return implode(self::COOKIES_DELIMITER, array_map(function($key, $value) {
128 128
             return "$key=$value";
129 129
         }, array_keys($cookies), $cookies));
130 130
     }
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/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
 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/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.
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.
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,10 +13,10 @@
 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
 
22 22
 class EbayEnterprise_Inventory_Model_Allocation_Deallocator
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_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/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_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/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
 class EbayEnterprise_Tax_Test_Model_Total_Quote_Address_TaxTest extends EcomDev_PHPUnit_Test_Case
17 17
 {
Please login to merge, or discard this patch.