Passed
Push — renovate/actions-checkout-3.x ( c68415 )
by
unknown
02:37
created
src/Command/Inspector/GetEgAddressCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -67,7 +67,7 @@
 block discarded – undo
67 67
 
68 68
         // see the comment at GetTraceCommand::execute()
69 69
         $eg_address = $this->retrying_loop_provider->do(
70
-            try: fn () => $this->php_globals_finder->findExecutorGlobals(
70
+            try: fn() => $this->php_globals_finder->findExecutorGlobals(
71 71
                 $process_specifier,
72 72
                 $target_php_settings
73 73
             ),
Please login to merge, or discard this patch.
src/Inspector/RetryingLoopProvider.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
41 41
 
42 42
         $loop_canceller =
43 43
             /** @param-out T $result */
44
-            function () use (&$result, $try): bool {
44
+            function() use (&$result, $try): bool {
45 45
                 $result = $try();
46 46
                 // one successful execution is enough
47 47
                 return false;
Please login to merge, or discard this patch.
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,13 +31,15 @@
 block discarded – undo
31 31
      * @param class-string<\Throwable>[] $retry_on
32 32
      * @return T
33 33
      */
34
-    public function do(
34
+    public function do {
35
+        (
35 36
         callable $try,
36 37
         array $retry_on,
37 38
         int $max_retry,
38 39
         int $interval_on_retry_ns,
39 40
     ) {
40 41
         $result = null;
42
+    }
41 43
 
42 44
         $loop_canceller =
43 45
             /** @param-out T $result */
Please login to merge, or discard this patch.
src/Command/Converter/SpeedscopeCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -82,7 +82,7 @@
 block discarded – undo
82 82
     /** @param iterable<CallTrace> $call_frames */
83 83
     private function collectFrames(iterable $call_frames): array
84 84
     {
85
-        $mapper = fn (array $value): string => \json_encode($value);
85
+        $mapper = fn(array $value): string => \json_encode($value);
86 86
         $trace_map = [];
87 87
         $result_frames = [];
88 88
         $sampled_stacks = [];
Please login to merge, or discard this patch.
resources/templates/compat.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,5 +16,5 @@
 block discarded – undo
16 16
 
17 17
 /** @var CallTrace $call_trace */
18 18
 
19
-echo CompatCallTraceFormatter::getInstance()->format($call_trace) , "\n";
19
+echo CompatCallTraceFormatter::getInstance()->format($call_trace), "\n";
20 20
 echo "\n";
Please login to merge, or discard this patch.
src/Lib/PhpInternals/Types/Zend/Zval.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
 
36 36
     public function __get(string $field_name): mixed
37 37
     {
38
-        return match ($field_name) {
38
+        return match($field_name) {
39 39
             'value' => $this->value = new ZendValue($this->cdata->value),
40 40
             'u1' => $this->u1 = new ZvalU1($this->cdata->u1),
41 41
             'u2' => $this->u2 = new ZvalU2($this->cdata->u2),
Please login to merge, or discard this patch.
src/Lib/PhpInternals/Types/Zend/Bucket.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
             'val' => $this->val = new Zval($this->casted_cdata->casted->val),
46 46
             'h' => $this->h = 0xFFFF_FFFF & $this->casted_cdata->casted->h,
47 47
             'key' => $this->key = Pointer::fromCData(
Please login to merge, or discard this patch.
src/Lib/PhpInternals/Types/Zend/ZendOp.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -57,10 +57,10 @@
 block discarded – undo
57 57
 
58 58
     public function __get(string $field_name)
59 59
     {
60
-        return match ($field_name) {
61
-            'op1' => $this->op1 = (int)(\FFI::cast('int', $this->casted_cdata->casted->op1)?->cdata ?? -1),
62
-            'op2' => $this->op2 = (int)(\FFI::cast('int', $this->casted_cdata->casted->op2)?->cdata ?? -1),
63
-            'result' => $this->result = (int)(\FFI::cast('int', $this->casted_cdata->casted->result)?->cdata ?? -1),
60
+        return match($field_name) {
61
+            'op1' => $this->op1 = (int)(\FFI::cast('int', $this->casted_cdata->casted->op1) ? ->cdata ?? -1),
62
+            'op2' => $this->op2 = (int)(\FFI::cast('int', $this->casted_cdata->casted->op2) ? ->cdata ?? -1),
63
+            'result' => $this->result = (int)(\FFI::cast('int', $this->casted_cdata->casted->result) ? ->cdata ?? -1),
64 64
             'op1_type' => $this->op1_type = $this->casted_cdata->casted->op1_type,
65 65
             'op2_type' => $this->op2_type = $this->casted_cdata->casted->op2_type,
66 66
             'result_type' => $this->result_type = $this->casted_cdata->casted->result_type,
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/ZendClassEntry.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
 
37 37
     public function __get(string $field_name)
38 38
     {
39
-        return match ($field_name) {
39
+        return match($field_name) {
40 40
             'name' => $this->name = Pointer::fromCData(
41 41
                 ZendString::class,
42 42
                 $this->casted_cdata->casted->name,
Please login to merge, or discard this patch.