@@ -127,7 +127,7 @@ discard block |
||
127 | 127 | $output->writeln(' Parsing UnicodeData.txt...'); |
128 | 128 | $unicodeData = new SplFileObject($this->getSourceUnicodeData($input)); |
129 | 129 | $progressBar->setMaxSteps($unicodeData->getSize()); |
130 | - $onParseProgress = function (int $byteCount) use ($progressBar): void { |
|
130 | + $onParseProgress = function(int $byteCount) use ($progressBar): void { |
|
131 | 131 | $progressBar->advance($byteCount); |
132 | 132 | }; |
133 | 133 | $progressBar->start(); |
@@ -138,7 +138,7 @@ discard block |
||
138 | 138 | $this->fetchRangeSets($output, $propertyBuilder, $progressBar); |
139 | 139 | |
140 | 140 | $progressIndicator->start('Building UnicodeData derivatives...'); |
141 | - $onBuildProgress = function () use ($progressIndicator) { |
|
141 | + $onBuildProgress = function() use ($progressIndicator) { |
|
142 | 142 | $progressIndicator->advance(); |
143 | 143 | }; |
144 | 144 | $propertyBuilder->buildUnicodeDataDerivatives($onBuildProgress); |
@@ -154,7 +154,7 @@ discard block |
||
154 | 154 | $output->writeln(' Creating range sets from buffer...'); |
155 | 155 | $bufferSize = $propertyBuilder->getRangeBufferSize(); |
156 | 156 | $progressBar->setMaxSteps($bufferSize); |
157 | - $onFetchProgress = function (int $rangeSetIndex) use ($progressBar): void { |
|
157 | + $onFetchProgress = function(int $rangeSetIndex) use ($progressBar): void { |
|
158 | 158 | $progressBar->setProgress($rangeSetIndex); |
159 | 159 | }; |
160 | 160 | $progressBar->start(); |
@@ -228,7 +228,7 @@ discard block |
||
228 | 228 | |
229 | 229 | $scripts = new SplFileObject($this->getSourceScripts($input)); |
230 | 230 | $progressBar->setMaxSteps($scripts->getSize()); |
231 | - $onParseProgress = function (int $byteCount) use ($progressBar): void { |
|
231 | + $onParseProgress = function(int $byteCount) use ($progressBar): void { |
|
232 | 232 | $progressBar->advance($byteCount); |
233 | 233 | }; |
234 | 234 | $progressBar->start(); |
@@ -239,7 +239,7 @@ discard block |
||
239 | 239 | $this->fetchRangeSets($output, $propertyBuilder, $progressBar); |
240 | 240 | |
241 | 241 | $progressIndicator->start('Building Scripts derivatives...'); |
242 | - $onBuildProgress = function () use ($progressIndicator) { |
|
242 | + $onBuildProgress = function() use ($progressIndicator) { |
|
243 | 243 | $progressIndicator->advance(); |
244 | 244 | }; |
245 | 245 | $propertyBuilder->buildScriptsDerivatives($onBuildProgress); |
@@ -257,7 +257,7 @@ discard block |
||
257 | 257 | $output->writeln(' Parsing PropList.txt...'); |
258 | 258 | $propList = new SplFileObject($this->getSourcePropList($input)); |
259 | 259 | $progressBar->setMaxSteps($propList->getSize()); |
260 | - $onParseProgress = function (int $byteCount) use ($progressBar): void { |
|
260 | + $onParseProgress = function(int $byteCount) use ($progressBar): void { |
|
261 | 261 | $progressBar->advance($byteCount); |
262 | 262 | }; |
263 | 263 | $progressBar->start(); |
@@ -278,7 +278,7 @@ discard block |
||
278 | 278 | $output->writeln(' Parsing DerivedCoreProperties.txt...'); |
279 | 279 | $derivedCoreProperties = new SplFileObject($this->getSourceDerivedCoreProperties($input)); |
280 | 280 | $progressBar->setMaxSteps($derivedCoreProperties->getSize()); |
281 | - $onParseProgress = function (int $byteCount) use ($progressBar): void { |
|
281 | + $onParseProgress = function(int $byteCount) use ($progressBar): void { |
|
282 | 282 | $progressBar->advance($byteCount); |
283 | 283 | }; |
284 | 284 | $progressBar->start(); |
@@ -298,7 +298,7 @@ discard block |
||
298 | 298 | |
299 | 299 | $output->writeln(' Writing target files...'); |
300 | 300 | $progressBar->setMaxSteps($propertyBuilder->getFileCount()); |
301 | - $onWriteProgress = function () use ($progressBar): void { |
|
301 | + $onWriteProgress = function() use ($progressBar): void { |
|
302 | 302 | $progressBar->advance(); |
303 | 303 | }; |
304 | 304 | $progressBar->start(); |