22 Commits

Author SHA1 Message Date
Christian Flothmann
e61842281e Merge branch '6.4' into 7.4
* 6.4:
  remove usages of the deprecated any() invoked count expectation
  Minor: Fix Portuguese (pt) translations for validators
  [Serializer] Fix passing context option to property-info
  [CssSelector] Add LRU cache to CssSelectorConverter
2026-02-17 08:53:42 +01:00
Christian Flothmann
51b8af9e60 remove usages of the deprecated any() invoked count expectation 2026-02-16 21:44:03 +01:00
Nicolas Grekas
035eb259ee Merge branch '7.3' into 7.4
* 7.3:
  [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] Do not call non-static method via class-name
  [Console] Fix choice autocomplete issue when string has spaces
  Update SameOriginCsrfTokenManager.php
  [Serializer] Fix inconsistent field naming from accessors when using groups
  [Finder] Fix converting unanchored glob patterns to regex
2025-12-23 15:50:43 +01:00
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
Nicolas Grekas
0ab60c0557 Fix typo 2025-12-23 15:16:13 +01:00
Nicolas Grekas
57b5b0c8f9 cs fix 2025-12-23 12:00:51 +01:00
Younes ENNAJI
21a6e4f608 [FrameworkBundle] Fix cache:pool:prune exit code on failure 2025-12-23 11:57:45 +01:00
HypeMC
ccdd87db3c [Console] Simplify using invokable commands when the component is used standalone 2025-06-09 17:40:54 +02:00
Christian Flothmann
2ce6f817c4 do not mock the ContainerInterface 2024-01-17 17:02:35 +01:00
tigitz
b46d202008 Leverage arrow function syntax for closure 2023-01-13 10:22:59 +01:00
Nicolas Grekas
2f3f5384cd Bump minimum version of PHP to 8.1 2022-02-25 12:15:52 +01:00
Tobias Schultze
b616b87fad fix intersection types in tests 2021-07-21 15:02:15 +02:00
Nicolas Grekas
bd920dd158 Fix intersection types on tests 2021-07-21 13:47:49 +02:00
Oskar Stark
790f1db60d Use createMock() and use import instead of FQCN 2021-01-27 10:09:26 +01:00
Fabien Potencier
4b671a1bd4 Use ::class keyword when possible 2021-01-11 09:57:50 +01:00
Nicolas Grekas
a1e07c5276 Merge branch '3.4' into 4.3
* 3.4:
  [Form] Fix inconsistencies
  Use Phpunit FQDN in tests comments
2019-08-05 16:23:38 +02:00
Jérémy Derussé
d96d23c153 Use Phpunit FQDN in tests comments 2019-08-05 16:11:35 +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
4336665c1b Replace more docblocks by type-hints 2017-11-07 15:45:01 +01:00
Nicolas Grekas
19f15d75e1 [3.4] Remove useless docblocks 2017-11-07 15:28:09 +01: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