Skip to content

Commit

Permalink
fix: Remove unnecessary code boostrapping in process
Browse files Browse the repository at this point in the history
  • Loading branch information
theofidry committed Dec 11, 2023
1 parent 6989f3f commit 102666d
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/Parallelization/ProcessFileTask.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@
use KevinGH\Box\Compactor\Compactors;
use KevinGH\Box\MapFile;
use function array_map;
use function KevinGH\Box\register_aliases;
use function KevinGH\Box\register_error_handler;

/**
* @private
Expand All @@ -45,9 +43,6 @@ public function run(Channel $channel, Cancellation $cancellation): TaskResult
{
chdir($this->cwd);

register_aliases();
register_error_handler();

$mapFile = $this->mapFile;
$compactors = $this->compactors;

Expand Down

0 comments on commit 102666d

Please sign in to comment.