Completed
Pull Request — master (#2007)
by
unknown
28s
created
tests/stubs/symfony_component_console_helper_questionhelper.php 1 patch
Indentation   +43 added lines, -43 removed lines patch added patch discarded remove patch
@@ -34,52 +34,52 @@
 block discarded – undo
34 34
  */
35 35
 class QuestionHelper extends Helper
36 36
 {
37
-    /**
38
-     * Asks a question to the user.
39
-     *
40
-     * @return mixed The user answer
41
-     *
42
-     * @throws RuntimeException If there is no data to read in the input stream
43
-     */
44
-    public function ask(InputInterface $input, OutputInterface $output, Question $question): mixed
45
-    {
46
-    }
37
+	/**
38
+	 * Asks a question to the user.
39
+	 *
40
+	 * @return mixed The user answer
41
+	 *
42
+	 * @throws RuntimeException If there is no data to read in the input stream
43
+	 */
44
+	public function ask(InputInterface $input, OutputInterface $output, Question $question): mixed
45
+	{
46
+	}
47 47
 
48
-    public function getName(): string
49
-    {
50
-    }
48
+	public function getName(): string
49
+	{
50
+	}
51 51
 
52
-    /**
53
-     * Prevents usage of stty.
54
-     *
55
-     * @return void
56
-     */
57
-    public static function disableStty()
58
-    {
59
-    }
52
+	/**
53
+	 * Prevents usage of stty.
54
+	 *
55
+	 * @return void
56
+	 */
57
+	public static function disableStty()
58
+	{
59
+	}
60 60
 
61
-    /**
62
-     * Outputs the question prompt.
63
-     *
64
-     * @return void
65
-     */
66
-    protected function writePrompt(OutputInterface $output, Question $question)
67
-    {
68
-    }
61
+	/**
62
+	 * Outputs the question prompt.
63
+	 *
64
+	 * @return void
65
+	 */
66
+	protected function writePrompt(OutputInterface $output, Question $question)
67
+	{
68
+	}
69 69
 
70
-    /**
71
-     * @return string[]
72
-     */
73
-    protected function formatChoiceQuestionChoices(ChoiceQuestion $question, string $tag): array
74
-    {
75
-    }
70
+	/**
71
+	 * @return string[]
72
+	 */
73
+	protected function formatChoiceQuestionChoices(ChoiceQuestion $question, string $tag): array
74
+	{
75
+	}
76 76
 
77
-    /**
78
-     * Outputs an error message.
79
-     *
80
-     * @return void
81
-     */
82
-    protected function writeError(OutputInterface $output, \Exception $error)
83
-    {
84
-    }
77
+	/**
78
+	 * Outputs an error message.
79
+	 *
80
+	 * @return void
81
+	 */
82
+	protected function writeError(OutputInterface $output, \Exception $error)
83
+	{
84
+	}
85 85
 }
Please login to merge, or discard this patch.
tests/stubs/symfony_component_console_question_question.php 2 patches
Indentation   +183 added lines, -183 removed lines patch added patch discarded remove patch
@@ -21,187 +21,187 @@
 block discarded – undo
21 21
  */
22 22
 class Question
23 23
 {
24
-    /**
25
-     * @param string                     $question The question to ask to the user
26
-     * @param string|bool|int|float|null $default  The default answer to return if the user enters nothing
27
-     */
28
-    public function __construct(string $question, string|bool|int|float|null $default = null)
29
-    {
30
-    }
31
-
32
-    /**
33
-     * Returns the question.
34
-     */
35
-    public function getQuestion(): string
36
-    {
37
-    }
38
-
39
-    /**
40
-     * Returns the default answer.
41
-     */
42
-    public function getDefault(): string|bool|int|float|null
43
-    {
44
-    }
45
-
46
-    /**
47
-     * Returns whether the user response accepts newline characters.
48
-     */
49
-    public function isMultiline(): bool
50
-    {
51
-    }
52
-
53
-    /**
54
-     * Sets whether the user response should accept newline characters.
55
-     *
56
-     * @return $this
57
-     */
58
-    public function setMultiline(bool $multiline): static
59
-    {
60
-    }
61
-
62
-    /**
63
-     * Returns whether the user response must be hidden.
64
-     */
65
-    public function isHidden(): bool
66
-    {
67
-    }
68
-
69
-    /**
70
-     * Sets whether the user response must be hidden or not.
71
-     *
72
-     * @return $this
73
-     *
74
-     * @throws LogicException In case the autocompleter is also used
75
-     */
76
-    public function setHidden(bool $hidden): static
77
-    {
78
-    }
79
-
80
-    /**
81
-     * In case the response cannot be hidden, whether to fallback on non-hidden question or not.
82
-     */
83
-    public function isHiddenFallback(): bool
84
-    {
85
-    }
86
-
87
-    /**
88
-     * Sets whether to fallback on non-hidden question if the response cannot be hidden.
89
-     *
90
-     * @return $this
91
-     */
92
-    public function setHiddenFallback(bool $fallback): static
93
-    {
94
-    }
95
-
96
-    /**
97
-     * Gets values for the autocompleter.
98
-     */
99
-    public function getAutocompleterValues(): ?iterable
100
-    {
101
-    }
102
-
103
-    /**
104
-     * Sets values for the autocompleter.
105
-     *
106
-     * @return $this
107
-     *
108
-     * @throws LogicException
109
-     */
110
-    public function setAutocompleterValues(?iterable $values): static
111
-    {
112
-    }
113
-
114
-    /**
115
-     * Gets the callback function used for the autocompleter.
116
-     */
117
-    public function getAutocompleterCallback(): ?callable
118
-    {
119
-    }
120
-
121
-    /**
122
-     * Sets the callback function used for the autocompleter.
123
-     *
124
-     * The callback is passed the user input as argument and should return an iterable of corresponding suggestions.
125
-     *
126
-     * @return $this
127
-     */
128
-    public function setAutocompleterCallback(?callable $callback = null): static
129
-    {
130
-    }
131
-
132
-    /**
133
-     * Sets a validator for the question.
134
-     *
135
-     * @return $this
136
-     */
137
-    public function setValidator(?callable $validator = null): static
138
-    {
139
-    }
140
-
141
-    /**
142
-     * Gets the validator for the question.
143
-     */
144
-    public function getValidator(): ?callable
145
-    {
146
-    }
147
-
148
-    /**
149
-     * Sets the maximum number of attempts.
150
-     *
151
-     * Null means an unlimited number of attempts.
152
-     *
153
-     * @return $this
154
-     *
155
-     * @throws InvalidArgumentException in case the number of attempts is invalid
156
-     */
157
-    public function setMaxAttempts(?int $attempts): static
158
-    {
159
-    }
160
-
161
-    /**
162
-     * Gets the maximum number of attempts.
163
-     *
164
-     * Null means an unlimited number of attempts.
165
-     */
166
-    public function getMaxAttempts(): ?int
167
-    {
168
-    }
169
-
170
-    /**
171
-     * Sets a normalizer for the response.
172
-     *
173
-     * The normalizer can be a callable (a string), a closure or a class implementing __invoke.
174
-     *
175
-     * @return $this
176
-     */
177
-    public function setNormalizer(callable $normalizer): static
178
-    {
179
-    }
180
-
181
-    /**
182
-     * Gets the normalizer for the response.
183
-     *
184
-     * The normalizer can ba a callable (a string), a closure or a class implementing __invoke.
185
-     */
186
-    public function getNormalizer(): ?callable
187
-    {
188
-    }
189
-
190
-    /**
191
-     * @return bool
192
-     */
193
-    protected function isAssoc(array $array)
194
-    {
195
-    }
196
-
197
-    public function isTrimmable(): bool
198
-    {
199
-    }
200
-
201
-    /**
202
-     * @return $this
203
-     */
204
-    public function setTrimmable(bool $trimmable): static
205
-    {
206
-    }
24
+	/**
25
+	 * @param string                     $question The question to ask to the user
26
+	 * @param string|bool|int|float|null $default  The default answer to return if the user enters nothing
27
+	 */
28
+	public function __construct(string $question, string|bool|int|float|null $default = null)
29
+	{
30
+	}
31
+
32
+	/**
33
+	 * Returns the question.
34
+	 */
35
+	public function getQuestion(): string
36
+	{
37
+	}
38
+
39
+	/**
40
+	 * Returns the default answer.
41
+	 */
42
+	public function getDefault(): string|bool|int|float|null
43
+	{
44
+	}
45
+
46
+	/**
47
+	 * Returns whether the user response accepts newline characters.
48
+	 */
49
+	public function isMultiline(): bool
50
+	{
51
+	}
52
+
53
+	/**
54
+	 * Sets whether the user response should accept newline characters.
55
+	 *
56
+	 * @return $this
57
+	 */
58
+	public function setMultiline(bool $multiline): static
59
+	{
60
+	}
61
+
62
+	/**
63
+	 * Returns whether the user response must be hidden.
64
+	 */
65
+	public function isHidden(): bool
66
+	{
67
+	}
68
+
69
+	/**
70
+	 * Sets whether the user response must be hidden or not.
71
+	 *
72
+	 * @return $this
73
+	 *
74
+	 * @throws LogicException In case the autocompleter is also used
75
+	 */
76
+	public function setHidden(bool $hidden): static
77
+	{
78
+	}
79
+
80
+	/**
81
+	 * In case the response cannot be hidden, whether to fallback on non-hidden question or not.
82
+	 */
83
+	public function isHiddenFallback(): bool
84
+	{
85
+	}
86
+
87
+	/**
88
+	 * Sets whether to fallback on non-hidden question if the response cannot be hidden.
89
+	 *
90
+	 * @return $this
91
+	 */
92
+	public function setHiddenFallback(bool $fallback): static
93
+	{
94
+	}
95
+
96
+	/**
97
+	 * Gets values for the autocompleter.
98
+	 */
99
+	public function getAutocompleterValues(): ?iterable
100
+	{
101
+	}
102
+
103
+	/**
104
+	 * Sets values for the autocompleter.
105
+	 *
106
+	 * @return $this
107
+	 *
108
+	 * @throws LogicException
109
+	 */
110
+	public function setAutocompleterValues(?iterable $values): static
111
+	{
112
+	}
113
+
114
+	/**
115
+	 * Gets the callback function used for the autocompleter.
116
+	 */
117
+	public function getAutocompleterCallback(): ?callable
118
+	{
119
+	}
120
+
121
+	/**
122
+	 * Sets the callback function used for the autocompleter.
123
+	 *
124
+	 * The callback is passed the user input as argument and should return an iterable of corresponding suggestions.
125
+	 *
126
+	 * @return $this
127
+	 */
128
+	public function setAutocompleterCallback(?callable $callback = null): static
129
+	{
130
+	}
131
+
132
+	/**
133
+	 * Sets a validator for the question.
134
+	 *
135
+	 * @return $this
136
+	 */
137
+	public function setValidator(?callable $validator = null): static
138
+	{
139
+	}
140
+
141
+	/**
142
+	 * Gets the validator for the question.
143
+	 */
144
+	public function getValidator(): ?callable
145
+	{
146
+	}
147
+
148
+	/**
149
+	 * Sets the maximum number of attempts.
150
+	 *
151
+	 * Null means an unlimited number of attempts.
152
+	 *
153
+	 * @return $this
154
+	 *
155
+	 * @throws InvalidArgumentException in case the number of attempts is invalid
156
+	 */
157
+	public function setMaxAttempts(?int $attempts): static
158
+	{
159
+	}
160
+
161
+	/**
162
+	 * Gets the maximum number of attempts.
163
+	 *
164
+	 * Null means an unlimited number of attempts.
165
+	 */
166
+	public function getMaxAttempts(): ?int
167
+	{
168
+	}
169
+
170
+	/**
171
+	 * Sets a normalizer for the response.
172
+	 *
173
+	 * The normalizer can be a callable (a string), a closure or a class implementing __invoke.
174
+	 *
175
+	 * @return $this
176
+	 */
177
+	public function setNormalizer(callable $normalizer): static
178
+	{
179
+	}
180
+
181
+	/**
182
+	 * Gets the normalizer for the response.
183
+	 *
184
+	 * The normalizer can ba a callable (a string), a closure or a class implementing __invoke.
185
+	 */
186
+	public function getNormalizer(): ?callable
187
+	{
188
+	}
189
+
190
+	/**
191
+	 * @return bool
192
+	 */
193
+	protected function isAssoc(array $array)
194
+	{
195
+	}
196
+
197
+	public function isTrimmable(): bool
198
+	{
199
+	}
200
+
201
+	/**
202
+	 * @return $this
203
+	 */
204
+	public function setTrimmable(bool $trimmable): static
205
+	{
206
+	}
207 207
 }
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
25 25
      * @param string                     $question The question to ask to the user
26 26
      * @param string|bool|int|float|null $default  The default answer to return if the user enters nothing
27 27
      */
28
-    public function __construct(string $question, string|bool|int|float|null $default = null)
28
+    public function __construct(string $question, string | bool | int | float | null $default = null)
29 29
     {
30 30
     }
31 31
 
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
39 39
     /**
40 40
      * Returns the default answer.
41 41
      */
42
-    public function getDefault(): string|bool|int|float|null
42
+    public function getDefault(): string | bool | int | float | null
43 43
     {
44 44
     }
45 45
 
Please login to merge, or discard this patch.
tests/stubs/symfony_component_console_output_output.php 2 patches
Indentation   +80 added lines, -80 removed lines patch added patch discarded remove patch
@@ -29,84 +29,84 @@
 block discarded – undo
29 29
  */
30 30
 abstract class Output implements OutputInterface
31 31
 {
32
-    /**
33
-     * @param int|null                      $verbosity The verbosity level (one of the VERBOSITY constants in OutputInterface)
34
-     * @param bool                          $decorated Whether to decorate messages
35
-     * @param OutputFormatterInterface|null $formatter Output formatter instance (null to use default OutputFormatter)
36
-     */
37
-    public function __construct(?int $verbosity = self::VERBOSITY_NORMAL, bool $decorated = false, ?OutputFormatterInterface $formatter = null)
38
-    {
39
-    }
40
-
41
-    /**
42
-     * @return void
43
-     */
44
-    public function setFormatter(OutputFormatterInterface $formatter)
45
-    {
46
-    }
47
-
48
-    public function getFormatter(): OutputFormatterInterface
49
-    {
50
-    }
51
-
52
-    /**
53
-     * @return void
54
-     */
55
-    public function setDecorated(bool $decorated)
56
-    {
57
-    }
58
-
59
-    public function isDecorated(): bool
60
-    {
61
-    }
62
-
63
-    /**
64
-     * @return void
65
-     */
66
-    public function setVerbosity(int $level)
67
-    {
68
-    }
69
-
70
-    public function getVerbosity(): int
71
-    {
72
-    }
73
-
74
-    public function isQuiet(): bool
75
-    {
76
-    }
77
-
78
-    public function isVerbose(): bool
79
-    {
80
-    }
81
-
82
-    public function isVeryVerbose(): bool
83
-    {
84
-    }
85
-
86
-    public function isDebug(): bool
87
-    {
88
-    }
89
-
90
-    /**
91
-     * @return void
92
-     */
93
-    public function writeln(string|iterable $messages, int $options = self::OUTPUT_NORMAL)
94
-    {
95
-    }
96
-
97
-    /**
98
-     * @return void
99
-     */
100
-    public function write(string|iterable $messages, bool $newline = false, int $options = self::OUTPUT_NORMAL)
101
-    {
102
-    }
103
-
104
-    /**
105
-     * Writes a message to the output.
106
-     *
107
-     * @return void
108
-     */
109
-    abstract protected function doWrite(string $message, bool $newline)
110
-    {
111
-    }
32
+	/**
33
+	 * @param int|null                      $verbosity The verbosity level (one of the VERBOSITY constants in OutputInterface)
34
+	 * @param bool                          $decorated Whether to decorate messages
35
+	 * @param OutputFormatterInterface|null $formatter Output formatter instance (null to use default OutputFormatter)
36
+	 */
37
+	public function __construct(?int $verbosity = self::VERBOSITY_NORMAL, bool $decorated = false, ?OutputFormatterInterface $formatter = null)
38
+	{
39
+	}
40
+
41
+	/**
42
+	 * @return void
43
+	 */
44
+	public function setFormatter(OutputFormatterInterface $formatter)
45
+	{
46
+	}
47
+
48
+	public function getFormatter(): OutputFormatterInterface
49
+	{
50
+	}
51
+
52
+	/**
53
+	 * @return void
54
+	 */
55
+	public function setDecorated(bool $decorated)
56
+	{
57
+	}
58
+
59
+	public function isDecorated(): bool
60
+	{
61
+	}
62
+
63
+	/**
64
+	 * @return void
65
+	 */
66
+	public function setVerbosity(int $level)
67
+	{
68
+	}
69
+
70
+	public function getVerbosity(): int
71
+	{
72
+	}
73
+
74
+	public function isQuiet(): bool
75
+	{
76
+	}
77
+
78
+	public function isVerbose(): bool
79
+	{
80
+	}
81
+
82
+	public function isVeryVerbose(): bool
83
+	{
84
+	}
85
+
86
+	public function isDebug(): bool
87
+	{
88
+	}
89
+
90
+	/**
91
+	 * @return void
92
+	 */
93
+	public function writeln(string|iterable $messages, int $options = self::OUTPUT_NORMAL)
94
+	{
95
+	}
96
+
97
+	/**
98
+	 * @return void
99
+	 */
100
+	public function write(string|iterable $messages, bool $newline = false, int $options = self::OUTPUT_NORMAL)
101
+	{
102
+	}
103
+
104
+	/**
105
+	 * Writes a message to the output.
106
+	 *
107
+	 * @return void
108
+	 */
109
+	abstract protected function doWrite(string $message, bool $newline)
110
+	{
111
+	}
112 112
 }
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -90,14 +90,14 @@
 block discarded – undo
90 90
     /**
91 91
      * @return void
92 92
      */
93
-    public function writeln(string|iterable $messages, int $options = self::OUTPUT_NORMAL)
93
+    public function writeln(string | iterable $messages, int $options = self::OUTPUT_NORMAL)
94 94
     {
95 95
     }
96 96
 
97 97
     /**
98 98
      * @return void
99 99
      */
100
-    public function write(string|iterable $messages, bool $newline = false, int $options = self::OUTPUT_NORMAL)
100
+    public function write(string | iterable $messages, bool $newline = false, int $options = self::OUTPUT_NORMAL)
101 101
     {
102 102
     }
103 103
 
Please login to merge, or discard this patch.
...t_symfony_console_bashcompletion_completion_completionawareinterface.php 1 patch
Indentation   +20 added lines, -20 removed lines patch added patch discarded remove patch
@@ -7,25 +7,25 @@
 block discarded – undo
7 7
 interface CompletionAwareInterface
8 8
 {
9 9
 
10
-    /**
11
-     * Return possible values for the named option
12
-     *
13
-     * @param string $optionName
14
-     * @param CompletionContext $context
15
-     * @return array
16
-     */
17
-    public function completeOptionValues($optionName, CompletionContext $context)
18
-    {
19
-    }
10
+	/**
11
+	 * Return possible values for the named option
12
+	 *
13
+	 * @param string $optionName
14
+	 * @param CompletionContext $context
15
+	 * @return array
16
+	 */
17
+	public function completeOptionValues($optionName, CompletionContext $context)
18
+	{
19
+	}
20 20
 
21
-    /**
22
-     * Return possible values for the named argument
23
-     *
24
-     * @param string $argumentName
25
-     * @param CompletionContext $context
26
-     * @return array
27
-     */
28
-    public function completeArgumentValues($argumentName, CompletionContext $context)
29
-    {
30
-    }
21
+	/**
22
+	 * Return possible values for the named argument
23
+	 *
24
+	 * @param string $argumentName
25
+	 * @param CompletionContext $context
26
+	 * @return array
27
+	 */
28
+	public function completeArgumentValues($argumentName, CompletionContext $context)
29
+	{
30
+	}
31 31
 }
Please login to merge, or discard this patch.
tests/stubs/symfony_component_console_helper_table.php 2 patches
Indentation   +186 added lines, -186 removed lines patch added patch discarded remove patch
@@ -29,190 +29,190 @@
 block discarded – undo
29 29
  */
30 30
 class Table
31 31
 {
32
-    private const SEPARATOR_TOP = 0;
33
-    private const SEPARATOR_TOP_BOTTOM = 1;
34
-    private const SEPARATOR_MID = 2;
35
-    private const SEPARATOR_BOTTOM = 3;
36
-    private const BORDER_OUTSIDE = 0;
37
-    private const BORDER_INSIDE = 1;
38
-    private const DISPLAY_ORIENTATION_DEFAULT = 'default';
39
-    private const DISPLAY_ORIENTATION_HORIZONTAL = 'horizontal';
40
-    private const DISPLAY_ORIENTATION_VERTICAL = 'vertical';
41
-
42
-    public function __construct(OutputInterface $output)
43
-    {
44
-    }
45
-
46
-    /**
47
-     * Sets a style definition.
48
-     *
49
-     * @return void
50
-     */
51
-    public static function setStyleDefinition(string $name, TableStyle $style)
52
-    {
53
-    }
54
-
55
-    /**
56
-     * Gets a style definition by name.
57
-     */
58
-    public static function getStyleDefinition(string $name): TableStyle
59
-    {
60
-    }
61
-
62
-    /**
63
-     * Sets table style.
64
-     *
65
-     * @return $this
66
-     */
67
-    public function setStyle(TableStyle|string $name): static
68
-    {
69
-    }
70
-
71
-    /**
72
-     * Gets the current table style.
73
-     */
74
-    public function getStyle(): TableStyle
75
-    {
76
-    }
77
-
78
-    /**
79
-     * Sets table column style.
80
-     *
81
-     * @param TableStyle|string $name The style name or a TableStyle instance
82
-     *
83
-     * @return $this
84
-     */
85
-    public function setColumnStyle(int $columnIndex, TableStyle|string $name): static
86
-    {
87
-    }
88
-
89
-    /**
90
-     * Gets the current style for a column.
91
-     *
92
-     * If style was not set, it returns the global table style.
93
-     */
94
-    public function getColumnStyle(int $columnIndex): TableStyle
95
-    {
96
-    }
97
-
98
-    /**
99
-     * Sets the minimum width of a column.
100
-     *
101
-     * @return $this
102
-     */
103
-    public function setColumnWidth(int $columnIndex, int $width): static
104
-    {
105
-    }
106
-
107
-    /**
108
-     * Sets the minimum width of all columns.
109
-     *
110
-     * @return $this
111
-     */
112
-    public function setColumnWidths(array $widths): static
113
-    {
114
-    }
115
-
116
-    /**
117
-     * Sets the maximum width of a column.
118
-     *
119
-     * Any cell within this column which contents exceeds the specified width will be wrapped into multiple lines, while
120
-     * formatted strings are preserved.
121
-     *
122
-     * @return $this
123
-     */
124
-    public function setColumnMaxWidth(int $columnIndex, int $width): static
125
-    {
126
-    }
127
-
128
-    /**
129
-     * @return $this
130
-     */
131
-    public function setHeaders(array $headers): static
132
-    {
133
-    }
134
-
135
-    /**
136
-     * @return $this
137
-     */
138
-    public function setRows(array $rows)
139
-    {
140
-    }
141
-
142
-    /**
143
-     * @return $this
144
-     */
145
-    public function addRows(array $rows): static
146
-    {
147
-    }
148
-
149
-    /**
150
-     * @return $this
151
-     */
152
-    public function addRow(TableSeparator|array $row): static
153
-    {
154
-    }
155
-
156
-    /**
157
-     * Adds a row to the table, and re-renders the table.
158
-     *
159
-     * @return $this
160
-     */
161
-    public function appendRow(TableSeparator|array $row): static
162
-    {
163
-    }
164
-
165
-    /**
166
-     * @return $this
167
-     */
168
-    public function setRow(int|string $column, array $row): static
169
-    {
170
-    }
171
-
172
-    /**
173
-     * @return $this
174
-     */
175
-    public function setHeaderTitle(?string $title): static
176
-    {
177
-    }
178
-
179
-    /**
180
-     * @return $this
181
-     */
182
-    public function setFooterTitle(?string $title): static
183
-    {
184
-    }
185
-
186
-    /**
187
-     * @return $this
188
-     */
189
-    public function setHorizontal(bool $horizontal = true): static
190
-    {
191
-    }
192
-
193
-    /**
194
-     * @return $this
195
-     */
196
-    public function setVertical(bool $vertical = true): static
197
-    {
198
-    }
199
-
200
-    /**
201
-     * Renders table to output.
202
-     *
203
-     * Example:
204
-     *
205
-     *     +---------------+-----------------------+------------------+
206
-     *     | ISBN          | Title                 | Author           |
207
-     *     +---------------+-----------------------+------------------+
208
-     *     | 99921-58-10-7 | Divine Comedy         | Dante Alighieri  |
209
-     *     | 9971-5-0210-0 | A Tale of Two Cities  | Charles Dickens  |
210
-     *     | 960-425-059-0 | The Lord of the Rings | J. R. R. Tolkien |
211
-     *     +---------------+-----------------------+------------------+
212
-     *
213
-     * @return void
214
-     */
215
-    public function render()
216
-    {
217
-    }
32
+	private const SEPARATOR_TOP = 0;
33
+	private const SEPARATOR_TOP_BOTTOM = 1;
34
+	private const SEPARATOR_MID = 2;
35
+	private const SEPARATOR_BOTTOM = 3;
36
+	private const BORDER_OUTSIDE = 0;
37
+	private const BORDER_INSIDE = 1;
38
+	private const DISPLAY_ORIENTATION_DEFAULT = 'default';
39
+	private const DISPLAY_ORIENTATION_HORIZONTAL = 'horizontal';
40
+	private const DISPLAY_ORIENTATION_VERTICAL = 'vertical';
41
+
42
+	public function __construct(OutputInterface $output)
43
+	{
44
+	}
45
+
46
+	/**
47
+	 * Sets a style definition.
48
+	 *
49
+	 * @return void
50
+	 */
51
+	public static function setStyleDefinition(string $name, TableStyle $style)
52
+	{
53
+	}
54
+
55
+	/**
56
+	 * Gets a style definition by name.
57
+	 */
58
+	public static function getStyleDefinition(string $name): TableStyle
59
+	{
60
+	}
61
+
62
+	/**
63
+	 * Sets table style.
64
+	 *
65
+	 * @return $this
66
+	 */
67
+	public function setStyle(TableStyle|string $name): static
68
+	{
69
+	}
70
+
71
+	/**
72
+	 * Gets the current table style.
73
+	 */
74
+	public function getStyle(): TableStyle
75
+	{
76
+	}
77
+
78
+	/**
79
+	 * Sets table column style.
80
+	 *
81
+	 * @param TableStyle|string $name The style name or a TableStyle instance
82
+	 *
83
+	 * @return $this
84
+	 */
85
+	public function setColumnStyle(int $columnIndex, TableStyle|string $name): static
86
+	{
87
+	}
88
+
89
+	/**
90
+	 * Gets the current style for a column.
91
+	 *
92
+	 * If style was not set, it returns the global table style.
93
+	 */
94
+	public function getColumnStyle(int $columnIndex): TableStyle
95
+	{
96
+	}
97
+
98
+	/**
99
+	 * Sets the minimum width of a column.
100
+	 *
101
+	 * @return $this
102
+	 */
103
+	public function setColumnWidth(int $columnIndex, int $width): static
104
+	{
105
+	}
106
+
107
+	/**
108
+	 * Sets the minimum width of all columns.
109
+	 *
110
+	 * @return $this
111
+	 */
112
+	public function setColumnWidths(array $widths): static
113
+	{
114
+	}
115
+
116
+	/**
117
+	 * Sets the maximum width of a column.
118
+	 *
119
+	 * Any cell within this column which contents exceeds the specified width will be wrapped into multiple lines, while
120
+	 * formatted strings are preserved.
121
+	 *
122
+	 * @return $this
123
+	 */
124
+	public function setColumnMaxWidth(int $columnIndex, int $width): static
125
+	{
126
+	}
127
+
128
+	/**
129
+	 * @return $this
130
+	 */
131
+	public function setHeaders(array $headers): static
132
+	{
133
+	}
134
+
135
+	/**
136
+	 * @return $this
137
+	 */
138
+	public function setRows(array $rows)
139
+	{
140
+	}
141
+
142
+	/**
143
+	 * @return $this
144
+	 */
145
+	public function addRows(array $rows): static
146
+	{
147
+	}
148
+
149
+	/**
150
+	 * @return $this
151
+	 */
152
+	public function addRow(TableSeparator|array $row): static
153
+	{
154
+	}
155
+
156
+	/**
157
+	 * Adds a row to the table, and re-renders the table.
158
+	 *
159
+	 * @return $this
160
+	 */
161
+	public function appendRow(TableSeparator|array $row): static
162
+	{
163
+	}
164
+
165
+	/**
166
+	 * @return $this
167
+	 */
168
+	public function setRow(int|string $column, array $row): static
169
+	{
170
+	}
171
+
172
+	/**
173
+	 * @return $this
174
+	 */
175
+	public function setHeaderTitle(?string $title): static
176
+	{
177
+	}
178
+
179
+	/**
180
+	 * @return $this
181
+	 */
182
+	public function setFooterTitle(?string $title): static
183
+	{
184
+	}
185
+
186
+	/**
187
+	 * @return $this
188
+	 */
189
+	public function setHorizontal(bool $horizontal = true): static
190
+	{
191
+	}
192
+
193
+	/**
194
+	 * @return $this
195
+	 */
196
+	public function setVertical(bool $vertical = true): static
197
+	{
198
+	}
199
+
200
+	/**
201
+	 * Renders table to output.
202
+	 *
203
+	 * Example:
204
+	 *
205
+	 *     +---------------+-----------------------+------------------+
206
+	 *     | ISBN          | Title                 | Author           |
207
+	 *     +---------------+-----------------------+------------------+
208
+	 *     | 99921-58-10-7 | Divine Comedy         | Dante Alighieri  |
209
+	 *     | 9971-5-0210-0 | A Tale of Two Cities  | Charles Dickens  |
210
+	 *     | 960-425-059-0 | The Lord of the Rings | J. R. R. Tolkien |
211
+	 *     +---------------+-----------------------+------------------+
212
+	 *
213
+	 * @return void
214
+	 */
215
+	public function render()
216
+	{
217
+	}
218 218
 }
Please login to merge, or discard this patch.
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
64 64
      *
65 65
      * @return $this
66 66
      */
67
-    public function setStyle(TableStyle|string $name): static
67
+    public function setStyle(TableStyle | string $name): static
68 68
     {
69 69
     }
70 70
 
@@ -82,7 +82,7 @@  discard block
 block discarded – undo
82 82
      *
83 83
      * @return $this
84 84
      */
85
-    public function setColumnStyle(int $columnIndex, TableStyle|string $name): static
85
+    public function setColumnStyle(int $columnIndex, TableStyle | string $name): static
86 86
     {
87 87
     }
88 88
 
@@ -149,7 +149,7 @@  discard block
 block discarded – undo
149 149
     /**
150 150
      * @return $this
151 151
      */
152
-    public function addRow(TableSeparator|array $row): static
152
+    public function addRow(TableSeparator | array $row): static
153 153
     {
154 154
     }
155 155
 
@@ -158,14 +158,14 @@  discard block
 block discarded – undo
158 158
      *
159 159
      * @return $this
160 160
      */
161
-    public function appendRow(TableSeparator|array $row): static
161
+    public function appendRow(TableSeparator | array $row): static
162 162
     {
163 163
     }
164 164
 
165 165
     /**
166 166
      * @return $this
167 167
      */
168
-    public function setRow(int|string $column, array $row): static
168
+    public function setRow(int | string $column, array $row): static
169 169
     {
170 170
     }
171 171
 
Please login to merge, or discard this patch.
tests/stubs/symfony_component_console_input_inputargument.php 2 patches
Indentation   +70 added lines, -70 removed lines patch added patch discarded remove patch
@@ -25,83 +25,83 @@
 block discarded – undo
25 25
  */
26 26
 class InputArgument
27 27
 {
28
-    public const REQUIRED = 1;
29
-    public const OPTIONAL = 2;
30
-    public const IS_ARRAY = 4;
28
+	public const REQUIRED = 1;
29
+	public const OPTIONAL = 2;
30
+	public const IS_ARRAY = 4;
31 31
 
32
-    /**
33
-     * @param string                                                                        $name            The argument name
34
-     * @param int|null                                                                      $mode            The argument mode: a bit mask of self::REQUIRED, self::OPTIONAL and self::IS_ARRAY
35
-     * @param string                                                                        $description     A description text
36
-     * @param string|bool|int|float|array|null                                              $default         The default value (for self::OPTIONAL mode only)
37
-     * @param array|\Closure(CompletionInput,CompletionSuggestions):list<string|Suggestion> $suggestedValues The values used for input completion
38
-     *
39
-     * @throws InvalidArgumentException When argument mode is not valid
40
-     */
41
-    public function __construct(string $name, ?int $mode = null, string $description = '', string|bool|int|float|array|null $default = null, \Closure|array $suggestedValues = [])
42
-    {
43
-    }
32
+	/**
33
+	 * @param string                                                                        $name            The argument name
34
+	 * @param int|null                                                                      $mode            The argument mode: a bit mask of self::REQUIRED, self::OPTIONAL and self::IS_ARRAY
35
+	 * @param string                                                                        $description     A description text
36
+	 * @param string|bool|int|float|array|null                                              $default         The default value (for self::OPTIONAL mode only)
37
+	 * @param array|\Closure(CompletionInput,CompletionSuggestions):list<string|Suggestion> $suggestedValues The values used for input completion
38
+	 *
39
+	 * @throws InvalidArgumentException When argument mode is not valid
40
+	 */
41
+	public function __construct(string $name, ?int $mode = null, string $description = '', string|bool|int|float|array|null $default = null, \Closure|array $suggestedValues = [])
42
+	{
43
+	}
44 44
 
45
-    /**
46
-     * Returns the argument name.
47
-     */
48
-    public function getName(): string
49
-    {
50
-    }
45
+	/**
46
+	 * Returns the argument name.
47
+	 */
48
+	public function getName(): string
49
+	{
50
+	}
51 51
 
52
-    /**
53
-     * Returns true if the argument is required.
54
-     *
55
-     * @return bool true if parameter mode is self::REQUIRED, false otherwise
56
-     */
57
-    public function isRequired(): bool
58
-    {
59
-    }
52
+	/**
53
+	 * Returns true if the argument is required.
54
+	 *
55
+	 * @return bool true if parameter mode is self::REQUIRED, false otherwise
56
+	 */
57
+	public function isRequired(): bool
58
+	{
59
+	}
60 60
 
61
-    /**
62
-     * Returns true if the argument can take multiple values.
63
-     *
64
-     * @return bool true if mode is self::IS_ARRAY, false otherwise
65
-     */
66
-    public function isArray(): bool
67
-    {
68
-    }
61
+	/**
62
+	 * Returns true if the argument can take multiple values.
63
+	 *
64
+	 * @return bool true if mode is self::IS_ARRAY, false otherwise
65
+	 */
66
+	public function isArray(): bool
67
+	{
68
+	}
69 69
 
70
-    /**
71
-     * Sets the default value.
72
-     *
73
-     * @return void
74
-     *
75
-     * @throws LogicException When incorrect default value is given
76
-     */
77
-    public function setDefault(string|bool|int|float|array|null $default = null)
78
-    {
79
-    }
70
+	/**
71
+	 * Sets the default value.
72
+	 *
73
+	 * @return void
74
+	 *
75
+	 * @throws LogicException When incorrect default value is given
76
+	 */
77
+	public function setDefault(string|bool|int|float|array|null $default = null)
78
+	{
79
+	}
80 80
 
81
-    /**
82
-     * Returns the default value.
83
-     */
84
-    public function getDefault(): string|bool|int|float|array|null
85
-    {
86
-    }
81
+	/**
82
+	 * Returns the default value.
83
+	 */
84
+	public function getDefault(): string|bool|int|float|array|null
85
+	{
86
+	}
87 87
 
88
-    public function hasCompletion(): bool
89
-    {
90
-    }
88
+	public function hasCompletion(): bool
89
+	{
90
+	}
91 91
 
92
-    /**
93
-     * Adds suggestions to $suggestions for the current completion input.
94
-     *
95
-     * @see Command::complete()
96
-     */
97
-    public function complete(CompletionInput $input, CompletionSuggestions $suggestions): void
98
-    {
99
-    }
92
+	/**
93
+	 * Adds suggestions to $suggestions for the current completion input.
94
+	 *
95
+	 * @see Command::complete()
96
+	 */
97
+	public function complete(CompletionInput $input, CompletionSuggestions $suggestions): void
98
+	{
99
+	}
100 100
 
101
-    /**
102
-     * Returns the description text.
103
-     */
104
-    public function getDescription(): string
105
-    {
106
-    }
101
+	/**
102
+	 * Returns the description text.
103
+	 */
104
+	public function getDescription(): string
105
+	{
106
+	}
107 107
 }
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
      *
39 39
      * @throws InvalidArgumentException When argument mode is not valid
40 40
      */
41
-    public function __construct(string $name, ?int $mode = null, string $description = '', string|bool|int|float|array|null $default = null, \Closure|array $suggestedValues = [])
41
+    public function __construct(string $name, ?int $mode = null, string $description = '', string | bool | int | float | array | null $default = null, \Closure | array $suggestedValues = [])
42 42
     {
43 43
     }
44 44
 
@@ -74,14 +74,14 @@  discard block
 block discarded – undo
74 74
      *
75 75
      * @throws LogicException When incorrect default value is given
76 76
      */
77
-    public function setDefault(string|bool|int|float|array|null $default = null)
77
+    public function setDefault(string | bool | int | float | array | null $default = null)
78 78
     {
79 79
     }
80 80
 
81 81
     /**
82 82
      * Returns the default value.
83 83
      */
84
-    public function getDefault(): string|bool|int|float|array|null
84
+    public function getDefault(): string | bool | int | float | array | null
85 85
     {
86 86
     }
87 87
 
Please login to merge, or discard this patch.
tests/stubs/symfony_component_console_output_consoleoutput.php 1 patch
Indentation   +55 added lines, -55 removed lines patch added patch discarded remove patch
@@ -29,67 +29,67 @@
 block discarded – undo
29 29
  */
30 30
 class ConsoleOutput extends StreamOutput implements ConsoleOutputInterface
31 31
 {
32
-    /**
33
-     * @param int                           $verbosity The verbosity level (one of the VERBOSITY constants in OutputInterface)
34
-     * @param bool|null                     $decorated Whether to decorate messages (null for auto-guessing)
35
-     * @param OutputFormatterInterface|null $formatter Output formatter instance (null to use default OutputFormatter)
36
-     */
37
-    public function __construct(int $verbosity = self::VERBOSITY_NORMAL, ?bool $decorated = null, ?OutputFormatterInterface $formatter = null)
38
-    {
39
-    }
32
+	/**
33
+	 * @param int                           $verbosity The verbosity level (one of the VERBOSITY constants in OutputInterface)
34
+	 * @param bool|null                     $decorated Whether to decorate messages (null for auto-guessing)
35
+	 * @param OutputFormatterInterface|null $formatter Output formatter instance (null to use default OutputFormatter)
36
+	 */
37
+	public function __construct(int $verbosity = self::VERBOSITY_NORMAL, ?bool $decorated = null, ?OutputFormatterInterface $formatter = null)
38
+	{
39
+	}
40 40
 
41
-    /**
42
-     * Creates a new output section.
43
-     */
44
-    public function section(): ConsoleSectionOutput
45
-    {
46
-    }
41
+	/**
42
+	 * Creates a new output section.
43
+	 */
44
+	public function section(): ConsoleSectionOutput
45
+	{
46
+	}
47 47
 
48
-    /**
49
-     * @return void
50
-     */
51
-    public function setDecorated(bool $decorated)
52
-    {
53
-    }
48
+	/**
49
+	 * @return void
50
+	 */
51
+	public function setDecorated(bool $decorated)
52
+	{
53
+	}
54 54
 
55
-    /**
56
-     * @return void
57
-     */
58
-    public function setFormatter(OutputFormatterInterface $formatter)
59
-    {
60
-    }
55
+	/**
56
+	 * @return void
57
+	 */
58
+	public function setFormatter(OutputFormatterInterface $formatter)
59
+	{
60
+	}
61 61
 
62
-    /**
63
-     * @return void
64
-     */
65
-    public function setVerbosity(int $level)
66
-    {
67
-    }
62
+	/**
63
+	 * @return void
64
+	 */
65
+	public function setVerbosity(int $level)
66
+	{
67
+	}
68 68
 
69
-    public function getErrorOutput(): OutputInterface
70
-    {
71
-    }
69
+	public function getErrorOutput(): OutputInterface
70
+	{
71
+	}
72 72
 
73
-    /**
74
-     * @return void
75
-     */
76
-    public function setErrorOutput(OutputInterface $error)
77
-    {
78
-    }
73
+	/**
74
+	 * @return void
75
+	 */
76
+	public function setErrorOutput(OutputInterface $error)
77
+	{
78
+	}
79 79
 
80
-    /**
81
-     * Returns true if current environment supports writing console output to
82
-     * STDOUT.
83
-     */
84
-    protected function hasStdoutSupport(): bool
85
-    {
86
-    }
80
+	/**
81
+	 * Returns true if current environment supports writing console output to
82
+	 * STDOUT.
83
+	 */
84
+	protected function hasStdoutSupport(): bool
85
+	{
86
+	}
87 87
 
88
-    /**
89
-     * Returns true if current environment supports writing console output to
90
-     * STDERR.
91
-     */
92
-    protected function hasStderrSupport(): bool
93
-    {
94
-    }
88
+	/**
89
+	 * Returns true if current environment supports writing console output to
90
+	 * STDERR.
91
+	 */
92
+	protected function hasStderrSupport(): bool
93
+	{
94
+	}
95 95
 }
Please login to merge, or discard this patch.
tests/stubs/symfony_component_console_input_inputinterface.php 2 patches
Indentation   +153 added lines, -153 removed lines patch added patch discarded remove patch
@@ -24,157 +24,157 @@
 block discarded – undo
24 24
  */
25 25
 interface InputInterface
26 26
 {
27
-    /**
28
-     * Returns the first argument from the raw parameters (not parsed).
29
-     */
30
-    public function getFirstArgument(): ?string
31
-    {
32
-    }
33
-
34
-    /**
35
-     * Returns true if the raw parameters (not parsed) contain a value.
36
-     *
37
-     * This method is to be used to introspect the input parameters
38
-     * before they have been validated. It must be used carefully.
39
-     * Does not necessarily return the correct result for short options
40
-     * when multiple flags are combined in the same option.
41
-     *
42
-     * @param string|array $values     The values to look for in the raw parameters (can be an array)
43
-     * @param bool         $onlyParams Only check real parameters, skip those following an end of options (--) signal
44
-     */
45
-    public function hasParameterOption(string|array $values, bool $onlyParams = false): bool
46
-    {
47
-    }
48
-
49
-    /**
50
-     * Returns the value of a raw option (not parsed).
51
-     *
52
-     * This method is to be used to introspect the input parameters
53
-     * before they have been validated. It must be used carefully.
54
-     * Does not necessarily return the correct result for short options
55
-     * when multiple flags are combined in the same option.
56
-     *
57
-     * @param string|array                     $values     The value(s) to look for in the raw parameters (can be an array)
58
-     * @param string|bool|int|float|array|null $default    The default value to return if no result is found
59
-     * @param bool                             $onlyParams Only check real parameters, skip those following an end of options (--) signal
60
-     *
61
-     * @return mixed
62
-     */
63
-    public function getParameterOption(string|array $values, string|bool|int|float|array|null $default = false, bool $onlyParams = false)
64
-    {
65
-    }
66
-
67
-    /**
68
-     * Binds the current Input instance with the given arguments and options.
69
-     *
70
-     * @return void
71
-     *
72
-     * @throws RuntimeException
73
-     */
74
-    public function bind(InputDefinition $definition)
75
-    {
76
-    }
77
-
78
-    /**
79
-     * Validates the input.
80
-     *
81
-     * @return void
82
-     *
83
-     * @throws RuntimeException When not enough arguments are given
84
-     */
85
-    public function validate()
86
-    {
87
-    }
88
-
89
-    /**
90
-     * Returns all the given arguments merged with the default values.
91
-     *
92
-     * @return array<string|bool|int|float|array|null>
93
-     */
94
-    public function getArguments(): array
95
-    {
96
-    }
97
-
98
-    /**
99
-     * Returns the argument value for a given argument name.
100
-     *
101
-     * @return mixed
102
-     *
103
-     * @throws InvalidArgumentException When argument given doesn't exist
104
-     */
105
-    public function getArgument(string $name)
106
-    {
107
-    }
108
-
109
-    /**
110
-     * Sets an argument value by name.
111
-     *
112
-     * @return void
113
-     *
114
-     * @throws InvalidArgumentException When argument given doesn't exist
115
-     */
116
-    public function setArgument(string $name, mixed $value)
117
-    {
118
-    }
119
-
120
-    /**
121
-     * Returns true if an InputArgument object exists by name or position.
122
-     */
123
-    public function hasArgument(string $name): bool
124
-    {
125
-    }
126
-
127
-    /**
128
-     * Returns all the given options merged with the default values.
129
-     *
130
-     * @return array<string|bool|int|float|array|null>
131
-     */
132
-    public function getOptions(): array
133
-    {
134
-    }
135
-
136
-    /**
137
-     * Returns the option value for a given option name.
138
-     *
139
-     * @return mixed
140
-     *
141
-     * @throws InvalidArgumentException When option given doesn't exist
142
-     */
143
-    public function getOption(string $name)
144
-    {
145
-    }
146
-
147
-    /**
148
-     * Sets an option value by name.
149
-     *
150
-     * @return void
151
-     *
152
-     * @throws InvalidArgumentException When option given doesn't exist
153
-     */
154
-    public function setOption(string $name, mixed $value)
155
-    {
156
-    }
157
-
158
-    /**
159
-     * Returns true if an InputOption object exists by name.
160
-     */
161
-    public function hasOption(string $name): bool
162
-    {
163
-    }
164
-
165
-    /**
166
-     * Is this input means interactive?
167
-     */
168
-    public function isInteractive(): bool
169
-    {
170
-    }
171
-
172
-    /**
173
-     * Sets the input interactivity.
174
-     *
175
-     * @return void
176
-     */
177
-    public function setInteractive(bool $interactive)
178
-    {
179
-    }
27
+	/**
28
+	 * Returns the first argument from the raw parameters (not parsed).
29
+	 */
30
+	public function getFirstArgument(): ?string
31
+	{
32
+	}
33
+
34
+	/**
35
+	 * Returns true if the raw parameters (not parsed) contain a value.
36
+	 *
37
+	 * This method is to be used to introspect the input parameters
38
+	 * before they have been validated. It must be used carefully.
39
+	 * Does not necessarily return the correct result for short options
40
+	 * when multiple flags are combined in the same option.
41
+	 *
42
+	 * @param string|array $values     The values to look for in the raw parameters (can be an array)
43
+	 * @param bool         $onlyParams Only check real parameters, skip those following an end of options (--) signal
44
+	 */
45
+	public function hasParameterOption(string|array $values, bool $onlyParams = false): bool
46
+	{
47
+	}
48
+
49
+	/**
50
+	 * Returns the value of a raw option (not parsed).
51
+	 *
52
+	 * This method is to be used to introspect the input parameters
53
+	 * before they have been validated. It must be used carefully.
54
+	 * Does not necessarily return the correct result for short options
55
+	 * when multiple flags are combined in the same option.
56
+	 *
57
+	 * @param string|array                     $values     The value(s) to look for in the raw parameters (can be an array)
58
+	 * @param string|bool|int|float|array|null $default    The default value to return if no result is found
59
+	 * @param bool                             $onlyParams Only check real parameters, skip those following an end of options (--) signal
60
+	 *
61
+	 * @return mixed
62
+	 */
63
+	public function getParameterOption(string|array $values, string|bool|int|float|array|null $default = false, bool $onlyParams = false)
64
+	{
65
+	}
66
+
67
+	/**
68
+	 * Binds the current Input instance with the given arguments and options.
69
+	 *
70
+	 * @return void
71
+	 *
72
+	 * @throws RuntimeException
73
+	 */
74
+	public function bind(InputDefinition $definition)
75
+	{
76
+	}
77
+
78
+	/**
79
+	 * Validates the input.
80
+	 *
81
+	 * @return void
82
+	 *
83
+	 * @throws RuntimeException When not enough arguments are given
84
+	 */
85
+	public function validate()
86
+	{
87
+	}
88
+
89
+	/**
90
+	 * Returns all the given arguments merged with the default values.
91
+	 *
92
+	 * @return array<string|bool|int|float|array|null>
93
+	 */
94
+	public function getArguments(): array
95
+	{
96
+	}
97
+
98
+	/**
99
+	 * Returns the argument value for a given argument name.
100
+	 *
101
+	 * @return mixed
102
+	 *
103
+	 * @throws InvalidArgumentException When argument given doesn't exist
104
+	 */
105
+	public function getArgument(string $name)
106
+	{
107
+	}
108
+
109
+	/**
110
+	 * Sets an argument value by name.
111
+	 *
112
+	 * @return void
113
+	 *
114
+	 * @throws InvalidArgumentException When argument given doesn't exist
115
+	 */
116
+	public function setArgument(string $name, mixed $value)
117
+	{
118
+	}
119
+
120
+	/**
121
+	 * Returns true if an InputArgument object exists by name or position.
122
+	 */
123
+	public function hasArgument(string $name): bool
124
+	{
125
+	}
126
+
127
+	/**
128
+	 * Returns all the given options merged with the default values.
129
+	 *
130
+	 * @return array<string|bool|int|float|array|null>
131
+	 */
132
+	public function getOptions(): array
133
+	{
134
+	}
135
+
136
+	/**
137
+	 * Returns the option value for a given option name.
138
+	 *
139
+	 * @return mixed
140
+	 *
141
+	 * @throws InvalidArgumentException When option given doesn't exist
142
+	 */
143
+	public function getOption(string $name)
144
+	{
145
+	}
146
+
147
+	/**
148
+	 * Sets an option value by name.
149
+	 *
150
+	 * @return void
151
+	 *
152
+	 * @throws InvalidArgumentException When option given doesn't exist
153
+	 */
154
+	public function setOption(string $name, mixed $value)
155
+	{
156
+	}
157
+
158
+	/**
159
+	 * Returns true if an InputOption object exists by name.
160
+	 */
161
+	public function hasOption(string $name): bool
162
+	{
163
+	}
164
+
165
+	/**
166
+	 * Is this input means interactive?
167
+	 */
168
+	public function isInteractive(): bool
169
+	{
170
+	}
171
+
172
+	/**
173
+	 * Sets the input interactivity.
174
+	 *
175
+	 * @return void
176
+	 */
177
+	public function setInteractive(bool $interactive)
178
+	{
179
+	}
180 180
 }
Please login to merge, or discard this 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.