@@ -91,7 +91,7 @@ |
||
91 | 91 | } |
92 | 92 | |
93 | 93 | // sort the categories |
94 | - usort($toExport, function ($a, $b) { |
|
94 | + usort($toExport, function($a, $b) { |
|
95 | 95 | return strcmp($a[ColumnKeys::PATH], $b[ColumnKeys::PATH]); |
96 | 96 | }); |
97 | 97 |
@@ -58,9 +58,9 @@ discard block |
||
58 | 58 | { |
59 | 59 | // optimize autoloader with custom path |
60 | 60 | return $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 | return $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 | return $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 | return $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 | /** |
@@ -68,7 +68,7 @@ |
||
68 | 68 | $enclosure = $observer->getSubject()->getConfiguration()->getEnclosure(); |
69 | 69 | |
70 | 70 | // filter the category elements and upgrade them for expoort purposes |
71 | - array_walk($elements, function (&$element) use ($enclosure, $delimiter) { |
|
71 | + array_walk($elements, function(&$element) use ($enclosure, $delimiter) { |
|
72 | 72 | // add one quote to each quote |
73 | 73 | $element = str_replace($enclosure, str_pad($enclosure, 2, $enclosure), $element); |
74 | 74 | // if the element contains the delimiter char OR the enclosur char, surround it with additional quotes |