Passed
Pull Request — 0.9.x (#308)
by Shinji
02:20
created
src/Lib/PhpProcessReader/PhpMemoryReader/RegionAnalyzer/RegionAnalyzer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -159,7 +159,7 @@
 block discarded – undo
159 159
     {
160 160
         $locations = $memory_locations->memory_locations;
161 161
 
162
-        usort($locations, function (MemoryLocation $a, MemoryLocation $b) {
162
+        usort($locations, function(MemoryLocation $a, MemoryLocation $b) {
163 163
             return $a->address <=> $b->address;
164 164
         });
165 165
 
Please login to merge, or discard this patch.
PhpProcessReader/PhpMemoryReader/ReferenceContext/ScalarValueContext.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
     use ReferenceContextDefault;
19 19
 
20 20
     public function __construct(
21
-        public bool|int|float|null|array $value,
21
+        public bool | int | float | null | array $value,
22 22
     ) {
23 23
         if (is_float($value)) {
24 24
             if (\is_infinite($value)) {
Please login to merge, or discard this patch.
src/Lib/FFI/Cast.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
 class Cast
21 21
 {
22 22
     /** @param CPointer|null $cdata */
23
-    public static function castPointerToInt(?CData &$cdata): int
23
+    public static function castPointerToInt(?CData & $cdata): int
24 24
     {
25 25
         if ($cdata === null) {
26 26
             return 0;
Please login to merge, or discard this patch.
src/Lib/PhpInternals/Types/Zend/ZendObject.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -107,7 +107,7 @@
 block discarded – undo
107 107
             return;
108 108
         }
109 109
         $class_entry = $dereferencer->deref($this->ce);
110
-        [$table_offset,] = $type_reader->getOffsetAndSizeOfMember(
110
+        [$table_offset, ] = $type_reader->getOffsetAndSizeOfMember(
111 111
             ZendObject::getCTypeName(),
112 112
             'properties_table',
113 113
         );
Please login to merge, or discard this patch.
src/Lib/PhpInternals/Types/Zend/ZendMmPageMap.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
 
26 26
     public function getPageInfo(
27 27
         int $page_index
28
-    ): ZendMmPageInfoSmall|ZendMmPageInfoLarge|ZendMmPageInfoFree {
28
+    ): ZendMmPageInfoSmall | ZendMmPageInfoLarge | ZendMmPageInfoFree {
29 29
         $info = $this->cdata[$page_index];
30 30
         if ($info === 0) {
31 31
             return new ZendMmPageInfoFree();
Please login to merge, or discard this patch.