Skip to content

Commit

Permalink
Merge array
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeckerson committed Sep 17, 2022
1 parent 2a397e1 commit c3f9587
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions zephir
Original file line number Diff line number Diff line change
Expand Up @@ -99,15 +99,13 @@ $consoleStdErrorHandler->setFormatter($formatter);
$consoleStdOutHandler = new StreamHandler('php://stdout', Logger::INFO, false);
$consoleStdOutHandler->setFormatter($formatter);

$handlers = [
$consoleStdErrorHandler,
$consoleStdOutHandler,
];

$disk = new HardDisk(getcwd().'/.zephir');

$parser = new Parser();
$logger = new Logger('zephir', $handlers);
$logger = new Logger('zephir', [
$consoleStdErrorHandler,
$consoleStdOutHandler,
]);
$compilerFactory = new Compiler\CompilerFileFactory($config, $disk, $logger);
$backend = (new BackendFactory($config, $rootPath.'/kernels', $rootPath.'/templates'))
->createBackend();
Expand Down

0 comments on commit c3f9587

Please sign in to comment.