Completed
Push — master ( 2ed78e...f31342 )
by
unknown
32s queued 28s
created
tests/stubs/symfony_component_console_input_inputoption.php 1 patch
Indentation   +131 added lines, -131 removed lines patch added patch discarded remove patch
@@ -25,135 +25,135 @@
 block discarded – undo
25 25
  */
26 26
 class InputOption
27 27
 {
28
-    /**
29
-     * Do not accept input for the option (e.g. --yell). This is the default behavior of options.
30
-     */
31
-    public const VALUE_NONE = 1;
32
-
33
-    /**
34
-     * A value must be passed when the option is used (e.g. --iterations=5 or -i5).
35
-     */
36
-    public const VALUE_REQUIRED = 2;
37
-
38
-    /**
39
-     * The option may or may not have a value (e.g. --yell or --yell=loud).
40
-     */
41
-    public const VALUE_OPTIONAL = 4;
42
-
43
-    /**
44
-     * The option accepts multiple values (e.g. --dir=/foo --dir=/bar).
45
-     */
46
-    public const VALUE_IS_ARRAY = 8;
47
-
48
-    /**
49
-     * The option may have either positive or negative value (e.g. --ansi or --no-ansi).
50
-     */
51
-    public const VALUE_NEGATABLE = 16;
52
-
53
-    /**
54
-     * @param string|array|null                                                             $shortcut        The shortcuts, can be null, a string of shortcuts delimited by | or an array of shortcuts
55
-     * @param int|null                                                                      $mode            The option mode: One of the VALUE_* constants
56
-     * @param string|bool|int|float|array|null                                              $default         The default value (must be null for self::VALUE_NONE)
57
-     * @param array|\Closure(CompletionInput,CompletionSuggestions):list<string|Suggestion> $suggestedValues The values used for input completion
58
-     *
59
-     * @throws InvalidArgumentException If option mode is invalid or incompatible
60
-     */
61
-    public function __construct(string $name, string|array|null $shortcut = null, ?int $mode = null, string $description = '', string|bool|int|float|array|null $default = null, array|\Closure $suggestedValues = [])
62
-    {
63
-    }
64
-
65
-    /**
66
-     * Returns the option shortcut.
67
-     */
68
-    public function getShortcut(): ?string
69
-    {
70
-    }
71
-
72
-    /**
73
-     * Returns the option name.
74
-     */
75
-    public function getName(): string
76
-    {
77
-    }
78
-
79
-    /**
80
-     * Returns true if the option accepts a value.
81
-     *
82
-     * @return bool true if value mode is not self::VALUE_NONE, false otherwise
83
-     */
84
-    public function acceptValue(): bool
85
-    {
86
-    }
87
-
88
-    /**
89
-     * Returns true if the option requires a value.
90
-     *
91
-     * @return bool true if value mode is self::VALUE_REQUIRED, false otherwise
92
-     */
93
-    public function isValueRequired(): bool
94
-    {
95
-    }
96
-
97
-    /**
98
-     * Returns true if the option takes an optional value.
99
-     *
100
-     * @return bool true if value mode is self::VALUE_OPTIONAL, false otherwise
101
-     */
102
-    public function isValueOptional(): bool
103
-    {
104
-    }
105
-
106
-    /**
107
-     * Returns true if the option can take multiple values.
108
-     *
109
-     * @return bool true if mode is self::VALUE_IS_ARRAY, false otherwise
110
-     */
111
-    public function isArray(): bool
112
-    {
113
-    }
114
-
115
-    public function isNegatable(): bool
116
-    {
117
-    }
118
-
119
-    /**
120
-     * @return void
121
-     */
122
-    public function setDefault(string|bool|int|float|array|null $default = null)
123
-    {
124
-    }
125
-
126
-    /**
127
-     * Returns the default value.
128
-     */
129
-    public function getDefault(): string|bool|int|float|array|null
130
-    {
131
-    }
132
-
133
-    /**
134
-     * Returns the description text.
135
-     */
136
-    public function getDescription(): string
137
-    {
138
-    }
139
-
140
-    public function hasCompletion(): bool
141
-    {
142
-    }
143
-
144
-    /**
145
-     * Adds suggestions to $suggestions for the current completion input.
146
-     *
147
-     * @see Command::complete()
148
-     */
149
-    public function complete(CompletionInput $input, CompletionSuggestions $suggestions): void
150
-    {
151
-    }
152
-
153
-    /**
154
-     * Checks whether the given option equals this one.
155
-     */
156
-    public function equals(self $option): bool
157
-    {
158
-    }
28
+	/**
29
+	 * Do not accept input for the option (e.g. --yell). This is the default behavior of options.
30
+	 */
31
+	public const VALUE_NONE = 1;
32
+
33
+	/**
34
+	 * A value must be passed when the option is used (e.g. --iterations=5 or -i5).
35
+	 */
36
+	public const VALUE_REQUIRED = 2;
37
+
38
+	/**
39
+	 * The option may or may not have a value (e.g. --yell or --yell=loud).
40
+	 */
41
+	public const VALUE_OPTIONAL = 4;
42
+
43
+	/**
44
+	 * The option accepts multiple values (e.g. --dir=/foo --dir=/bar).
45
+	 */
46
+	public const VALUE_IS_ARRAY = 8;
47
+
48
+	/**
49
+	 * The option may have either positive or negative value (e.g. --ansi or --no-ansi).
50
+	 */
51
+	public const VALUE_NEGATABLE = 16;
52
+
53
+	/**
54
+	 * @param string|array|null                                                             $shortcut        The shortcuts, can be null, a string of shortcuts delimited by | or an array of shortcuts
55
+	 * @param int|null                                                                      $mode            The option mode: One of the VALUE_* constants
56
+	 * @param string|bool|int|float|array|null                                              $default         The default value (must be null for self::VALUE_NONE)
57
+	 * @param array|\Closure(CompletionInput,CompletionSuggestions):list<string|Suggestion> $suggestedValues The values used for input completion
58
+	 *
59
+	 * @throws InvalidArgumentException If option mode is invalid or incompatible
60
+	 */
61
+	public function __construct(string $name, string|array|null $shortcut = null, ?int $mode = null, string $description = '', string|bool|int|float|array|null $default = null, array|\Closure $suggestedValues = [])
62
+	{
63
+	}
64
+
65
+	/**
66
+	 * Returns the option shortcut.
67
+	 */
68
+	public function getShortcut(): ?string
69
+	{
70
+	}
71
+
72
+	/**
73
+	 * Returns the option name.
74
+	 */
75
+	public function getName(): string
76
+	{
77
+	}
78
+
79
+	/**
80
+	 * Returns true if the option accepts a value.
81
+	 *
82
+	 * @return bool true if value mode is not self::VALUE_NONE, false otherwise
83
+	 */
84
+	public function acceptValue(): bool
85
+	{
86
+	}
87
+
88
+	/**
89
+	 * Returns true if the option requires a value.
90
+	 *
91
+	 * @return bool true if value mode is self::VALUE_REQUIRED, false otherwise
92
+	 */
93
+	public function isValueRequired(): bool
94
+	{
95
+	}
96
+
97
+	/**
98
+	 * Returns true if the option takes an optional value.
99
+	 *
100
+	 * @return bool true if value mode is self::VALUE_OPTIONAL, false otherwise
101
+	 */
102
+	public function isValueOptional(): bool
103
+	{
104
+	}
105
+
106
+	/**
107
+	 * Returns true if the option can take multiple values.
108
+	 *
109
+	 * @return bool true if mode is self::VALUE_IS_ARRAY, false otherwise
110
+	 */
111
+	public function isArray(): bool
112
+	{
113
+	}
114
+
115
+	public function isNegatable(): bool
116
+	{
117
+	}
118
+
119
+	/**
120
+	 * @return void
121
+	 */
122
+	public function setDefault(string|bool|int|float|array|null $default = null)
123
+	{
124
+	}
125
+
126
+	/**
127
+	 * Returns the default value.
128
+	 */
129
+	public function getDefault(): string|bool|int|float|array|null
130
+	{
131
+	}
132
+
133
+	/**
134
+	 * Returns the description text.
135
+	 */
136
+	public function getDescription(): string
137
+	{
138
+	}
139
+
140
+	public function hasCompletion(): bool
141
+	{
142
+	}
143
+
144
+	/**
145
+	 * Adds suggestions to $suggestions for the current completion input.
146
+	 *
147
+	 * @see Command::complete()
148
+	 */
149
+	public function complete(CompletionInput $input, CompletionSuggestions $suggestions): void
150
+	{
151
+	}
152
+
153
+	/**
154
+	 * Checks whether the given option equals this one.
155
+	 */
156
+	public function equals(self $option): bool
157
+	{
158
+	}
159 159
 }
Please login to merge, or discard this patch.
tests/stubs/doctrine_dbal_connections_primaryreadreplicaconnection.php 1 patch
Indentation   +153 added lines, -153 removed lines patch added patch discarded remove patch
@@ -77,157 +77,157 @@
 block discarded – undo
77 77
  */
78 78
 class PrimaryReadReplicaConnection extends Connection
79 79
 {
80
-    /**
81
-     * Primary and Replica connection (one of the randomly picked replicas).
82
-     *
83
-     * @var DriverConnection[]|null[]
84
-     */
85
-    protected $connections = ['primary' => null, 'replica' => null];
86
-
87
-    /**
88
-     * You can keep the replica connection and then switch back to it
89
-     * during the request if you know what you are doing.
90
-     *
91
-     * @var bool
92
-     */
93
-    protected $keepReplica = false;
94
-
95
-    /**
96
-     * Creates Primary Replica Connection.
97
-     *
98
-     * @internal The connection can be only instantiated by the driver manager.
99
-     *
100
-     * @param array<string,mixed> $params
101
-     * @psalm-param Params $params
102
-     *
103
-     * @throws Exception
104
-     * @throws InvalidArgumentException
105
-     */
106
-    public function __construct(array $params, Driver $driver, ?Configuration $config = null, ?EventManager $eventManager = null)
107
-    {
108
-    }
109
-
110
-    /**
111
-     * Checks if the connection is currently towards the primary or not.
112
-     */
113
-    public function isConnectedToPrimary(): bool
114
-    {
115
-    }
116
-
117
-    /**
118
-     * @param string|null $connectionName
119
-     *
120
-     * @return bool
121
-     */
122
-    public function connect($connectionName = null)
123
-    {
124
-    }
125
-
126
-    protected function performConnect(?string $connectionName = null): bool
127
-    {
128
-    }
129
-
130
-    /**
131
-     * Connects to the primary node of the database cluster.
132
-     *
133
-     * All following statements after this will be executed against the primary node.
134
-     */
135
-    public function ensureConnectedToPrimary(): bool
136
-    {
137
-    }
138
-
139
-    /**
140
-     * Connects to a replica node of the database cluster.
141
-     *
142
-     * All following statements after this will be executed against the replica node,
143
-     * unless the keepReplica option is set to false and a primary connection
144
-     * was already opened.
145
-     */
146
-    public function ensureConnectedToReplica(): bool
147
-    {
148
-    }
149
-
150
-    /**
151
-     * Connects to a specific connection.
152
-     *
153
-     * @param string $connectionName
154
-     *
155
-     * @return DriverConnection
156
-     *
157
-     * @throws Exception
158
-     */
159
-    protected function connectTo($connectionName)
160
-    {
161
-    }
162
-
163
-    /**
164
-     * @param string  $connectionName
165
-     * @param mixed[] $params
166
-     *
167
-     * @return mixed
168
-     */
169
-    protected function chooseConnectionConfiguration($connectionName, #[SensitiveParameter]
170
-    $params)
171
-    {
172
-    }
173
-
174
-    /**
175
-     * {@inheritDoc}
176
-     */
177
-    public function executeStatement($sql, array $params = [], array $types = [])
178
-    {
179
-    }
180
-
181
-    /**
182
-     * {@inheritDoc}
183
-     */
184
-    public function beginTransaction()
185
-    {
186
-    }
187
-
188
-    /**
189
-     * {@inheritDoc}
190
-     */
191
-    public function commit()
192
-    {
193
-    }
194
-
195
-    /**
196
-     * {@inheritDoc}
197
-     */
198
-    public function rollBack()
199
-    {
200
-    }
201
-
202
-    /**
203
-     * {@inheritDoc}
204
-     */
205
-    public function close()
206
-    {
207
-    }
208
-
209
-    /**
210
-     * {@inheritDoc}
211
-     */
212
-    public function createSavepoint($savepoint)
213
-    {
214
-    }
215
-
216
-    /**
217
-     * {@inheritDoc}
218
-     */
219
-    public function releaseSavepoint($savepoint)
220
-    {
221
-    }
222
-
223
-    /**
224
-     * {@inheritDoc}
225
-     */
226
-    public function rollbackSavepoint($savepoint)
227
-    {
228
-    }
229
-
230
-    public function prepare(string $sql): Statement
231
-    {
232
-    }
80
+	/**
81
+	 * Primary and Replica connection (one of the randomly picked replicas).
82
+	 *
83
+	 * @var DriverConnection[]|null[]
84
+	 */
85
+	protected $connections = ['primary' => null, 'replica' => null];
86
+
87
+	/**
88
+	 * You can keep the replica connection and then switch back to it
89
+	 * during the request if you know what you are doing.
90
+	 *
91
+	 * @var bool
92
+	 */
93
+	protected $keepReplica = false;
94
+
95
+	/**
96
+	 * Creates Primary Replica Connection.
97
+	 *
98
+	 * @internal The connection can be only instantiated by the driver manager.
99
+	 *
100
+	 * @param array<string,mixed> $params
101
+	 * @psalm-param Params $params
102
+	 *
103
+	 * @throws Exception
104
+	 * @throws InvalidArgumentException
105
+	 */
106
+	public function __construct(array $params, Driver $driver, ?Configuration $config = null, ?EventManager $eventManager = null)
107
+	{
108
+	}
109
+
110
+	/**
111
+	 * Checks if the connection is currently towards the primary or not.
112
+	 */
113
+	public function isConnectedToPrimary(): bool
114
+	{
115
+	}
116
+
117
+	/**
118
+	 * @param string|null $connectionName
119
+	 *
120
+	 * @return bool
121
+	 */
122
+	public function connect($connectionName = null)
123
+	{
124
+	}
125
+
126
+	protected function performConnect(?string $connectionName = null): bool
127
+	{
128
+	}
129
+
130
+	/**
131
+	 * Connects to the primary node of the database cluster.
132
+	 *
133
+	 * All following statements after this will be executed against the primary node.
134
+	 */
135
+	public function ensureConnectedToPrimary(): bool
136
+	{
137
+	}
138
+
139
+	/**
140
+	 * Connects to a replica node of the database cluster.
141
+	 *
142
+	 * All following statements after this will be executed against the replica node,
143
+	 * unless the keepReplica option is set to false and a primary connection
144
+	 * was already opened.
145
+	 */
146
+	public function ensureConnectedToReplica(): bool
147
+	{
148
+	}
149
+
150
+	/**
151
+	 * Connects to a specific connection.
152
+	 *
153
+	 * @param string $connectionName
154
+	 *
155
+	 * @return DriverConnection
156
+	 *
157
+	 * @throws Exception
158
+	 */
159
+	protected function connectTo($connectionName)
160
+	{
161
+	}
162
+
163
+	/**
164
+	 * @param string  $connectionName
165
+	 * @param mixed[] $params
166
+	 *
167
+	 * @return mixed
168
+	 */
169
+	protected function chooseConnectionConfiguration($connectionName, #[SensitiveParameter]
170
+	$params)
171
+	{
172
+	}
173
+
174
+	/**
175
+	 * {@inheritDoc}
176
+	 */
177
+	public function executeStatement($sql, array $params = [], array $types = [])
178
+	{
179
+	}
180
+
181
+	/**
182
+	 * {@inheritDoc}
183
+	 */
184
+	public function beginTransaction()
185
+	{
186
+	}
187
+
188
+	/**
189
+	 * {@inheritDoc}
190
+	 */
191
+	public function commit()
192
+	{
193
+	}
194
+
195
+	/**
196
+	 * {@inheritDoc}
197
+	 */
198
+	public function rollBack()
199
+	{
200
+	}
201
+
202
+	/**
203
+	 * {@inheritDoc}
204
+	 */
205
+	public function close()
206
+	{
207
+	}
208
+
209
+	/**
210
+	 * {@inheritDoc}
211
+	 */
212
+	public function createSavepoint($savepoint)
213
+	{
214
+	}
215
+
216
+	/**
217
+	 * {@inheritDoc}
218
+	 */
219
+	public function releaseSavepoint($savepoint)
220
+	{
221
+	}
222
+
223
+	/**
224
+	 * {@inheritDoc}
225
+	 */
226
+	public function rollbackSavepoint($savepoint)
227
+	{
228
+	}
229
+
230
+	public function prepare(string $sql): Statement
231
+	{
232
+	}
233 233
 }
Please login to merge, or discard this patch.
tests/stubs/symfony_component_console_output_consolesectionoutput.php 1 patch
Indentation   +58 added lines, -58 removed lines patch added patch discarded remove patch
@@ -21,70 +21,70 @@
 block discarded – undo
21 21
  */
22 22
 class ConsoleSectionOutput extends StreamOutput
23 23
 {
24
-    /**
25
-     * @param resource               $stream
26
-     * @param ConsoleSectionOutput[] $sections
27
-     */
28
-    public function __construct($stream, array &$sections, int $verbosity, bool $decorated, OutputFormatterInterface $formatter)
29
-    {
30
-    }
24
+	/**
25
+	 * @param resource               $stream
26
+	 * @param ConsoleSectionOutput[] $sections
27
+	 */
28
+	public function __construct($stream, array &$sections, int $verbosity, bool $decorated, OutputFormatterInterface $formatter)
29
+	{
30
+	}
31 31
 
32
-    /**
33
-     * Defines a maximum number of lines for this section.
34
-     *
35
-     * When more lines are added, the section will automatically scroll to the
36
-     * end (i.e. remove the first lines to comply with the max height).
37
-     */
38
-    public function setMaxHeight(int $maxHeight): void
39
-    {
40
-    }
32
+	/**
33
+	 * Defines a maximum number of lines for this section.
34
+	 *
35
+	 * When more lines are added, the section will automatically scroll to the
36
+	 * end (i.e. remove the first lines to comply with the max height).
37
+	 */
38
+	public function setMaxHeight(int $maxHeight): void
39
+	{
40
+	}
41 41
 
42
-    /**
43
-     * Clears previous output for this section.
44
-     *
45
-     * @param int $lines Number of lines to clear. If null, then the entire output of this section is cleared
46
-     *
47
-     * @return void
48
-     */
49
-    public function clear(?int $lines = null)
50
-    {
51
-    }
42
+	/**
43
+	 * Clears previous output for this section.
44
+	 *
45
+	 * @param int $lines Number of lines to clear. If null, then the entire output of this section is cleared
46
+	 *
47
+	 * @return void
48
+	 */
49
+	public function clear(?int $lines = null)
50
+	{
51
+	}
52 52
 
53
-    /**
54
-     * Overwrites the previous output with a new message.
55
-     *
56
-     * @return void
57
-     */
58
-    public function overwrite(string|iterable $message)
59
-    {
60
-    }
53
+	/**
54
+	 * Overwrites the previous output with a new message.
55
+	 *
56
+	 * @return void
57
+	 */
58
+	public function overwrite(string|iterable $message)
59
+	{
60
+	}
61 61
 
62
-    public function getContent(): string
63
-    {
64
-    }
62
+	public function getContent(): string
63
+	{
64
+	}
65 65
 
66
-    public function getVisibleContent(): string
67
-    {
68
-    }
66
+	public function getVisibleContent(): string
67
+	{
68
+	}
69 69
 
70
-    /**
71
-     * @internal
72
-     */
73
-    public function addContent(string $input, bool $newline = true): int
74
-    {
75
-    }
70
+	/**
71
+	 * @internal
72
+	 */
73
+	public function addContent(string $input, bool $newline = true): int
74
+	{
75
+	}
76 76
 
77
-    /**
78
-     * @internal
79
-     */
80
-    public function addNewLineOfInputSubmit(): void
81
-    {
82
-    }
77
+	/**
78
+	 * @internal
79
+	 */
80
+	public function addNewLineOfInputSubmit(): void
81
+	{
82
+	}
83 83
 
84
-    /**
85
-     * @return void
86
-     */
87
-    protected function doWrite(string $message, bool $newline)
88
-    {
89
-    }
84
+	/**
85
+	 * @return void
86
+	 */
87
+	protected function doWrite(string $message, bool $newline)
88
+	{
89
+	}
90 90
 }
Please login to merge, or discard this patch.
tests/stubs/doctrine_dbal_schema_constraint.php 1 patch
Indentation   +32 added lines, -32 removed lines patch added patch discarded remove patch
@@ -11,39 +11,39 @@
 block discarded – undo
11 11
  */
12 12
 interface Constraint
13 13
 {
14
-    /** @return string */
15
-    public function getName()
16
-    {
17
-    }
14
+	/** @return string */
15
+	public function getName()
16
+	{
17
+	}
18 18
 
19
-    /** @return string */
20
-    public function getQuotedName(AbstractPlatform $platform)
21
-    {
22
-    }
19
+	/** @return string */
20
+	public function getQuotedName(AbstractPlatform $platform)
21
+	{
22
+	}
23 23
 
24
-    /**
25
-     * Returns the names of the referencing table columns
26
-     * the constraint is associated with.
27
-     *
28
-     * @return string[]
29
-     */
30
-    public function getColumns()
31
-    {
32
-    }
24
+	/**
25
+	 * Returns the names of the referencing table columns
26
+	 * the constraint is associated with.
27
+	 *
28
+	 * @return string[]
29
+	 */
30
+	public function getColumns()
31
+	{
32
+	}
33 33
 
34
-    /**
35
-     * Returns the quoted representation of the column names
36
-     * the constraint is associated with.
37
-     *
38
-     * But only if they were defined with one or a column name
39
-     * is a keyword reserved by the platform.
40
-     * Otherwise the plain unquoted value as inserted is returned.
41
-     *
42
-     * @param AbstractPlatform $platform The platform to use for quotation.
43
-     *
44
-     * @return string[]
45
-     */
46
-    public function getQuotedColumns(AbstractPlatform $platform)
47
-    {
48
-    }
34
+	/**
35
+	 * Returns the quoted representation of the column names
36
+	 * the constraint is associated with.
37
+	 *
38
+	 * But only if they were defined with one or a column name
39
+	 * is a keyword reserved by the platform.
40
+	 * Otherwise the plain unquoted value as inserted is returned.
41
+	 *
42
+	 * @param AbstractPlatform $platform The platform to use for quotation.
43
+	 *
44
+	 * @return string[]
45
+	 */
46
+	public function getQuotedColumns(AbstractPlatform $platform)
47
+	{
48
+	}
49 49
 }
Please login to merge, or discard this patch.
tests/stubs/doctrine_dbal_driver_exception.php 1 patch
Indentation   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -9,14 +9,14 @@
 block discarded – undo
9 9
 /** @psalm-immutable */
10 10
 interface Exception extends Throwable
11 11
 {
12
-    /**
13
-     * Returns the SQLSTATE the driver was in at the time the error occurred.
14
-     *
15
-     * Returns null if the driver does not provide a SQLSTATE for the error occurred.
16
-     *
17
-     * @return string|null
18
-     */
19
-    public function getSQLState()
20
-    {
21
-    }
12
+	/**
13
+	 * Returns the SQLSTATE the driver was in at the time the error occurred.
14
+	 *
15
+	 * Returns null if the driver does not provide a SQLSTATE for the error occurred.
16
+	 *
17
+	 * @return string|null
18
+	 */
19
+	public function getSQLState()
20
+	{
21
+	}
22 22
 }
Please login to merge, or discard this patch.
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 1 patch
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.
tests/stubs/symfony_component_console_output_output.php 1 patch
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.
...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.