@@ -34,7 +34,7 @@ discard block |
||
34 | 34 | |
35 | 35 | return [ |
36 | 36 | MemoryReaderInterface::class => autowire(MemoryReader::class), |
37 | - ZendTypeReader::class => function () { |
|
37 | + ZendTypeReader::class => function() { |
|
38 | 38 | return new ZendTypeReader(ZendTypeReader::V80); |
39 | 39 | }, |
40 | 40 | SymbolResolverCreatorInterface::class => autowire(Elf64SymbolResolverCreator::class), |
@@ -46,6 +46,6 @@ discard block |
||
46 | 46 | ->constructorParameter('di_config_file', __DIR__ . '/di.php'), |
47 | 47 | PhpReaderTraceLoopInterface::class => autowire(PhpReaderTraceLoop::class), |
48 | 48 | ProcessSearcherInterface::class => autowire(ProcessSearcher::class), |
49 | - Config::class => fn () => Config::load(__DIR__ . '/config.php'), |
|
49 | + Config::class => fn() => Config::load(__DIR__ . '/config.php'), |
|
50 | 50 | TemplatePathResolverInterface::class => autowire(TemplatePathResolver::class), |
51 | 51 | ]; |
@@ -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), |