Passed
Push — renovate/php-8.x ( bfb893...222c0a )
by
unknown
02:20
created
src/Lib/PhpInternals/Types/Zend/ZendString.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@
 block discarded – undo
43 43
 
44 44
     public function __get(string $field_name)
45 45
     {
46
-        return match ($field_name) {
46
+        return match($field_name) {
47 47
             'h' => $this->h = $this->casted_cdata->casted->h,
48 48
             'len' => $this->len = $this->casted_cdata->casted->len,
49 49
             'val' => $this->val = Pointer::fromCData(
Please login to merge, or discard this patch.
src/Lib/PhpInternals/Types/Zend/ZendModuleEntry.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 __get(string $field_name): mixed
43 43
     {
44
-        return match ($field_name) {
44
+        return match($field_name) {
45 45
             'zts' => $this->zts = (bool)$this->casted_cdata->casted->zts,
46 46
             'version' => $this->version = new Pointer(
47 47
                 RawString::class,
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/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/Command/Inspector/TopLikeCommand.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -94,7 +94,7 @@  discard block
 block discarded – undo
94 94
         Loop::onReadable(
95 95
             STDIN,
96 96
             /** @param resource $stream */
97
-            function (string $watcher_id, $stream) {
97
+            function(string $watcher_id, $stream) {
98 98
                 $key = fread($stream, 1);
99 99
                 if ($key === 'q') {
100 100
                     Loop::cancel($watcher_id);
@@ -102,9 +102,9 @@  discard block
 block discarded – undo
102 102
                 }
103 103
             }
104 104
         );
105
-        Loop::run(function () use ($dispatch_table, $searcher_context, $worker_pool, $formatter) {
105
+        Loop::run(function() use ($dispatch_table, $searcher_context, $worker_pool, $formatter) {
106 106
             $promises = [];
107
-            $promises[] = call(function () use ($searcher_context, $dispatch_table) {
107
+            $promises[] = call(function() use ($searcher_context, $dispatch_table) {
108 108
                 while (1) {
109 109
                     Log::debug('receiving pid List');
110 110
                     $update_target_message = yield $searcher_context->receivePidList();
@@ -118,7 +118,7 @@  discard block
 block discarded – undo
118 118
             });
119 119
             foreach ($worker_pool->getWorkers() as $reader) {
120 120
                 $promises[] = call(
121
-                    function () use ($reader, $dispatch_table, $formatter) {
121
+                    function() use ($reader, $dispatch_table, $formatter) {
122 122
                         while (1) {
123 123
                             $result = yield $reader->receiveTraceOrDetachWorker();
124 124
                             if ($result instanceof TraceMessage) {
Please login to merge, or discard this patch.
src/Inspector/Daemon/Reader/Worker/PhpReaderTraceLoop.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@  discard block
 block discarded – undo
55 55
 
56 56
         /** @var TargetPhpSettings<value-of<ZendTypeReader::ALL_SUPPORTED_VERSIONS>> $target_php_settings */
57 57
         $loop = $this->reader_loop_provider->getMainLoop(
58
-            function () use (
58
+            function() use (
59 59
                 $get_trace_settings,
60 60
                 $process_specifier,
61 61
                 $target_php_settings,
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
                 $eg_address
64 64
             ): Generator {
65 65
                 if ($loop_settings->stop_process and $this->process_stopper->stop($process_specifier->pid)) {
66
-                    defer($_, fn () => $this->process_stopper->resume($process_specifier->pid));
66
+                    defer($_, fn() => $this->process_stopper->resume($process_specifier->pid));
67 67
                 }
68 68
                 $call_trace = $this->executor_globals_reader->readCallTrace(
69 69
                     $process_specifier->pid,
Please login to merge, or discard this patch.
src/Inspector/Output/TopLike/TopLikeOutputter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@
 block discarded – undo
54 54
 
55 55
         $rows = [];
56 56
         $align_right = new TableCellStyle(['align' => 'right']);
57
-        $styled = fn (int|string $content, TableCellStyle $style): TableCell =>
57
+        $styled = fn(int | string $content, TableCellStyle $style): TableCell =>
58 58
             new TableCell(
59 59
                 (string)$content,
60 60
                 ['style' => $style]
Please login to merge, or discard this patch.
src/Inspector/Output/TopLike/Stat.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@
 block discarded – undo
64 64
 
65 65
     public function sort(): void
66 66
     {
67
-        \uasort($this->function_entries, function (FunctionEntry $a, FunctionEntry $b) {
67
+        \uasort($this->function_entries, function(FunctionEntry $a, FunctionEntry $b) {
68 68
             if ($b->count_exclusive === $a->count_exclusive) {
69 69
                 if ($b->count_inclusive === $a->count_inclusive) {
70 70
                     if ($b->total_count_exclusive === $a->total_count_exclusive) {
Please login to merge, or discard this patch.
src/Command/Inspector/DaemonCommand.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -96,7 +96,7 @@  discard block
 block discarded – undo
96 96
         Loop::onReadable(
97 97
             STDIN,
98 98
             /** @param resource $stream */
99
-            function (string $watcher_id, $stream) {
99
+            function(string $watcher_id, $stream) {
100 100
                 $key = fread($stream, 1);
101 101
                 if ($key === 'q') {
102 102
                     Loop::cancel($watcher_id);
@@ -104,9 +104,9 @@  discard block
 block discarded – undo
104 104
                 }
105 105
             }
106 106
         );
107
-        Loop::run(function () use ($dispatch_table, $searcher_context, $worker_pool, $trace_output) {
107
+        Loop::run(function() use ($dispatch_table, $searcher_context, $worker_pool, $trace_output) {
108 108
             $promises = [];
109
-            $promises[] = call(function () use ($searcher_context, $dispatch_table) {
109
+            $promises[] = call(function() use ($searcher_context, $dispatch_table) {
110 110
                 while (1) {
111 111
                     Log::debug('receiving pid List');
112 112
                     $update_target_message = yield $searcher_context->receivePidList();
@@ -120,7 +120,7 @@  discard block
 block discarded – undo
120 120
             });
121 121
             foreach ($worker_pool->getWorkers() as $reader) {
122 122
                 $promises[] = call(
123
-                    function () use ($reader, $dispatch_table, $trace_output) {
123
+                    function() use ($reader, $dispatch_table, $trace_output) {
124 124
                         while (1) {
125 125
                             $result = yield $reader->receiveTraceOrDetachWorker();
126 126
                             if ($result instanceof TraceMessage) {
Please login to merge, or discard this patch.