Passed
Pull Request — master (#44)
by Shinji
01:40
created
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.