@@ -42,7 +42,7 @@ |
||
| 42 | 42 | * @param array |
| 43 | 43 | * @param string $field Valid array key |
| 44 | 44 | * @param mixed |
| 45 | - * @return mixed |
|
| 45 | + * @return EbayEnterprise_Eb2cCore_Model_Config_Registry |
|
| 46 | 46 | */ |
| 47 | 47 | protected function nullCoalesce(array $arr, $field, $default) |
| 48 | 48 | { |
@@ -1,17 +1,17 @@ discard block |
||
| 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_Catalog_Model_Observers |
| 17 | 17 | { |
@@ -25,12 +25,12 @@ discard block |
||
| 25 | 25 | ); |
| 26 | 26 | } |
| 27 | 27 | |
| 28 | - /** |
|
| 29 | - * Type hinting for self::__construct $initParams |
|
| 30 | - * |
|
| 31 | - * @param EbayEnterprise_Eb2cCore_Model_Config_Registry |
|
| 32 | - * @return array |
|
| 33 | - */ |
|
| 28 | + /** |
|
| 29 | + * Type hinting for self::__construct $initParams |
|
| 30 | + * |
|
| 31 | + * @param EbayEnterprise_Eb2cCore_Model_Config_Registry |
|
| 32 | + * @return array |
|
| 33 | + */ |
|
| 34 | 34 | protected function checkTypes(EbayEnterprise_Eb2cCore_Model_Config_Registry $config) |
| 35 | 35 | { |
| 36 | 36 | return func_get_args(); |
@@ -114,10 +114,7 @@ discard block |
||
| 114 | 114 | } |
| 115 | 115 | /** |
| 116 | 116 | * generate the outgoing product feed. |
| 117 | - * @param array $productIds list of product id's to include in the feed. |
|
| 118 | - * @param array $feedTypeConfig configuration data for the current feed. |
|
| 119 | - * @param array $stores list of stores to use as context for getting values. |
|
| 120 | - * @return array array of full filepath where the feed files was saved. |
|
| 117 | + * @return string array of full filepath where the feed files was saved. |
|
| 121 | 118 | */ |
| 122 | 119 | public function buildFeed() |
| 123 | 120 | { |
@@ -215,7 +212,6 @@ discard block |
||
| 215 | 212 | * |
| 216 | 213 | * @param Mage_Catalog_Model_Resource_Product_Collection $products products for a specific store |
| 217 | 214 | * @param EbayEnterprise_Catalog_Model_Pim_Product_Collection $pimProducts collection of PIM Product instances |
| 218 | - * @param string $key |
|
| 219 | 215 | * @param array $productIds |
| 220 | 216 | * @return EbayEnterprise_Catalog_Model_Pim_Product_Collection $pimProducts collection of PIM Product instances |
| 221 | 217 | */ |
@@ -250,7 +250,7 @@ discard block |
||
| 250 | 250 | $logMessage = 'Product "{sku}" excluded from export.'; |
| 251 | 251 | $this->_logger->warning($logMessage, $this->_context->getMetaData(__CLASS__, $logData)); |
| 252 | 252 | $this->_logger->logException($e, $this->_context->getMetaData(__CLASS__, [], $e)); |
| 253 | - $excludedProductIds[]= $product->getId(); |
|
| 253 | + $excludedProductIds[] = $product->getId(); |
|
| 254 | 254 | $pimProducts->deleteItem($pimProduct); |
| 255 | 255 | } |
| 256 | 256 | } |
@@ -270,9 +270,8 @@ discard block |
||
| 270 | 270 | protected function _getFeedAttributes($storeId) |
| 271 | 271 | { |
| 272 | 272 | $config = $this->_getFeedConfig(); |
| 273 | - return ((int) $storeId === (int) $this->_getDefaultStoreViewId())? |
|
| 274 | - array_keys($config[self::KEY_MAPPINGS]) : |
|
| 275 | - $this->_getTranslatableAttributes($config[self::KEY_MAPPINGS]); |
|
| 273 | + return ((int) $storeId === (int) $this->_getDefaultStoreViewId()) ? |
|
| 274 | + array_keys($config[self::KEY_MAPPINGS]) : $this->_getTranslatableAttributes($config[self::KEY_MAPPINGS]); |
|
| 276 | 275 | } |
| 277 | 276 | /** |
| 278 | 277 | * get only translatable attributes |
@@ -281,7 +280,7 @@ discard block |
||
| 281 | 280 | */ |
| 282 | 281 | protected function _getTranslatableAttributes(array $mapAttributes) |
| 283 | 282 | { |
| 284 | - return array_filter(array_map(function ($key) use ($mapAttributes) { |
|
| 283 | + return array_filter(array_map(function($key) use ($mapAttributes) { |
|
| 285 | 284 | return ($mapAttributes[$key]['translate'] === '1') ? $key : null; |
| 286 | 285 | }, array_keys($mapAttributes))); |
| 287 | 286 | } |
@@ -1,17 +1,17 @@ |
||
| 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 | { |
@@ -47,7 +47,6 @@ discard block |
||
| 47 | 47 | * @param string $attribute |
| 48 | 48 | * @param Mage_Catalog_Model_Product $product |
| 49 | 49 | * @param EbayEnterprise_Dom_Document $doc |
| 50 | - * @param array $key |
|
| 51 | 50 | * @return EbayEnterprise_Catalog_Model_Pim_Attribute |
| 52 | 51 | */ |
| 53 | 52 | public function getPimAttribute( |
@@ -69,7 +68,6 @@ discard block |
||
| 69 | 68 | /** |
| 70 | 69 | * Get the attribute mapping. The result will be an empty array. |
| 71 | 70 | * @param string $attribute |
| 72 | - * @param string $key |
|
| 73 | 71 | * @return array |
| 74 | 72 | */ |
| 75 | 73 | protected function _getAttributeMapping($attribute, $config) |
@@ -81,7 +79,7 @@ discard block |
||
| 81 | 79 | * Lookup the callable described in the mapping xml to export this attribute for this product. |
| 82 | 80 | * |
| 83 | 81 | * @param array $callbackMapping |
| 84 | - * @param $attribute |
|
| 82 | + * @param string $attribute |
|
| 85 | 83 | * @param Mage_Catalog_Model_Product $product |
| 86 | 84 | * @param EbayEnterprise_Dom_Document $doc |
| 87 | 85 | * @return array|null |
@@ -125,8 +125,7 @@ |
||
| 125 | 125 | 'destination_xpath' => $callbackMapping['xml_dest'], |
| 126 | 126 | 'sku' => $product->getSku(), |
| 127 | 127 | 'language' => $callbackMapping['translate'] ? |
| 128 | - $product->getPimLanguageCode() : |
|
| 129 | - null, |
|
| 128 | + $product->getPimLanguageCode() : null, |
|
| 130 | 129 | 'value' => $pimAttributeValue, |
| 131 | 130 | ); |
| 132 | 131 | } |
@@ -1,17 +1,17 @@ |
||
| 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 | { |
@@ -111,7 +111,7 @@ discard block |
||
| 111 | 111 | |
| 112 | 112 | /** |
| 113 | 113 | * Get the "special_price" if there is one. |
| 114 | - * @return float|null |
|
| 114 | + * @return double |
|
| 115 | 115 | */ |
| 116 | 116 | public function getSpecialPrice() |
| 117 | 117 | { |
@@ -134,7 +134,7 @@ discard block |
||
| 134 | 134 | * format string or via a default. |
| 135 | 135 | * @see self::_formatDate |
| 136 | 136 | * @param string|null $format Date format string to use |
| 137 | - * @return string|null Formatted datetime |
|
| 137 | + * @return string Formatted datetime |
|
| 138 | 138 | */ |
| 139 | 139 | public function getSpecialFromDate($format = null) |
| 140 | 140 | { |
@@ -146,7 +146,7 @@ discard block |
||
| 146 | 146 | * format string or via a default. |
| 147 | 147 | * @see self::_formatDate |
| 148 | 148 | * @param string|null $format Date format string to use |
| 149 | - * @return string|null Formatted datetime |
|
| 149 | + * @return string Formatted datetime |
|
| 150 | 150 | */ |
| 151 | 151 | public function getSpecialToDate($format = null) |
| 152 | 152 | { |
@@ -862,8 +862,8 @@ |
||
| 862 | 862 | } |
| 863 | 863 | /** |
| 864 | 864 | * Test normalizing a product style id to match formatting for skus |
| 865 | - * @param string $style The product style id |
|
| 866 | - * @param string $catalog The product catalog id |
|
| 865 | + * @param string $styleId The product style id |
|
| 866 | + * @param string $catalogId The product catalog id |
|
| 867 | 867 | * @dataProvider dataProvider |
| 868 | 868 | */ |
| 869 | 869 | public function testNormalizeSku($styleId, $catalogId) |
@@ -243,17 +243,17 @@ |
||
| 243 | 243 | */ |
| 244 | 244 | public function testParseTranslations() |
| 245 | 245 | { |
| 246 | - $sampleInput = array ( |
|
| 247 | - array ( |
|
| 246 | + $sampleInput = array( |
|
| 247 | + array( |
|
| 248 | 248 | 'lang' => 'en-US', |
| 249 | 249 | 'description' => 'An en-US translation', |
| 250 | 250 | ), |
| 251 | - array ( |
|
| 251 | + array( |
|
| 252 | 252 | 'lang' => 'ja-JP', |
| 253 | 253 | 'description' => 'ja-JP に変換', |
| 254 | 254 | ), |
| 255 | 255 | ); |
| 256 | - $expectedOutput = array ( |
|
| 256 | + $expectedOutput = array( |
|
| 257 | 257 | 'en-US' => 'An en-US translation', |
| 258 | 258 | 'ja-JP' => 'ja-JP に変換', |
| 259 | 259 | ); |
@@ -1,17 +1,17 @@ |
||
| 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 | { |
@@ -96,7 +96,7 @@ |
||
| 96 | 96 | /** |
| 97 | 97 | * Test getting a DateTime object for a CreateDateAndTime from an import feed |
| 98 | 98 | * @param string|null $feedTime Create date and time in feed |
| 99 | - * @param string $dateTimeStamp Expected timestamp |
|
| 99 | + * @param string $dateTimeDate Expected timestamp |
|
| 100 | 100 | * @dataProvider dataProvider |
| 101 | 101 | */ |
| 102 | 102 | public function testGetDateTimeForFeedTime($feedTime, $dateTimeDate) |
@@ -1,17 +1,17 @@ |
||
| 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 | { |
@@ -952,6 +952,10 @@ discard block |
||
| 952 | 952 | )); |
| 953 | 953 | $this->assertSame($expected->saveXML(), $doc->saveXML()); |
| 954 | 954 | } |
| 955 | + |
|
| 956 | + /** |
|
| 957 | + * @param string $xml |
|
| 958 | + */ |
|
| 955 | 959 | protected function _newDocument($xml = null) |
| 956 | 960 | { |
| 957 | 961 | $doc = Mage::helper('eb2ccore')->getNewDomDocument(); |
@@ -963,8 +967,6 @@ discard block |
||
| 963 | 967 | } |
| 964 | 968 | /** |
| 965 | 969 | * verify a fragment is returned containing the product links |
| 966 | - * @param bool $allowMessage |
|
| 967 | - * @param bool $isVirtual |
|
| 968 | 970 | * @SuppressWarnings(PHPMD.UnusedLocalVariable) |
| 969 | 971 | */ |
| 970 | 972 | public function testPassProductLinks() |
@@ -86,7 +86,7 @@ discard block |
||
| 86 | 86 | // return array containing config product's id and an empty array otherwise |
| 87 | 87 | $this->configTypeResource->expects($this->any()) |
| 88 | 88 | ->method('getParentIdsByChild') |
| 89 | - ->will($this->returnCallback(function ($childId) use ($configId, $simpleId) { |
|
| 89 | + ->will($this->returnCallback(function($childId) use ($configId, $simpleId) { |
|
| 90 | 90 | return $childId === $simpleId ? array($configId) : array(); |
| 91 | 91 | })); |
| 92 | 92 | |
@@ -736,7 +736,7 @@ discard block |
||
| 736 | 736 | public function testCreateDateTime() |
| 737 | 737 | { |
| 738 | 738 | $value = '2014-03-15 12:33:48'; |
| 739 | - $result = '2014-03-15T12:33:48+00:00'; |
|
| 739 | + $result = '2014-03-15T12:33:48+00:00'; |
|
| 740 | 740 | |
| 741 | 741 | $pimHelperMock = $this->getHelperMockBuilder('ebayenterprise_catalog/pim') |
| 742 | 742 | ->disableOriginalConstructor() |
@@ -753,7 +753,7 @@ discard block |
||
| 753 | 753 | public function testCreateInteger() |
| 754 | 754 | { |
| 755 | 755 | $value = '12'; |
| 756 | - $result = 12; |
|
| 756 | + $result = 12; |
|
| 757 | 757 | |
| 758 | 758 | $pimHelperMock = $this->getHelperMockBuilder('ebayenterprise_catalog/pim') |
| 759 | 759 | ->disableOriginalConstructor() |
@@ -770,7 +770,7 @@ discard block |
||
| 770 | 770 | public function testCreateDecimal() |
| 771 | 771 | { |
| 772 | 772 | $value = '12.677'; |
| 773 | - $result = 12.677; |
|
| 773 | + $result = 12.677; |
|
| 774 | 774 | |
| 775 | 775 | $pimHelperMock = $this->getHelperMockBuilder('ebayenterprise_catalog/pim') |
| 776 | 776 | ->disableOriginalConstructor() |
@@ -787,7 +787,7 @@ discard block |
||
| 787 | 787 | public function testCreateBool() |
| 788 | 788 | { |
| 789 | 789 | $value = '1'; |
| 790 | - $result = 'true'; |
|
| 790 | + $result = 'true'; |
|
| 791 | 791 | |
| 792 | 792 | $pimHelperMock = $this->getHelperMockBuilder('ebayenterprise_catalog/pim') |
| 793 | 793 | ->disableOriginalConstructor() |
@@ -1000,7 +1000,7 @@ discard block |
||
| 1000 | 1000 | $pimHelper->expects($this->any()) |
| 1001 | 1001 | ->method('passSKU') |
| 1002 | 1002 | ->will($this->returnCallback( |
| 1003 | - function ($a, $b, $product, $doc) { |
|
| 1003 | + function($a, $b, $product, $doc) { |
|
| 1004 | 1004 | return $doc->createCDataSection($product->getSku()); |
| 1005 | 1005 | } |
| 1006 | 1006 | )); |
@@ -1,17 +1,17 @@ |
||
| 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 | { |
@@ -153,8 +153,6 @@ |
||
| 153 | 153 | /** |
| 154 | 154 | * Test determining if a product is expected to have a configuratble parent |
| 155 | 155 | * products. |
| 156 | - * @param Mage_Catalog_Model_Product $product |
|
| 157 | - * @param bool $hasParent |
|
| 158 | 156 | */ |
| 159 | 157 | public function testGetAllParentConfigurableSkus() |
| 160 | 158 | { |
@@ -518,10 +518,10 @@ |
||
| 518 | 518 | // Product links to try to make |
| 519 | 519 | $linkUpdates = array( |
| 520 | 520 | array( |
| 521 | - 'link_type' => $linkType, 'operation_type' => 'Add','link_to_unique_id' => '45-missing-link', |
|
| 521 | + 'link_type' => $linkType, 'operation_type' => 'Add', 'link_to_unique_id' => '45-missing-link', |
|
| 522 | 522 | ), |
| 523 | 523 | array( |
| 524 | - 'link_type' => $linkType, 'operation_type' => 'Add','link_to_unique_id' => '45-add-link', |
|
| 524 | + 'link_type' => $linkType, 'operation_type' => 'Add', 'link_to_unique_id' => '45-add-link', |
|
| 525 | 525 | ), |
| 526 | 526 | array( |
| 527 | 527 | 'link_type' => $linkType, 'operation_type' => 'delete', 'link_to_unique_id' => '45-link-to-remove', |
@@ -1,17 +1,17 @@ |
||
| 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 | { |
@@ -17,7 +17,7 @@ |
||
| 17 | 17 | { |
| 18 | 18 | /** |
| 19 | 19 | * Get a mock Varien_Io_File object to sub out for a real one. |
| 20 | - * @return Mock_Varien_File_Io |
|
| 20 | + * @return PHPUnit_Framework_MockObject_MockBuilder |
|
| 21 | 21 | */ |
| 22 | 22 | protected function _getMockFsTool() |
| 23 | 23 | { |
@@ -1,17 +1,17 @@ |
||
| 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 | { |