@@ -58,9 +58,9 @@ discard block |
||
58 | 58 | { |
59 | 59 | // optimize autoloader with custom path |
60 | 60 | $this->taskComposerInstall() |
61 | - ->preferDist() |
|
62 | - ->optimizeAutoloader() |
|
63 | - ->run(); |
|
61 | + ->preferDist() |
|
62 | + ->optimizeAutoloader() |
|
63 | + ->run(); |
|
64 | 64 | } |
65 | 65 | |
66 | 66 | /** |
@@ -72,9 +72,9 @@ discard block |
||
72 | 72 | { |
73 | 73 | // optimize autoloader with custom path |
74 | 74 | $this->taskComposerUpdate() |
75 | - ->preferDist() |
|
76 | - ->optimizeAutoloader() |
|
77 | - ->run(); |
|
75 | + ->preferDist() |
|
76 | + ->optimizeAutoloader() |
|
77 | + ->run(); |
|
78 | 78 | } |
79 | 79 | |
80 | 80 | /** |
@@ -95,10 +95,10 @@ discard block |
||
95 | 95 | public function prepare() |
96 | 96 | { |
97 | 97 | $this->taskFileSystemStack() |
98 | - ->mkdir($this->properties['dist.dir']) |
|
99 | - ->mkdir($this->properties['target.dir']) |
|
100 | - ->mkdir(sprintf('%s/reports', $this->properties['target.dir'])) |
|
101 | - ->run(); |
|
98 | + ->mkdir($this->properties['dist.dir']) |
|
99 | + ->mkdir($this->properties['target.dir']) |
|
100 | + ->mkdir(sprintf('%s/reports', $this->properties['target.dir'])) |
|
101 | + ->run(); |
|
102 | 102 | } |
103 | 103 | |
104 | 104 | /** |
@@ -168,8 +168,8 @@ discard block |
||
168 | 168 | |
169 | 169 | // run PHPUnit |
170 | 170 | $this->taskPHPUnit(sprintf('%s/bin/phpunit', $this->properties['vendor.dir'])) |
171 | - ->configFile('phpunit.xml') |
|
172 | - ->run(); |
|
171 | + ->configFile('phpunit.xml') |
|
172 | + ->run(); |
|
173 | 173 | } |
174 | 174 | |
175 | 175 | /** |
@@ -345,12 +345,12 @@ |
||
345 | 345 | $productPrimaryKeyName = $this->getProductRepository()->getPrimaryKeyName(); |
346 | 346 | |
347 | 347 | // query whether or not the two given tier prices are equal |
348 | - return ($tierPrice1[$productPrimaryKeyName] == $tierPrice2[$productPrimaryKeyName]) && |
|
349 | - ($tierPrice1[MemberNames::VALUE] == $tierPrice2[MemberNames::VALUE]) && |
|
350 | - ($tierPrice1[MemberNames::PERCENTAGE_VALUE] == $tierPrice2[MemberNames::PERCENTAGE_VALUE]) && |
|
351 | - ($tierPrice1[MemberNames::QTY] == $tierPrice2[MemberNames::QTY]) && |
|
352 | - ($tierPrice1[MemberNames::ALL_GROUPS] == $tierPrice2[MemberNames::ALL_GROUPS]) && |
|
348 | + return ($tierPrice1[$productPrimaryKeyName] == $tierPrice2[$productPrimaryKeyName]) && |
|
349 | + ($tierPrice1[MemberNames::VALUE] == $tierPrice2[MemberNames::VALUE]) && |
|
350 | + ($tierPrice1[MemberNames::PERCENTAGE_VALUE] == $tierPrice2[MemberNames::PERCENTAGE_VALUE]) && |
|
351 | + ($tierPrice1[MemberNames::QTY] == $tierPrice2[MemberNames::QTY]) && |
|
352 | + ($tierPrice1[MemberNames::ALL_GROUPS] == $tierPrice2[MemberNames::ALL_GROUPS]) && |
|
353 | 353 | ($tierPrice1[MemberNames::CUSTOMER_GROUP_ID] == $tierPrice2[MemberNames::CUSTOMER_GROUP_ID]) && |
354 | - ($tierPrice1[MemberNames::WEBSITE_ID] == $tierPrice2[MemberNames::WEBSITE_ID]); |
|
354 | + ($tierPrice1[MemberNames::WEBSITE_ID] == $tierPrice2[MemberNames::WEBSITE_ID]); |
|
355 | 355 | } |
356 | 356 | } |