Skip to content

Commit

Permalink
Ran php-cs-fixer
Browse files Browse the repository at this point in the history
  • Loading branch information
sebprt committed Dec 20, 2023
1 parent bfc1796 commit 7e6bbfd
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions src/Console/Command/RunCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ private function pipelineWorker(Console\Style\SymfonyStyle $style, string $cwd,
\\ProjectServiceContainer::class => 'container.php',
]);
\$autoload->register();
\$dotenv = new \\Symfony\\Component\\Dotenv\\Dotenv();
\$dotenv->usePutenv();
Expand All @@ -91,7 +91,7 @@ private function pipelineWorker(Console\Style\SymfonyStyle $style, string $cwd,
if (file_exists(\$file = '{$cwd}/{$path}/.env')) {
\$dotenv->loadEnv(\$file);
}
\$runtime = new \\Kiboko\\Component\\Runtime\\Pipeline\\Console(
new \\Symfony\\Component\\Console\\Output\\ConsoleOutput(),
new \\Kiboko\\Component\\Pipeline\\Pipeline(
Expand All @@ -101,12 +101,12 @@ private function pipelineWorker(Console\Style\SymfonyStyle $style, string $cwd,
new \\Kiboko\\Contract\\Pipeline\\NullState(),
),
);
\$satellite = include '{$cwd}/{$path}/{$entrypoint}';
\$satellite(\$runtime);
\$runtime->run();
\$autoload->unregister();
PHP;

Expand Down Expand Up @@ -153,7 +153,7 @@ private function workflowWorker(Console\Style\SymfonyStyle $style, string $cwd,
\\ProjectServiceContainer::class => 'container.php',
]);
\$autoload->register();
\$dotenv = new \\Symfony\\Component\\Dotenv\\Dotenv();
\$dotenv->usePutenv();
Expand All @@ -170,12 +170,12 @@ private function workflowWorker(Console\Style\SymfonyStyle $style, string $cwd,
new \\Psr\\Log\\NullLogger()
),
);
\$satellite = include '{$cwd}/{$path}/{$entrypoint}';
\$satellite(\$runtime);
\$runtime->run();
\$autoload->unregister();
PHP;

Expand Down

0 comments on commit 7e6bbfd

Please sign in to comment.