Passed
Push — master ( 31e895...a7c06d )
by Shinji
02:24 queued 52s
created
config/di.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 ];
Please login to merge, or discard this patch.
resources/templates/phpspy_with_opcode.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,5 +15,5 @@
 block discarded – undo
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 ?>
Please login to merge, or discard this patch.
src/Lib/PhpInternals/Opcodes/OpcodeFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
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),
Please login to merge, or discard this patch.