54 Commits

Author SHA1 Message Date
Nicolas Grekas 23ab5dfd99 Merge branch '7.3' into 7.4
* 7.3:
  remove deprecated nullable option from primary key columns
  specific fix to avoid 'outag' when inflecting 'outages'
  [DependencyInjection] Don’t autowire excluded services
  Add bool return type to CustomCredentials callable parameter
  [Process] Enhance hasSystemCallBeenInterrupted function for non-english locale
  [FrameworkBundle] Make `cache:warmup` warm up read-only caches
2025-08-18 11:46:12 +02:00
Nicolas Grekas a929d4d834 Merge branch '6.4' into 7.3
* 6.4:
  remove deprecated nullable option from primary key columns
  specific fix to avoid 'outag' when inflecting 'outages'
  [Process] Enhance hasSystemCallBeenInterrupted function for non-english locale
  [FrameworkBundle] Make `cache:warmup` warm up read-only caches
2025-08-18 11:42:54 +02:00
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
matlec fb46cca134 [FrameworkBundle] Make cache:warmup warm up read-only caches 2025-07-31 09:28:27 +02:00
Nicolas Grekas 291b51ee99 CS fixes 2025-07-10 10:14: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
Quentin Devos 38e4119048 [FrameworkBundle][HttpKernel] Introduce $buildDir argument to WarmableInterface::warmup to warm read-only artefacts in build_dir 2023-10-17 13:35:41 +02:00
Nicolas Grekas e5123df58f Merge branch '5.4' into 6.3
* 5.4:
  [FrameworkBundle] Configure `logger` as error logger if the Monolog Bundle is not registered
  DX: PHP CS Fixer - drop explicit nullable_type_declaration_for_default_null_value config, as it's part of ruleset anyway
  Revert "Add keyword `dev` to leverage composer hint"
  [Validator] Add missing Ukrainian translations #51960
  [Validator] Add missing translations for Indonesian (id)
  [Validator] Add missing translations for Vietnamese (VI)
  Add missing Validator translations - Croatian (hr)
  Run high-deps tests with ORM 3 and DBAL 4
  [FrameworkBundle] Fix calling Kernel::warmUp() when running cache:warmup
2023-10-12 17:02:41 +02:00
Nicolas Grekas b4b95d4805 [FrameworkBundle] Fix calling Kernel::warmUp() when running cache:warmup 2023-10-10 17:11:37 +02:00
Wouter de Jong 34bd487d2e Add void return types 2023-02-13 14:18:23 +01:00
Fabien Potencier 388fb7c2ad Merge branch '6.1' into 6.2
* 6.1:
  [LokaliseBridge] Fix push command --delete-missing options when there are no missing messages
  fix bad help message in cache warmup command
  [Console] Fix OutputFormatterStyleStack::getCurrent return type
  Count cookie parts before accessing the second
  Fix RequestStack state if throwable is thrown
  [Serializer] Fix caching context-aware encoders/decoders in ChainEncoder/ChainDecoder
  [Serializer] Revert deprecation of `ContextAwareEncoderInterface` and `ContextAwareDecoderInterface`
2022-08-26 12:37:50 +02:00
Fabien Potencier 112525896e Merge branch '6.0' into 6.1
* 6.0:
  [LokaliseBridge] Fix push command --delete-missing options when there are no missing messages
  fix bad help message in cache warmup command
  [Console] Fix OutputFormatterStyleStack::getCurrent return type
  Count cookie parts before accessing the second
  Fix RequestStack state if throwable is thrown
  [Serializer] Fix caching context-aware encoders/decoders in ChainEncoder/ChainDecoder
2022-08-26 12:32:31 +02:00
Fabien Potencier 735fb84df7 Merge branch '5.4' into 6.0
* 5.4:
  [LokaliseBridge] Fix push command --delete-missing options when there are no missing messages
  fix bad help message in cache warmup command
  Count cookie parts before accessing the second
  Fix RequestStack state if throwable is thrown
  [Serializer] Fix caching context-aware encoders/decoders in ChainEncoder/ChainDecoder
2022-08-26 12:32:20 +02:00
Fabien Potencier 9dbd0dcbd6 Merge branch '4.4' into 5.4
* 4.4:
  fix bad help message in cache warmup command
  Fix RequestStack state if throwable is thrown
  [Serializer] Fix caching context-aware encoders/decoders in ChainEncoder/ChainDecoder
2022-08-26 12:32:10 +02:00
Grégoire Pineau fb7ade8fab [CS] Remove @inheritdoc PHPDoc 2022-08-25 17:27:04 +02:00
Houssem 6b96805c2a fix bad help message in cache warmup command 2022-08-24 12:19:08 +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
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
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
Fabien Potencier a26f088761 Merge branch '4.4' into 5.2
* 4.4:
  Fix #36973: Command description consistency
  Render email once
2021-03-06 08:59:01 +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
Thomas Calvet dff609fcd7 [FrameworkBundle][CacheWarmupCommand] Append files to preload 2020-04-30 16:30:59 +02: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
Christian Flothmann 41b12b1a8c improve deprecation messages 2018-07-08 21:14:58 +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
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
Nicolas Grekas f958a2536e Merge branch '2.7' into 2.8
* 2.7:
  [travis] timeout the sigchild tests at 60s
  CS: Single line comments should use double slashes (//) and not hash (#).
  Do not use HttpKernel Extension when not needed for 2.7
  Do not use HttpKernel Extension when not needed
  bumped Symfony version to 2.7.9
  updated VERSION for 2.7.8
  updated CHANGELOG for 2.7.8
  bumped Symfony version to 2.3.37
  updated VERSION for 2.3.36
  update CONTRIBUTORS for 2.3.36
  updated CHANGELOG for 2.3.36
  Revert "Revert "bug #17052 [2.7] Fixed flatten exception recursion with errors (GrahamCampbell)""
  Revert "bug #17052 [2.7] Fixed flatten exception recursion with errors (GrahamCampbell)"
  use nowdoc instead of heredoc

Conflicts:
	src/Symfony/Component/DependencyInjection/Dumper/PhpDumper.php
	src/Symfony/Component/HttpKernel/Kernel.php
	src/Symfony/Component/Security/Acl/Dbal/AclProvider.php
	src/Symfony/Component/Security/Acl/Dbal/MutableAclProvider.php
2015-12-28 14:12:56 +01:00
Nicolas Grekas ec68069101 Merge branch '2.3' into 2.7
* 2.3:
  [travis] timeout the sigchild tests at 60s
  CS: Single line comments should use double slashes (//) and not hash (#).
  Do not use HttpKernel Extension when not needed
  bumped Symfony version to 2.3.37
  updated VERSION for 2.3.36
  update CONTRIBUTORS for 2.3.36
  updated CHANGELOG for 2.3.36
  use nowdoc instead of heredoc

Conflicts:
	src/Symfony/Bundle/FrameworkBundle/Command/ConfigDumpReferenceCommand.php
	src/Symfony/Bundle/FrameworkBundle/Command/RouterApacheDumperCommand.php
	src/Symfony/Bundle/FrameworkBundle/Command/RouterMatchCommand.php
	src/Symfony/Bundle/FrameworkBundle/Translation/Translator.php
	src/Symfony/Bundle/TwigBundle/Command/LintCommand.php
	src/Symfony/Component/Config/Tests/Definition/Dumper/YamlReferenceDumperTest.php
	src/Symfony/Component/Debug/ExceptionHandler.php
	src/Symfony/Component/HttpKernel/Kernel.php
	src/Symfony/Component/Routing/Generator/Dumper/PhpGeneratorDumper.php
2015-12-28 14:11:03 +01:00
Gregor Harlan 7e13ebbd82 use nowdoc instead of heredoc 2015-12-21 17:05:00 +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
Fabien Potencier 6252be3540 fixed typos 2015-09-28 23:18:42 +02:00
Javier Eguiluz c47a0e64a1 Updated the styles for the "cache:warmup" command 2015-09-28 18:28:16 +02:00
Luis Cordova 2ae9039d45 clean up commands from framework bundle 2014-03-12 23:58:17 -05:00
Tobias Schultze 4911e1835a [FramworkBundle] fix phpdoc of commands 2013-03-07 14:36:36 +01:00
Fabien Potencier c76b31b0ba [FrameworkBundle] added a note about the classes cache 2012-07-05 08:00:39 +02:00
Fabien Potencier 518fe8a9a7 reverted #4542 2012-07-05 07:56:16 +02:00
Jordan Alliot 2b495407b9 [FrameworkBundle] Generate the class cache when warming up the cache 2012-06-09 22:38:58 +02:00
Tobias Schultze 3759b3130e replaced command names with supported placeholders in help texts 2012-03-21 05:31:52 +01:00
Jeremy Mikola 6a2eb2e891 [FrameworkBundle] Allow cache:clear/warmup to skip optional warmers 2012-02-08 20:16:02 -05:00