@@ -55,7 +55,7 @@ discard block |
||
55 | 55 | $eg_address = $this->php_globals_finder->findExecutorGlobals($target_process_settings, $target_php_settings); |
56 | 56 | |
57 | 57 | $loop = $this->reader_loop_provider->getMainLoop( |
58 | - function () use ( |
|
58 | + function() use ( |
|
59 | 59 | $get_trace_settings, |
60 | 60 | $target_process_settings, |
61 | 61 | $target_php_settings, |
@@ -63,7 +63,7 @@ discard block |
||
63 | 63 | $eg_address |
64 | 64 | ): \Generator { |
65 | 65 | if ($loop_settings->stop_process and $this->process_stopper->stop($target_process_settings->pid)) { |
66 | - defer($_, fn () => $this->process_stopper->resume($target_process_settings->pid)); |
|
66 | + defer($_, fn() => $this->process_stopper->resume($target_process_settings->pid)); |
|
67 | 67 | } |
68 | 68 | $call_trace = $this->executor_globals_reader->readCallTrace( |
69 | 69 | $target_process_settings->pid, |
@@ -82,7 +82,7 @@ |
||
82 | 82 | '::', |
83 | 83 | array_filter( |
84 | 84 | $this->readFunctionName($pid, $php_version, $current_function->typed), |
85 | - fn (string $item) => strlen($item) |
|
85 | + fn(string $item) => strlen($item) |
|
86 | 86 | ) |
87 | 87 | ); |
88 | 88 | } |
@@ -42,7 +42,7 @@ discard block |
||
42 | 42 | |
43 | 43 | return [ |
44 | 44 | MemoryReaderInterface::class => autowire(MemoryReader::class), |
45 | - ZendTypeReader::class => function () { |
|
45 | + ZendTypeReader::class => function() { |
|
46 | 46 | return new ZendTypeReader(ZendTypeReader::V80); |
47 | 47 | }, |
48 | 48 | SymbolResolverCreatorInterface::class => autowire(Elf64SymbolResolverCreator::class), |
@@ -54,15 +54,15 @@ discard block |
||
54 | 54 | ->constructorParameter('di_config_file', __DIR__ . '/di.php'), |
55 | 55 | PhpReaderTraceLoopInterface::class => autowire(PhpReaderTraceLoop::class), |
56 | 56 | ProcessSearcherInterface::class => autowire(ProcessSearcher::class), |
57 | - Config::class => fn () => Config::load(__DIR__ . '/config.php'), |
|
57 | + Config::class => fn() => Config::load(__DIR__ . '/config.php'), |
|
58 | 58 | TemplatePathResolverInterface::class => autowire(TemplatePathResolver::class), |
59 | - StateCollector::class => function (Container $container) { |
|
59 | + StateCollector::class => function(Container $container) { |
|
60 | 60 | $collectors = []; |
61 | 61 | $collectors[] = $container->make(ProcessStateCollector::class); |
62 | 62 | $collectors[] = $container->make(CallerStateCollector::class); |
63 | 63 | return new GroupedStateCollector(...$collectors); |
64 | 64 | }, |
65 | - LoggerInterface::class => function (Config $config) { |
|
65 | + LoggerInterface::class => function(Config $config) { |
|
66 | 66 | $logger = new Logger('default'); |
67 | 67 | $handler = new StreamHandler( |
68 | 68 | $config->get('log.path.default'), |