@@ -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 | /** |
@@ -49,7 +49,7 @@ discard block |
||
| 49 | 49 | foreach ($this->getColumnNamesToConvert() as $columnName) { |
| 50 | 50 | // convert the value, if the attribute code match |
| 51 | 51 | if ($this->hasValue($columnName)) { |
| 52 | - $this->setValue($columnName, $this->getNumberConverter()->convert($this->getValue($columnName, null, function ($value) { |
|
| 52 | + $this->setValue($columnName, $this->getNumberConverter()->convert($this->getValue($columnName, null, function($value) { |
|
| 53 | 53 | return trim($value); |
| 54 | 54 | }))); |
| 55 | 55 | } |
@@ -85,7 +85,7 @@ discard block |
||
| 85 | 85 | */ |
| 86 | 86 | protected function getEavAttributesByBackendType($backendType) |
| 87 | 87 | { |
| 88 | - return array_filter($this->getSubject()->getAttributes(), function ($attribute) use ($backendType) { |
|
| 88 | + return array_filter($this->getSubject()->getAttributes(), function($attribute) use ($backendType) { |
|
| 89 | 89 | return $attribute[MemberNames::BACKEND_TYPE] === $backendType; |
| 90 | 90 | }); |
| 91 | 91 | } |