@@ -59,9 +59,9 @@ discard block |
||
| 59 | 59 | { |
| 60 | 60 | // optimize autoloader with custom path |
| 61 | 61 | $this->taskComposerInstall() |
| 62 | - ->preferDist() |
|
| 63 | - ->optimizeAutoloader() |
|
| 64 | - ->run(); |
|
| 62 | + ->preferDist() |
|
| 63 | + ->optimizeAutoloader() |
|
| 64 | + ->run(); |
|
| 65 | 65 | } |
| 66 | 66 | |
| 67 | 67 | /** |
@@ -73,9 +73,9 @@ discard block |
||
| 73 | 73 | { |
| 74 | 74 | // optimize autoloader with custom path |
| 75 | 75 | $this->taskComposerUpdate() |
| 76 | - ->preferDist() |
|
| 77 | - ->optimizeAutoloader() |
|
| 78 | - ->run(); |
|
| 76 | + ->preferDist() |
|
| 77 | + ->optimizeAutoloader() |
|
| 78 | + ->run(); |
|
| 79 | 79 | } |
| 80 | 80 | |
| 81 | 81 | /** |
@@ -96,10 +96,10 @@ discard block |
||
| 96 | 96 | public function prepare() |
| 97 | 97 | { |
| 98 | 98 | $this->taskFileSystemStack() |
| 99 | - ->mkdir($this->properties['dist.dir']) |
|
| 100 | - ->mkdir($this->properties['target.dir']) |
|
| 101 | - ->mkdir(sprintf('%s/reports', $this->properties['target.dir'])) |
|
| 102 | - ->run(); |
|
| 99 | + ->mkdir($this->properties['dist.dir']) |
|
| 100 | + ->mkdir($this->properties['target.dir']) |
|
| 101 | + ->mkdir(sprintf('%s/reports', $this->properties['target.dir'])) |
|
| 102 | + ->run(); |
|
| 103 | 103 | } |
| 104 | 104 | |
| 105 | 105 | /** |
@@ -169,8 +169,8 @@ discard block |
||
| 169 | 169 | |
| 170 | 170 | // run PHPUnit |
| 171 | 171 | $this->taskPHPUnit(sprintf('%s/bin/phpunit', $this->properties['vendor.dir'])) |
| 172 | - ->configFile('phpunit.xml') |
|
| 173 | - ->run(); |
|
| 172 | + ->configFile('phpunit.xml') |
|
| 173 | + ->run(); |
|
| 174 | 174 | } |
| 175 | 175 | |
| 176 | 176 | /** |
@@ -116,7 +116,7 @@ |
||
| 116 | 116 | $attribute = $this->loadAttributeByAttributeCode($attributeCode); |
| 117 | 117 | |
| 118 | 118 | // temporary persist the pre-loaded attribute code => ID mapping |
| 119 | - $this->preLoadedAttributeIds[$attributeCode]= $attribute[MemberNames::ATTRIBUTE_ID]; |
|
| 119 | + $this->preLoadedAttributeIds[$attributeCode] = $attribute[MemberNames::ATTRIBUTE_ID]; |
|
| 120 | 120 | } |
| 121 | 121 | |
| 122 | 122 | /** |
@@ -142,7 +142,7 @@ |
||
| 142 | 142 | * |
| 143 | 143 | * @param array $attributeOptionValue The attribute option value to persist |
| 144 | 144 | * |
| 145 | - * @return void |
|
| 145 | + * @return string |
|
| 146 | 146 | */ |
| 147 | 147 | protected function persistAttributeOptionValue(array $attributeOptionValue) |
| 148 | 148 | { |
@@ -308,7 +308,7 @@ discard block |
||
| 308 | 308 | /** |
| 309 | 309 | * Return's the attribute label repository instance. |
| 310 | 310 | * |
| 311 | - * @return \TechDivision\Import\Attribute\Repositories\AttributeRepository The attribute label repository instance |
|
| 311 | + * @return AttributeLabelRepository The attribute label repository instance |
|
| 312 | 312 | */ |
| 313 | 313 | public function getAttributeLabelRepository() |
| 314 | 314 | { |
@@ -462,7 +462,7 @@ discard block |
||
| 462 | 462 | /** |
| 463 | 463 | * Return's the attribute label action instance. |
| 464 | 464 | * |
| 465 | - * @return \TechDivision\Import\Attribute\Actions\AttributeAction The attribute label action instance |
|
| 465 | + * @return AttributeLabelAction The attribute label action instance |
|
| 466 | 466 | */ |
| 467 | 467 | public function getAttributeLabelAction() |
| 468 | 468 | { |
@@ -457,7 +457,7 @@ |
||
| 457 | 457 | * |
| 458 | 458 | * @var string |
| 459 | 459 | */ |
| 460 | - const DELETE_ATTRIBUTE_OPTION_SWATCH= 'DELETE FROM eav_attribute_option_swatch WHERE swatch_id = :swatch_id'; |
|
| 460 | + const DELETE_ATTRIBUTE_OPTION_SWATCH = 'DELETE FROM eav_attribute_option_swatch WHERE swatch_id = :swatch_id'; |
|
| 461 | 461 | |
| 462 | 462 | /** |
| 463 | 463 | * The SQL statement to remove a existing EAV catalog attribute. |
@@ -54,7 +54,7 @@ |
||
| 54 | 54 | $utilityClassName = $this->getUtilityClassName(); |
| 55 | 55 | |
| 56 | 56 | // initialize the prepared statements |
| 57 | - $this->attributeOptionValueByAttributeCodeAndStoreIdAndValueStmt= $this->getConnection()->prepare($utilityClassName::ATTRIBUTE_OPTION_VALUE_BY_ATTRIBUTE_CODE_AND_STORE_ID_AND_VALUE); |
|
| 57 | + $this->attributeOptionValueByAttributeCodeAndStoreIdAndValueStmt = $this->getConnection()->prepare($utilityClassName::ATTRIBUTE_OPTION_VALUE_BY_ATTRIBUTE_CODE_AND_STORE_ID_AND_VALUE); |
|
| 58 | 58 | } |
| 59 | 59 | |
| 60 | 60 | /** |
@@ -54,7 +54,7 @@ |
||
| 54 | 54 | $utilityClassName = $this->getUtilityClassName(); |
| 55 | 55 | |
| 56 | 56 | // initialize the prepared statements |
| 57 | - $this->attributeLabelByAttributeCodeAndStoreIdStmt= $this->getConnection()->prepare($utilityClassName::ATTRIBUTE_LABEL_BY_ATTRIBUTE_CODE_AND_STORE_ID); |
|
| 57 | + $this->attributeLabelByAttributeCodeAndStoreIdStmt = $this->getConnection()->prepare($utilityClassName::ATTRIBUTE_LABEL_BY_ATTRIBUTE_CODE_AND_STORE_ID); |
|
| 58 | 58 | } |
| 59 | 59 | |
| 60 | 60 | /** |