18 Commits

Author SHA1 Message Date
Nicolas Grekas
aeae70599a Merge branch '6.4' into 7.3
* 6.4:
  [HttpClient] Fix ever growing $maxHostConnections
  Fix typo
  [DependencyInjection] Fix referencing build-time array parameters
  cs fix
  [FrameworkBundle] Fix cache:pool:prune exit code on failure
  [Form] Always normalize CRLF and CR to LF in `TextareaType`
  [Cache] Fix stampede protection when forcing item recomputation
  [Console] Fix EofShortcut instruction when using a modern terminal on Windows
  [Console] Fix choice autocomplete issue when string has spaces
  [Serializer] Fix inconsistent field naming from accessors when using groups
  [Finder] Fix converting unanchored glob patterns to regex
2025-12-23 15:45:27 +01:00
Younes ENNAJI
21a6e4f608 [FrameworkBundle] Fix cache:pool:prune exit code on failure 2025-12-23 11:57:45 +01: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
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
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
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
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
Nicolas Grekas
a8e73bb539 Merge branch '3.4' into 4.0
* 3.4: (24 commits)
  moved Twig runtime to proper class
  fixed deprecated messages in tests
  add PHP errors options to XML schema definition
  [HttpCache] Unlink tmp file on error
  Added LB translation for #26327 (Errors sign for people that do not see colors)
  [TwigBridge] Fix rendering of currency by MoneyType
  Import InvalidArgumentException in PdoAdapter
  [DI] Do not suggest writing an implementation when multiple exist
  [Intl] Update ICU data to 61.1
  Use 3rd person verb form in command description
  [Validator] Add Japanese translation
  Support phpdbg SAPI in Debug::enable()
  [HttpKernel] DumpDataCollector: do not flush when a dumper is provided
  [DI] Fix hardcoded cache dir for warmups
  [Routing] fix tests
  [Routing] Fixed the importing of files using glob patterns that match multiple resources
  [Ldap] cast to string when checking empty passwords
  [Validator] sync validator translation id
  [WebProfilerBundle] use the router to resolve file links
  no type errors with invalid submitted data types
  ...
2018-04-02 11:52:41 +02:00
Marco Petersen
e9406177e1 Use 3rd person verb form in command description 2018-03-27 23:06:51 +02:00
Nicolas Grekas
4336665c1b Replace more docblocks by type-hints 2017-11-07 15:45:01 +01: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
Rob Frawley 2nd
a8e3ebc2e7 add (filesystem|phpfiles) cache (adapter|simple) prune method and prune command
- added `Symfony\Component\Cache\PruneableInterface` so PSR-6 or PSR-16 cache implementations can declare support
  for manual stale cache pruning
- added FilesystemTrait::prune() and PhpFilesTrait::prune() implementations
- now FilesystemAdapter, PhpFilesAdapter, FilesystemCache, and PhpFilesCache implement PruneableInterface and
  supports manual stale cache pruning
- Added `cache:pool:prune` command via `Symfony\Bundle\FrameworkBundle\Command\CachePoolPruneCommand` to allow
  manual stale cache item pruning of supported PSR-6 and PSR-16 cache pool implementations
- Added `Symfony\Bundle\FrameworkBundle\DependencyInjection\Compiler\CachePoolPrunerPass` compiler pass to fetch
  all cache pools implementing `PruneableInterface` and pass them to the command as an `IteratorArgument` so
  these references are lazy loaded by the command
- updated changelogs as appropriate
2017-07-20 11:29:24 -04:00