Dariusz Ruminski
be639dea57
chore: heredoc indentation as of PHP 7.3
...
https://www.php.net/manual/en/language.types.string.php#language.types.string.syntax.heredoc
2025-08-10 00:28:14 +02:00
Fabien Potencier
900b8add71
Unify how --format is handle by commands
2024-06-26 08:46:14 +02:00
Alexander M. Turek
4875a8487f
Prefix all sprintf() calls
2024-06-20 17:52:34 +02:00
Alexander M. Turek
427ab31004
[FrameworkBundle] Use CPP
2024-02-09 15:31:28 +01:00
Antoine Lamirault
e614e5e566
Harmonize command formats and ensure autocompletion is same
2023-04-08 09:25:02 +02:00
Wouter de Jong
34bd487d2e
Add void return types
2023-02-13 14:18:23 +01:00
Grégoire Pineau
fb7ade8fab
[CS] Remove @inheritdoc PHPDoc
2022-08-25 17:27:04 +02:00
Fabien Potencier
dd3bf10773
Revert "bug #44494 Remove FQCN type hints on properties (fabpot)"
...
This reverts commit 0a13eba7037c6636be7a35c194d7d2e86d6ea6ba, reversing
changes made to e4cfa82c31ffda491b73e181c8d3d4e0a307eee8.
2021-12-09 13:46:12 +01:00
Fabien Potencier
a871a08baa
Remove FQCN type hints on properties
2021-12-08 16:13:44 +01:00
Nicolas Grekas
5fee6ef95d
Merge branch '5.4' into 6.0
...
* 5.4:
[Security] Do not overwrite already stored tokens for REMOTE_USER authentication
[Validator] Fix validation for single level domains
[Notifier] add Vonage bridge to replace the Nexmo one
Fix redundant type casts
Increased the reserved memory from 10k to 32k
Complete event name & dispatcher in EventDispatcherDebugCommand
[DoctrineBridge] Add DbalLoggerTest to group legacy
Leverage DBAL's getNativeConnection() method
[FrameworkBundle] Fix property-info phpstan extractor discovery
Fix idempotency of LocoProvider write method
2021-11-29 16:32:57 +01:00
Khoo Yong Jun
461b6a87bc
Complete event name & dispatcher in EventDispatcherDebugCommand
2021-11-29 00:43:16 +01:00
Alexander M. Turek
bf9d0d4969
[FrameworkBundle] Add types to private properties
2021-11-02 11:55:16 +01:00
Nicolas Grekas
54788c67a5
Use #[AsCommand] to describe commands
2021-09-30 17:28:07 +02:00
Nicolas Grekas
b57dbf0e02
Backport type fixes
2021-07-03 11:06:48 +02:00
Nicolas Grekas
6e1849b890
[FrameworkBundle] add union types
2021-06-30 18:19:31 +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