31 Commits

Author SHA1 Message Date
Nicolas Grekas
b57dbf0e02 Backport type fixes 2021-07-03 11:06:48 +02:00
Javier Eguiluz
75af0977ef [FrameworkBundle] Make debug:event-dispatcher search case insensitive 2021-04-26 16:11:51 +02:00
Fabien Potencier
3f8b570669 Merge branch '5.2' into 5.x
* 5.2:
  Fix #36973: Command description consistency
  Render email once
2021-03-06 09:05:19 +01:00
Dane Powell
1d7c9a5590 Fix #36973: Command description consistency 2021-03-05 09:58:50 -08:00
Nicolas Grekas
a2ab2c0854 [Console] enable describing commands in ways that make the list command lazy 2021-01-20 12:45:16 +01:00
Timo Bakx
16d889bae2 [FrameworkBundle] Added option to specify the event dispatcher in debug:event-dispatcher 2020-12-05 20:54:21 +01:00
Nyholm
192380e9e6 Search for pattern on debug:event-dispatcher 2020-12-05 16:37:50 +01:00
Jan Schädlich
38fc5d8a95 [Console] Command::execute() should always return int - deprecate returning null
- added deprecation message for non-int return value in Command::execute()
- fixed all core commands to return proper int values
- added proper return type-hint to Command::execute() method in all core Commands
2019-10-02 16:44:58 +02:00
Fabien Potencier
445fdbb53f Merge branch '3.4' into 4.1
* 3.4:
  fixed CS
  fixed short array CS in comments
  fixed CS in ExpressionLanguage fixtures
  fixed CS in generated files
  fixed CS on generated container files
  fixed CS on Form PHP templates
  fixed CS on YAML fixtures
  fixed fixtures
  switched array() to []
2019-01-16 19:21:11 +01:00
Fabien Potencier
ce7ef306e9 switched array() to [] 2019-01-16 10:39:14 +01:00
Nicolas Grekas
f262579e4a Merge branch '3.4' into 4.0
* 3.4:
  Alpha-ordering for "use" statements
2018-07-26 11:08:35 +02:00
Nicolas Grekas
a281fdb702 Merge branch '2.8' into 3.4
* 2.8:
  Alpha-ordering for "use" statements
2018-07-26 11:06:28 +02:00
Nicolas Grekas
f607411732 Alpha-ordering for "use" statements 2018-07-26 11:03:18 +02:00
Fabien Potencier
8637e5ae14 removed version in @final @internal for version < 4.0 2018-02-19 13:18:43 +01:00
Fabien Potencier
e1b6229e5b fixed some deprecation messages 2017-12-31 07:59:27 +01:00
Robin Chalas
b55ab43a35 Fix deprecations regarding core commands registered as services 2017-09-03 16:43:38 +02:00
Nicolas Grekas
4b45f7ba73 Merge branch '3.4'
* 3.4:
  [Console] Add protected static $defaultName to set the default name of a Command
  removed sf2 references
  [Console] Allow commands to provide a default name for compile time registration
  [DI] Case sensitive parameter names
2017-08-25 12:57:40 +02:00
Nicolas Grekas
e67bd5317c [Console] Add protected static $defaultName to set the default name of a Command 2017-08-24 16:43:56 +02:00
Christian Flothmann
669ccec4a6 remove deprecated code 2017-08-07 13:47:51 +02:00
Roland Franssen
03fc075730 Continuation of #23624 2017-08-06 20:13:14 +02:00
Roland Franssen
fcda14c5ee [FrameworkBundle] Commands as a service 2017-08-06 12:29:12 +02:00
Robin Chalas
6430d552d7 [FrameworkBundle] Use getErrorStyle() when relevant 2017-01-12 21:28:11 +01:00
Robin Chalas
629ff1b940 [FrameworkBundle] Make use of stderr for non reliable output 2017-01-12 21:28:11 +01:00
Nicolas Grekas
f359835f66 Merge branch '2.7' into 2.8
* 2.7:
  CS fixes
  Remove trailing space
  CS: apply rules
  [Yaml] Clean some messages + add test case
  [Form] Fix UrlType transforms valid protocols
  [SecurityBundle] Changed encoder configuration example to bcrypt
2016-11-03 08:52:58 +01:00
Dariusz Ruminski
bc2d18d4ff CS: apply rules 2016-11-03 08:44:53 +01:00
Javier Eguiluz
2c82847027 Improved the code of the commands that use the new SymfonyStyle class 2015-12-07 22:56:39 +01:00
Javier Eguiluz
1f55425c43 Updated the style of the event commands 2015-10-02 18:40:54 +02:00
Fabien Potencier
edd563036f added supported format in commands supporting --format 2015-05-20 10:16:32 +02:00
Matthieu Auger
00346635b0 Displays friendly message if the event does not have any registered listeners 2015-03-26 13:59:20 +01:00
Fabien Potencier
e57a4f84f8 removed non-sense example 2015-02-04 15:27:24 +01:00
Matthieu Auger
731e863f14 [FrameworkBundle] Add Event Dispatcher debug command 2014-08-18 13:47:30 +02:00