@@ -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); |
@@ -155,7 +155,7 @@ discard block |
||
155 | 155 | $output->writeln(' Creating range sets from buffer...'); |
156 | 156 | $bufferSize = $propertyBuilder->getRangeBufferSize(); |
157 | 157 | $progressBar->setMaxSteps($bufferSize); |
158 | - $onFetchProgress = function (int $rangeSetIndex) use ($progressBar): void { |
|
158 | + $onFetchProgress = function(int $rangeSetIndex) use ($progressBar): void { |
|
159 | 159 | $progressBar->setProgress($rangeSetIndex); |
160 | 160 | }; |
161 | 161 | $progressBar->start(); |
@@ -231,7 +231,7 @@ discard block |
||
231 | 231 | |
232 | 232 | $scripts = new SplFileObject($this->getSourceScripts($input)); |
233 | 233 | $progressBar->setMaxSteps($scripts->getSize()); |
234 | - $onParseProgress = function (int $byteCount) use ($progressBar): void { |
|
234 | + $onParseProgress = function(int $byteCount) use ($progressBar): void { |
|
235 | 235 | $progressBar->advance($byteCount); |
236 | 236 | }; |
237 | 237 | $progressBar->start(); |
@@ -242,7 +242,7 @@ discard block |
||
242 | 242 | $this->fetchRangeSets($output, $propertyBuilder, $progressBar, false); |
243 | 243 | |
244 | 244 | $progressIndicator->start('Building Scripts derivatives...'); |
245 | - $onBuildProgress = function () use ($progressIndicator) { |
|
245 | + $onBuildProgress = function() use ($progressIndicator) { |
|
246 | 246 | $progressIndicator->advance(); |
247 | 247 | }; |
248 | 248 | $propertyBuilder->buildScriptsDerivatives($onBuildProgress); |
@@ -260,7 +260,7 @@ discard block |
||
260 | 260 | $output->writeln(' Parsing PropList.txt...'); |
261 | 261 | $propList = new SplFileObject($this->getSourcePropList($input)); |
262 | 262 | $progressBar->setMaxSteps($propList->getSize()); |
263 | - $onParseProgress = function (int $byteCount) use ($progressBar): void { |
|
263 | + $onParseProgress = function(int $byteCount) use ($progressBar): void { |
|
264 | 264 | $progressBar->advance($byteCount); |
265 | 265 | }; |
266 | 266 | $progressBar->start(); |
@@ -281,7 +281,7 @@ discard block |
||
281 | 281 | $output->writeln(' Parsing DerivedCoreProperties.txt...'); |
282 | 282 | $derivedCoreProperties = new SplFileObject($this->getSourceDerivedCoreProperties($input)); |
283 | 283 | $progressBar->setMaxSteps($derivedCoreProperties->getSize()); |
284 | - $onParseProgress = function (int $byteCount) use ($progressBar): void { |
|
284 | + $onParseProgress = function(int $byteCount) use ($progressBar): void { |
|
285 | 285 | $progressBar->advance($byteCount); |
286 | 286 | }; |
287 | 287 | $progressBar->start(); |
@@ -301,7 +301,7 @@ discard block |
||
301 | 301 | |
302 | 302 | $output->writeln(' Writing target files...'); |
303 | 303 | $progressBar->setMaxSteps($propertyBuilder->getFileCount()); |
304 | - $onWriteProgress = function () use ($progressBar): void { |
|
304 | + $onWriteProgress = function() use ($progressBar): void { |
|
305 | 305 | $progressBar->advance(); |
306 | 306 | }; |
307 | 307 | $progressBar->start(); |