Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 1a68ab3

Browse filesBrowse files
author
Ahmed Raafat
committed
[FrameworkBundle] Patch console.php
1 parent 1d16ccf commit 1a68ab3
Copy full SHA for 1a68ab3

File tree

Expand file treeCollapse file tree

1 file changed

+40
-41
lines changed
Filter options
  • src/Symfony/Bundle/FrameworkBundle/Resources/config
Expand file treeCollapse file tree

1 file changed

+40
-41
lines changed

‎src/Symfony/Bundle/FrameworkBundle/Resources/config/console.php

Copy file name to clipboardExpand all lines: src/Symfony/Bundle/FrameworkBundle/Resources/config/console.php
+40-41Lines changed: 40 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111

1212
namespace Symfony\Component\DependencyInjection\Loader\Configurator;
1313

14-
1514
use Symfony\Bundle\FrameworkBundle\Command\AboutCommand;
1615
use Symfony\Bundle\FrameworkBundle\Command\AssetsInstallCommand;
1716
use Symfony\Bundle\FrameworkBundle\Command\CacheClearCommand;
@@ -67,44 +66,44 @@
6766
->set('console.command.assets_install', AssetsInstallCommand::class)
6867
->args([
6968
service('filesystem'),
70-
param('kernel.project_dir')
69+
param('kernel.project_dir'),
7170
])
7271
->tag('console.command', ['command' => 'assets:install'])
7372

7473
->set('console.command.cache_clear', CacheClearCommand::class)
7574
->args([
7675
service('cache_clearer'),
77-
service('filesystem')
76+
service('filesystem'),
7877
])
7978
->tag('console.command', ['command' => 'cache:clear'])
8079

8180
->set('console.command.cache_pool_clear', CachePoolClearCommand::class)
8281
->args([
83-
service('cache.global_clearer')
82+
service('cache.global_clearer'),
8483
])
8584
->tag('console.command', ['command' => 'cache:pool:clear'])
8685

8786
->set('console.command.cache_pool_prune', CachePoolPruneCommand::class)
8887
->args([
89-
[]
88+
[],
9089
])
9190
->tag('console.command', ['command' => 'cache:pool:prune'])
9291

9392
->set('console.command.cache_pool_delete', CachePoolDeleteCommand::class)
9493
->args([
95-
service('cache.global_clearer')
94+
service('cache.global_clearer'),
9695
])
9796
->tag('console.command', ['command' => 'cache:pool:delete'])
9897

9998
->set('console.command.cache_pool_list', CachePoolListCommand::class)
10099
->args([
101-
null
100+
null,
102101
])
103102
->tag('console.command', ['command' => 'cache:pool:list'])
104103

105104
->set('console.command.cache_warmup', CacheWarmupCommand::class)
106105
->args([
107-
service('cache_warmer')
106+
service('cache_warmer'),
108107
])
109108
->tag('console.command', ['command' => 'cache:warmup'])
110109

@@ -123,81 +122,81 @@
123122
->set('console.command.debug_autowiring', DebugAutowiringCommand::class)
124123
->args([
125124
null,
126-
service('debug.file_link_formatter')->nullOnInvalid()
125+
service('debug.file_link_formatter')->nullOnInvalid(),
127126
])
128127
->tag('console.command', ['command' => 'debug:autowiring'])
129128

130129
->set('console.command.event_dispatcher_debug', EventDispatcherDebugCommand::class)
131130
->args([
132-
service('event_dispatcher')
131+
service('event_dispatcher'),
133132
])
134133
->tag('console.command', ['command' => 'debug:event-dispatcher'])
135134

136135
->set('console.command.messenger_consume_messages', ConsumeMessagesCommand::class)
137136
->args([
138-
null, # Routable message bus
137+
null, // Routable message bus
139138
service('messenger.receiver_locator'),
140139
service('event_dispatcher'),
141140
service('logger')->nullOnInvalid(),
142-
[] # Receiver names
141+
[], // Receiver names
143142
])
144143
->tag('console.command', ['command' => 'messenger:consume'])
145144
->tag('monolog.logger', ['channel' => 'messenger'])
146145

147146
->set('console.command.messenger_setup_transports', SetupTransportsCommand::class)
148147
->args([
149148
service('messenger.receiver_locator'),
150-
[] # Receiver names
149+
[], // Receiver names
151150
])
152151
->tag('console.command', ['command' => 'messenger:setup-transports'])
153152

154153
->set('console.command.messenger_debug', DebugCommand::class)
155154
->args([
156-
[] # Message to handlers mapping
155+
[], // Message to handlers mapping
157156
])
158157
->tag('console.command', ['command' => 'debug:messenger'])
159158

160159
->set('console.command.messenger_stop_workers', StopWorkersCommand::class)
161160
->args([
162-
service('cache.messenger.restart_workers_signal')
161+
service('cache.messenger.restart_workers_signal'),
163162
])
164163
->tag('console.command', ['command' => 'messenger:stop-workers'])
165164

166165
->set('console.command.messenger_failed_messages_retry', FailedMessagesRetryCommand::class)
167166
->args([
168-
null, # Receiver name
169-
null, # Receiver
167+
null, // Receiver name
168+
null, // Receiver
170169
service('messenger.routable_message_bus'),
171170
service('event_dispatcher'),
172-
service('logger')
171+
service('logger'),
173172
])
174173
->tag('console.command', ['command' => 'messenger:failed:retry'])
175174

176175
->set('console.command.messenger_failed_messages_show', FailedMessagesShowCommand::class)
177176
->args([
178-
null, # Receiver name
179-
null # Receiver
177+
null, // Receiver name
178+
null, // Receiver
180179
])
181180
->tag('console.command', ['command' => 'messenger:failed:show'])
182181

183182
->set('console.command.messenger_failed_messages_remove', FailedMessagesRemoveCommand::class)
184183
->args([
185-
null, # Receiver name
186-
null # Receiver
184+
null, // Receiver name
185+
null, // Receiver
187186
])
188187
->tag('console.command', ['command' => 'messenger:failed:remove'])
189188

190189
->set('console.command.router_debug', RouterDebugCommand::class)
191190
->args([
192191
service('router'),
193-
service('debug.file_link_formatter')->nullOnInvalid()
192+
service('debug.file_link_formatter')->nullOnInvalid(),
194193
])
195194
->tag('console.command', ['command' => 'debug:router'])
196195

197196
->set('console.command.router_match', RouterMatchCommand::class)
198197
->args([
199198
service('router'),
200-
tagged_iterator('routing.expression_language_provider')
199+
tagged_iterator('routing.expression_language_provider'),
201200
])
202201
->tag('console.command', ['command' => 'router:match'])
203202

@@ -207,9 +206,9 @@
207206
service('translation.reader'),
208207
service('translation.extractor'),
209208
param('translator.default_path'),
210-
null, # twig.default_path
211-
[], # Translator paths
212-
[] # Twig paths
209+
null, // twig.default_path
210+
[], // Translator paths
211+
[], // Twig paths
213212
])
214213
->tag('console.command', ['command' => 'debug:translation'])
215214

@@ -220,9 +219,9 @@
220219
service('translation.extractor'),
221220
param('kernel.default_locale'),
222221
param('translator.default_path'),
223-
null, # twig.default_path
224-
[], # Translator paths
225-
[], # Twig paths
222+
null, // twig.default_path
223+
[], // Translator paths
224+
[], // Twig paths
226225
])
227226
->tag('console.command', ['command' => 'translation:update'])
228227

@@ -238,53 +237,53 @@
238237
->set('console.command.form_debug', \Symfony\Component\Form\Command\DebugCommand::class)
239238
->args([
240239
service('form.registry'),
241-
[], # All form types namespaces are stored here by FormPass
242-
[], # All services form types are stored here by FormPass
243-
[], # All type extensions are stored here by FormPass
244-
[], # All type guessers are stored here by FormPass
245-
service('debug.file_link_formatter')->nullOnInvalid()
240+
[], // All form types namespaces are stored here by FormPass
241+
[], // All services form types are stored here by FormPass
242+
[], // All type extensions are stored here by FormPass
243+
[], // All type guessers are stored here by FormPass
244+
service('debug.file_link_formatter')->nullOnInvalid(),
246245
])
247246
->tag('console.command', ['command' => 'debug:form'])
248247

249248
->set('console.command.secrets_set', SecretsSetCommand::class)
250249
->args([
251250
service('secrets.vault'),
252-
service('secrets.local_vault')->nullOnInvalid()
251+
service('secrets.local_vault')->nullOnInvalid(),
253252
])
254253
->tag('console.command', ['command' => 'secrets:set'])
255254

256255
->set('console.command.secrets_remove', SecretsRemoveCommand::class)
257256
->args([
258257
service('secrets.vault'),
259-
service('secrets.local_vault')->nullOnInvalid()
258+
service('secrets.local_vault')->nullOnInvalid(),
260259
])
261260
->tag('console.command', ['command' => 'secrets:remove'])
262261

263262
->set('console.command.secrets_generate_key', SecretsGenerateKeysCommand::class)
264263
->args([
265264
service('secrets.vault'),
266-
service('secrets.local_vault')->ignoreOnInvalid()
265+
service('secrets.local_vault')->ignoreOnInvalid(),
267266
])
268267
->tag('console.command', ['command' => 'secrets:generate-keys'])
269268

270269
->set('console.command.secrets_list', SecretsListCommand::class)
271270
->args([
272271
service('secrets.vault'),
273-
service('secrets.local_vault')
272+
service('secrets.local_vault'),
274273
])
275274
->tag('console.command', ['command' => 'secrets:list'])
276275

277276
->set('console.command.secrets_decrypt_to_local', SecretsDecryptToLocalCommand::class)
278277
->args([
279278
service('secrets.vault'),
280-
service('secrets.local_vault')->ignoreOnInvalid()
279+
service('secrets.local_vault')->ignoreOnInvalid(),
281280
])
282281
->tag('console.command', ['command' => 'secrets:decrypt-to-local'])
283282

284283
->set('console.command.secrets_encrypt_from_local', SecretsEncryptFromLocalCommand::class)
285284
->args([
286285
service('secrets.vault'),
287-
service('secrets.local_vault')
286+
service('secrets.local_vault'),
288287
])
289288
->tag('console.command', ['command' => 'secrets:encrypt-from-local'])
290289
;

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.