@@ -96,7 +96,7 @@ discard block |
||
96 | 96 | Loop::onReadable( |
97 | 97 | STDIN, |
98 | 98 | /** @param resource $stream */ |
99 | - function (string $watcher_id, $stream) { |
|
99 | + function(string $watcher_id, $stream) { |
|
100 | 100 | $key = fread($stream, 1); |
101 | 101 | if ($key === 'q') { |
102 | 102 | Loop::cancel($watcher_id); |
@@ -104,9 +104,9 @@ discard block |
||
104 | 104 | } |
105 | 105 | } |
106 | 106 | ); |
107 | - Loop::run(function () use ($dispatch_table, $searcher_context, $worker_pool, $trace_output) { |
|
107 | + Loop::run(function() use ($dispatch_table, $searcher_context, $worker_pool, $trace_output) { |
|
108 | 108 | $promises = []; |
109 | - $promises[] = call(function () use ($searcher_context, $dispatch_table) { |
|
109 | + $promises[] = call(function() use ($searcher_context, $dispatch_table) { |
|
110 | 110 | while (1) { |
111 | 111 | Log::debug('receiving pid List'); |
112 | 112 | $update_target_message = yield $searcher_context->receivePidList(); |
@@ -120,7 +120,7 @@ discard block |
||
120 | 120 | }); |
121 | 121 | foreach ($worker_pool->getWorkers() as $reader) { |
122 | 122 | $promises[] = call( |
123 | - function () use ($reader, $dispatch_table, $trace_output) { |
|
123 | + function() use ($reader, $dispatch_table, $trace_output) { |
|
124 | 124 | while (1) { |
125 | 125 | $result = yield $reader->receiveTraceOrDetachWorker(); |
126 | 126 | if ($result instanceof TraceMessage) { |
@@ -98,7 +98,7 @@ discard block |
||
98 | 98 | // at this point. In that case the TLS block can't be located, then the address of EG can't |
99 | 99 | // be found also. So simply retrying the whole process of finding EG here. |
100 | 100 | $eg_address = $this->retrying_loop_provider->do( |
101 | - try: fn () => $this->php_globals_finder->findExecutorGlobals( |
|
101 | + try: fn() => $this->php_globals_finder->findExecutorGlobals( |
|
102 | 102 | $process_specifier, |
103 | 103 | $target_php_settings |
104 | 104 | ), |
@@ -108,7 +108,7 @@ discard block |
||
108 | 108 | ); |
109 | 109 | |
110 | 110 | $this->loop_provider->getMainLoop( |
111 | - function () use ( |
|
111 | + function() use ( |
|
112 | 112 | $get_trace_settings, |
113 | 113 | $process_specifier, |
114 | 114 | $target_php_settings, |
@@ -117,7 +117,7 @@ discard block |
||
117 | 117 | $trace_output |
118 | 118 | ): bool { |
119 | 119 | if ($loop_settings->stop_process and $this->process_stopper->stop($process_specifier->pid)) { |
120 | - defer($_, fn () => $this->process_stopper->resume($process_specifier->pid)); |
|
120 | + defer($_, fn() => $this->process_stopper->resume($process_specifier->pid)); |
|
121 | 121 | } |
122 | 122 | $call_trace = $this->executor_globals_reader->readCallTrace( |
123 | 123 | $process_specifier->pid, |