Passed
Pull Request — master (#1)
by kazusuke
01:23
created
src/Lib/Elf/Tls/LibThreadDbTlsFinder.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -65,9 +65,9 @@
 block discarded – undo
65 65
     {
66 66
         $thread_pointer = $this->thread_pointer_retriever->getThreadPointer($pid);
67 67
 
68
-        [,,$thread_db_pthread_dtvp_offset] = $this->getLibThreadDbDescriptor('_thread_db_pthread_dtvp');
68
+        [,, $thread_db_pthread_dtvp_offset] = $this->getLibThreadDbDescriptor('_thread_db_pthread_dtvp');
69 69
         [$thread_db_dtv_dtv_size,,] = $this->getLibThreadDbDescriptor('_thread_db_dtv_dtv');
70
-        [,,$thread_db_dtv_t_pointer_val_offset] = $this->getLibThreadDbDescriptor('_thread_db_dtv_t_pointer_val');
70
+        [,, $thread_db_dtv_t_pointer_val_offset] = $this->getLibThreadDbDescriptor('_thread_db_dtv_t_pointer_val');
71 71
 //        [,,] = $this->getLibThreadDbDescriptor($pid, '_thread_db_link_map_l_tls_modid');
72 72
 
73 73
         $dtv_pointer_address = $thread_pointer + $thread_db_pthread_dtvp_offset;
Please login to merge, or discard this patch.
src/Lib/Elf/SymbolResolver/Elf64DynamicSymbolResolver.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -81,7 +81,7 @@
 block discarded – undo
81 81
      */
82 82
     public function resolve(string $symbol_name): Elf64SymbolTableEntry
83 83
     {
84
-        $index = $this->hash_table->lookup($symbol_name, function (string $name, int $index) {
84
+        $index = $this->hash_table->lookup($symbol_name, function(string $name, int $index) {
85 85
             $symbol = $this->symbol_table->lookup($index);
86 86
             return $name === $this->string_table->lookup($symbol->st_name);
87 87
         });
Please login to merge, or discard this patch.
src/Command/Inspector/GetCurrentFunctionNameCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -99,7 +99,7 @@
 block discarded – undo
99 99
         $count_retry = 0;
100 100
         while ($key !== 'q' and $count_retry < 10) {
101 101
             try {
102
-                echo $eg_reader->readCurrentFunctionName($pid, $eg_address) , PHP_EOL;
102
+                echo $eg_reader->readCurrentFunctionName($pid, $eg_address), PHP_EOL;
103 103
                 $count_retry = 0;
104 104
                 time_nanosleep(0, $sleep_nano_seconds);
105 105
             } catch (MemoryReaderException $e) {
Please login to merge, or discard this patch.
src/Command/Inspector/GetTraceCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -111,7 +111,7 @@
 block discarded – undo
111 111
         $count_retry = 0;
112 112
         while ($key !== 'q' and $count_retry < 10) {
113 113
             try {
114
-                echo join(PHP_EOL, $eg_reader->readCallTrace($pid, $eg_address, $depth)) , PHP_EOL, PHP_EOL;
114
+                echo join(PHP_EOL, $eg_reader->readCallTrace($pid, $eg_address, $depth)), PHP_EOL, PHP_EOL;
115 115
                 $count_retry = 0;
116 116
                 time_nanosleep(0, $sleep_nano_seconds);
117 117
             } catch (MemoryReaderException $e) {
Please login to merge, or discard this patch.