@@ -15,5 +15,5 @@ |
||
15 | 15 | /** @var CallTrace $call_trace */ |
16 | 16 | ?> |
17 | 17 | <?php foreach ($call_trace->call_frames as $depth => $frame): ?> |
18 | -<?= $depth ?> <?= $frame->getFullyQualifiedFunctionName() ?> <?= $frame->file_name ?>:<?= $frame->getLineno() ?>:<?= $frame->getOpcodeName() , "\n" ?> |
|
18 | +<?= $depth ?> <?= $frame->getFullyQualifiedFunctionName() ?> <?= $frame->file_name ?>:<?= $frame->getLineno() ?>:<?= $frame->getOpcodeName(), "\n" ?> |
|
19 | 19 | <?php endforeach ?> |
@@ -39,7 +39,7 @@ |
||
39 | 39 | */ |
40 | 40 | public function create(string $version, int $opcode): Opcode |
41 | 41 | { |
42 | - return match ($version) { |
|
42 | + return match($version) { |
|
43 | 43 | 'v71' => new OpcodeV71($opcode), |
44 | 44 | 'v72' => new OpcodeV72($opcode), |
45 | 45 | 'v73' => new OpcodeV73($opcode), |
@@ -36,7 +36,7 @@ discard block |
||
36 | 36 | |
37 | 37 | return [ |
38 | 38 | MemoryReaderInterface::class => autowire(MemoryReader::class), |
39 | - ZendTypeReader::class => function () { |
|
39 | + ZendTypeReader::class => function() { |
|
40 | 40 | return new ZendTypeReader(ZendTypeReader::V80); |
41 | 41 | }, |
42 | 42 | SymbolResolverCreatorInterface::class => autowire(Elf64SymbolResolverCreator::class), |
@@ -48,9 +48,9 @@ discard block |
||
48 | 48 | ->constructorParameter('di_config_file', __DIR__ . '/di.php'), |
49 | 49 | PhpReaderTraceLoopInterface::class => autowire(PhpReaderTraceLoop::class), |
50 | 50 | ProcessSearcherInterface::class => autowire(ProcessSearcher::class), |
51 | - Config::class => fn () => Config::load(__DIR__ . '/config.php'), |
|
51 | + Config::class => fn() => Config::load(__DIR__ . '/config.php'), |
|
52 | 52 | TemplatePathResolverInterface::class => autowire(TemplatePathResolver::class), |
53 | - LoggerInterface::class => function (Config $config) { |
|
53 | + LoggerInterface::class => function(Config $config) { |
|
54 | 54 | $logger = new Logger('default'); |
55 | 55 | $logger->pushHandler( |
56 | 56 | new StreamHandler( |