Passed
Pull Request — master (#51)
by Shinji
32:54
created
config/di.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
         $logger->pushHandler(
68 68
             new StreamHandler(
Please login to merge, or discard this patch.
src/Lib/Amphp/worker-entry.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
 use PhpProfiler\Lib\Log\StateCollector\StateCollector;
20 20
 use Psr\Log\LoggerInterface;
21 21
 
22
-return function (Channel $channel) use ($argv): \Generator {
22
+return function(Channel $channel) use ($argv): \Generator {
23 23
     /**
24 24
      * @var class-string<WorkerEntryPointInterface> $entry_class
25 25
      * @var class-string<MessageProtocolInterface> $protocol_class
Please login to merge, or discard this patch.