Completed
Pull Request — master (#2067)
by
unknown
26s
created
tests/stubs/symfony_component_console_input_inputinterface.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@  discard block
 block discarded – undo
42 42
      * @param string|array $values     The values to look for in the raw parameters (can be an array)
43 43
      * @param bool         $onlyParams Only check real parameters, skip those following an end of options (--) signal
44 44
      */
45
-    public function hasParameterOption(string|array $values, bool $onlyParams = false): bool
45
+    public function hasParameterOption(string | array $values, bool $onlyParams = false): bool
46 46
     {
47 47
     }
48 48
 
@@ -60,7 +60,7 @@  discard block
 block discarded – undo
60 60
      *
61 61
      * @return mixed
62 62
      */
63
-    public function getParameterOption(string|array $values, string|bool|int|float|array|null $default = false, bool $onlyParams = false)
63
+    public function getParameterOption(string | array $values, string | bool | int | float | array | null $default = false, bool $onlyParams = false)
64 64
     {
65 65
     }
66 66
 
Please login to merge, or discard this patch.
tests/stubs/oc_user_manager.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -227,7 +227,7 @@
 block discarded – undo
227 227
  {
228 228
  }
229 229
 
230
-	public function countUsersTotal(int $limit = 0, bool $onlyMappedUsers = false): int|false
230
+	public function countUsersTotal(int $limit = 0, bool $onlyMappedUsers = false): int | false
231 231
  {
232 232
  }
233 233
 
Please login to merge, or discard this patch.
tests/stubs/symfony_component_console_helper_helper.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
     /**
61 61
      * @return string
62 62
      */
63
-    public static function formatTime(int|float $secs, int $precision = 1)
63
+    public static function formatTime(int | float $secs, int $precision = 1)
64 64
     {
65 65
     }
66 66
 
Please login to merge, or discard this patch.
tests/stubs/oca_files_sharing_external_manager.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
  {
62 62
  }
63 63
 
64
-	public function getShare(int $id, ?string $user = null): array|false
64
+	public function getShare(int $id, ?string $user = null): array | false
65 65
  {
66 66
  }
67 67
 
@@ -71,7 +71,7 @@  discard block
 block discarded – undo
71 71
 	 * @param string $token
72 72
 	 * @return array|false
73 73
 	 */
74
-	public function getShareByToken(string $token): array|false
74
+	public function getShareByToken(string $token): array | false
75 75
  {
76 76
  }
77 77
 
Please login to merge, or discard this patch.
tests/stubs/symfony_component_console_command_command.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -238,7 +238,7 @@  discard block
 block discarded – undo
238 238
      *
239 239
      * @return $this
240 240
      */
241
-    public function setDefinition(array|InputDefinition $definition): static
241
+    public function setDefinition(array | InputDefinition $definition): static
242 242
     {
243 243
     }
244 244
 
@@ -288,7 +288,7 @@  discard block
 block discarded – undo
288 288
      *
289 289
      * @throws InvalidArgumentException If option mode is invalid or incompatible
290 290
      */
291
-    public function addOption(string $name, string|array|null $shortcut = null, ?int $mode = null, string $description = '', mixed $default = null): static
291
+    public function addOption(string $name, string | array | null $shortcut = null, ?int $mode = null, string $description = '', mixed $default = null): static
292 292
     {
293 293
     }
294 294
 
Please login to merge, or discard this patch.
tests/stubs/oc_group_group.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -98,7 +98,7 @@  discard block
 block discarded – undo
98 98
 	 * @param string $search
99 99
 	 * @return int|bool
100 100
 	 */
101
-	public function count($search = ''): int|bool
101
+	public function count($search = ''): int | bool
102 102
  {
103 103
  }
104 104
 
@@ -107,7 +107,7 @@  discard block
 block discarded – undo
107 107
 	 *
108 108
 	 * @return int|bool
109 109
 	 */
110
-	public function countDisabled(): int|bool
110
+	public function countDisabled(): int | bool
111 111
  {
112 112
  }
113 113
 
Please login to merge, or discard this patch.
tests/stubs/symfony_component_process_process.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -46,8 +46,8 @@
 block discarded – undo
46 46
     public const TIMEOUT_PRECISION = 0.2;
47 47
 
48 48
     public const ITER_NON_BLOCKING = 1; // By default, iterating over outputs is a blocking call, use this flag to make it non-blocking
49
-    public const ITER_KEEP_OUTPUT = 2;  // By default, outputs are cleared while iterating, use this flag to keep them in memory
50
-    public const ITER_SKIP_OUT = 4;     // Use this flag to skip STDOUT while iterating
49
+    public const ITER_KEEP_OUTPUT = 2; // By default, outputs are cleared while iterating, use this flag to keep them in memory
50
+    public const ITER_SKIP_OUT = 4; // Use this flag to skip STDOUT while iterating
51 51
     public const ITER_SKIP_ERR = 8;
52 52
 
53 53
     /**
Please login to merge, or discard this patch.
tests/stubs/symfony_component_console_output_outputinterface.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
39 39
      *
40 40
      * @return void
41 41
      */
42
-    public function write(string|iterable $messages, bool $newline = false, int $options = 0)
42
+    public function write(string | iterable $messages, bool $newline = false, int $options = 0)
43 43
     {
44 44
     }
45 45
 
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
      *
52 52
      * @return void
53 53
      */
54
-    public function writeln(string|iterable $messages, int $options = 0)
54
+    public function writeln(string | iterable $messages, int $options = 0)
55 55
     {
56 56
     }
57 57
 
Please login to merge, or discard this patch.
lib/Command/CirclesDetails.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -158,7 +158,7 @@
 block discarded – undo
158 158
 		} catch (FederatedItemException $e) {
159 159
 			if ($input->getOption('status-code')) {
160 160
 				throw new FederatedItemException(
161
-					' [' . get_class($e) . ', ' . ((string)$e->getStatus()) . ']' . "\n" . $e->getMessage()
161
+					' ['.get_class($e).', '.((string)$e->getStatus()).']'."\n".$e->getMessage()
162 162
 				);
163 163
 			}
164 164
 
Please login to merge, or discard this patch.