Passed
Branch 0.6.x (928e1f)
by Shinji
02:35
created
src/Lib/Elf/Tls/LibThreadDbTlsFinder.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -43,9 +43,9 @@
 block discarded – undo
43 43
     {
44 44
         $thread_pointer = $this->thread_pointer_retriever->getThreadPointer($pid);
45 45
 
46
-        [,,$thread_db_pthread_dtvp_offset] = $this->getLibThreadDbDescriptor('_thread_db_pthread_dtvp');
46
+        [,, $thread_db_pthread_dtvp_offset] = $this->getLibThreadDbDescriptor('_thread_db_pthread_dtvp');
47 47
         [$thread_db_dtv_dtv_size,,] = $this->getLibThreadDbDescriptor('_thread_db_dtv_dtv');
48
-        [,,$thread_db_dtv_t_pointer_val_offset] = $this->getLibThreadDbDescriptor('_thread_db_dtv_t_pointer_val');
48
+        [,, $thread_db_dtv_t_pointer_val_offset] = $this->getLibThreadDbDescriptor('_thread_db_dtv_t_pointer_val');
49 49
 //        [,,] = $this->getLibThreadDbDescriptor($pid, '_thread_db_link_map_l_tls_modid');
50 50
 
51 51
         $dtv_pointer_address = $thread_pointer + $thread_db_pthread_dtvp_offset;
Please login to merge, or discard this patch.
src/Lib/Elf/Process/ProcessModuleSymbolReader.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@
 block discarded – undo
60 60
         if ($address_and_size === null) {
61 61
             return null;
62 62
         }
63
-        [$address,] = $address_and_size;
63
+        [$address, ] = $address_and_size;
64 64
         return $address;
65 65
     }
66 66
 
Please login to merge, or discard this patch.
src/Lib/Process/Exec/TraceeExecutor.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -73,7 +73,7 @@
 block discarded – undo
73 73
         );
74 74
 
75 75
         $this->on_shutdown->register(
76
-            function () use ($pid) {
76
+            function() use ($pid) {
77 77
                 $this->pcntl->waitpid($pid, $status, 0);
78 78
             }
79 79
         );
Please login to merge, or discard this patch.
src/Lib/Process/Exec/Internal/Pcntl.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
         return \pcntl_wifstopped($status);
36 36
     }
37 37
 
38
-    public function wstopsig(int $status): int|false
38
+    public function wstopsig(int $status): int | false
39 39
     {
40 40
         return \pcntl_wstopsig($status);
41 41
     }
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
@@ -41,7 +41,7 @@
 block discarded – undo
41 41
      */
42 42
     public function create(string $version, int $opcode): Opcode
43 43
     {
44
-        return match ($version) {
44
+        return match($version) {
45 45
             'v70' => new OpcodeV70($opcode),
46 46
             'v71' => new OpcodeV71($opcode),
47 47
             'v72' => new OpcodeV72($opcode),
Please login to merge, or discard this patch.
src/Lib/PhpInternals/Types/C/RawString.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
 
39 39
     public function __get(string $field_name): string
40 40
     {
41
-        return match ($field_name) {
41
+        return match($field_name) {
42 42
             'value' => $this->value = substr(
43 43
                 \FFI::string($this->cdata->casted),
44 44
                 0,
Please login to merge, or discard this patch.
src/Lib/PhpInternals/Types/Zend/ZvalU1.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 __get(string $field_name): mixed
41 41
     {
42
-        return match ($field_name) {
42
+        return match($field_name) {
43 43
             'type_info' => $this->cdata->type_info,
44 44
             'type' => $this->cdata->v->type,
45 45
             'type_flags' => $this->cdata->v->type_flags,
Please login to merge, or discard this patch.
src/Lib/PhpInternals/Types/Zend/ZendArray.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -80,7 +80,7 @@
 block discarded – undo
80 80
 
81 81
     public function __get(string $field_name): mixed
82 82
     {
83
-        return match ($field_name) {
83
+        return match($field_name) {
84 84
             'flags' => $this->flags = $this->casted_cdata->casted->u->flags,
85 85
             'nTableMask' => $this->nTableMask = $this->casted_cdata->casted->nTableMask,
86 86
             'arData' => $this->arData = Pointer::fromCData(
Please login to merge, or discard this patch.
src/Lib/PhpInternals/Types/Zend/ZendExecutorGlobals.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
 
33 33
     public function __get(string $field_name): mixed
34 34
     {
35
-        return match ($field_name) {
35
+        return match($field_name) {
36 36
             'current_execute_data' => $this->casted_cdata->casted->current_execute_data !== null
37 37
                 ? Pointer::fromCData(
38 38
                     ZendExecuteData::class,
Please login to merge, or discard this patch.