90 Commits

Author SHA1 Message Date
Guillaume VDP
b643496715 [Cache] Fix ChainAdapter ignoring item expiry when propagating to earlier adapters 2026-03-16 14:41:56 +01:00
Dariusz Ruminski
24730e0100 chore: PHP CS Fixer and protected_to_private 2025-12-14 08:59:41 +01:00
Nicolas Grekas
52a03d7916 CS fixes 2025-07-10 10:14:14 +02:00
Dmitry Danilson
136a311050 Fix #60160: ChainAdapter accepts CacheItemPoolInterface, so it should work with adapter of CacheItemPoolInterface other than \Symfony\Component\Cache\Adapter\AdapterInterface 2025-04-07 19:18:05 +07:00
Wouter de Jong
b9ba353b3a Add void return types 2023-02-13 14:18:23 +01:00
matheo
97fdeae543 Ban DateTime from the codebase 2022-10-09 10:55:40 +02:00
Grégoire Pineau
bfb56d623f [CS] Remove @inheritdoc PHPDoc 2022-08-25 17:27:04 +02:00
Nicolas Grekas
e855b4b253 Merge branch '6.0' into 6.1
* 6.0:
  CS fixes
  Bump Symfony version to 6.0.11
  Update VERSION for 6.0.10
  Update CHANGELOG for 6.0.10
  Bump Symfony version to 5.4.11
  Update VERSION for 5.4.10
  Update CHANGELOG for 5.4.10
  Bump Symfony version to 4.4.44
  Update VERSION for 4.4.43
  Update CONTRIBUTORS for 4.4.43
  Update CHANGELOG for 4.4.43
2022-06-27 19:24:16 +02:00
Nicolas Grekas
ab862e7fe4 Merge branch '5.4' into 6.0
* 5.4:
  CS fixes
  Bump Symfony version to 5.4.11
  Update VERSION for 5.4.10
  Update CHANGELOG for 5.4.10
  Bump Symfony version to 4.4.44
  Update VERSION for 4.4.43
  Update CONTRIBUTORS for 4.4.43
  Update CHANGELOG for 4.4.43
2022-06-27 19:10:44 +02:00
Nicolas Grekas
3e81372f0e Merge branch '4.4' into 5.4
* 4.4:
  CS fixes
  Bump Symfony version to 4.4.44
  Update VERSION for 4.4.43
  Update CONTRIBUTORS for 4.4.43
  Update CHANGELOG for 4.4.43
2022-06-27 18:58:25 +02:00
Nicolas Grekas
f58f87f522 CS fixes 2022-06-27 15:16:42 +02:00
Nicolas Grekas
a5cb628f16 [Cache][String] Don't use is_iterable() in perf-critical code paths 2022-04-12 16:55:12 +02:00
Nicolas Grekas
aae7417b56 [Cache] Improve packing tags into items 2022-03-28 11:55:31 +02:00
Fabien Potencier
67213eb02d Remove FQCN type hints on properties 2021-12-08 16:13:44 +01:00
Nicolas Grekas
fbace1edbf Add type to final/internal public/protected properties 2021-10-06 10:10:14 +02:00
Nicolas Grekas
a556a8fc6e [Contracts] add return types and bump to v3 2021-07-14 19:12:34 +02:00
Nicolas Grekas
73f95d779a [Cache] Leverage union types 2021-07-07 15:26:12 +02:00
Nicolas Grekas
65686a8df1 Merge branch '5.4' into 6.0
* 5.4:
  [Cache] fix bad merge
2021-07-07 14:45:17 +02:00
Nicolas Grekas
5123af387e [Cache] fix bad merge 2021-07-07 14:43:50 +02:00
Nicolas Grekas
db5fb71aba Merge branch '5.4' into 6.0
* 5.4:
  [Cache] backport type fixes
  [Cache] Remove MemcachedTrait
2021-07-07 14:37:06 +02:00
Nicolas Grekas
da6db84220 Merge branch '4.4' into 5.2
* 4.4:
  [Cache] backport type fixes
2021-07-07 14:33:44 +02:00
Nicolas Grekas
8e1c1f9566 [Cache] backport type fixes 2021-07-07 14:25:09 +02:00
Alexander M. Turek
0114914fc6 [Cache] Implement psr/cache 3
Signed-off-by: Alexander M. Turek <me@derrabus.de>
2021-07-06 18:46:48 +02:00
Nicolas Grekas
7e3b1e8577 Bump Contracts to 2.5 2021-06-09 15:36:38 +02:00
Nicolas Grekas
b3aa38969d Leverage Stringable 2021-05-28 09:59:09 +02:00
Nicolas Grekas
be5707fae1 Merge branch '4.4' into 5.1
* 4.4:
  Add missing `@return` annotations to fix deprecations on PHP 8
  [ProxyManagerBridge] fix PHP notice, switch to "friendsofphp/proxy-manager-lts"
2020-12-23 16:26:14 +01:00
Nicolas Grekas
1b2abf123a Add missing @return annotations to fix deprecations on PHP 8 2020-12-23 16:11:26 +01:00
Christian Flothmann
ddda2f62d1 Merge branch '4.4' into 5.1
* 4.4:
  fix merge
  drop logger mock in favor of using the BufferingLogger
  catch ValueError thrown on PHP 8
  [Yaml Parser] Fix edge cases when parsing multiple documents
  fix parsing comments not prefixed by a space
  [Translator] Make sure a null locale is handled properly
  deal with errors being thrown on PHP 8
  [Cache] Allow cache tags to be objects implementing __toString()
  [HttpKernel] Do not override max_redirects option in HttpClientKernel
  remove superfluous cast
  [HttpClient] Support for CURLOPT_LOCALPORT.
  Upgrade PHPUnit to 8.5 (php 7.2) and 9.3 (php >= 7.3).
  Fixed exception message formatting
  [FrameworkBundle] Fix error in xsd which prevent to register more than one metadata
  [Console] work around disabled putenv()
  [PhpUnitBridge] Fix error with ReflectionClass
  [HttpClient][HttpClientTrait] don't calculate alternatives if option is auth_ntlm
  Change 'cache_key' to AbstractRendererEngine::CACHE_KEY_VAR
  Upgrade PHPUnit to 8.5 (php 7.2) and 9.3 (php >= 7.3).
2020-09-18 16:27:32 +02:00
Lars Strojny
369e11d366 [Cache] Allow cache tags to be objects implementing __toString() 2020-09-17 12:06:27 +02:00
Nicolas Grekas
bf40fa82e5 Merge branch '4.4' into 5.1
* 4.4:
  Enable "native_constant_invocation" CS rule
  Make AbstractPhpFileCacheWarmer public
2020-09-02 18:23:27 +02:00
Nicolas Grekas
1b2ca2b4f0 Merge branch '3.4' into 4.4
* 3.4:
  Enable "native_constant_invocation" CS rule
  Make AbstractPhpFileCacheWarmer public
2020-09-02 18:08:58 +02:00
Nicolas Grekas
01f4cc9de5 Enable "native_constant_invocation" CS rule 2020-09-02 18:06:40 +02:00
Nicolas Grekas
68bb319852 Merge branch '5.0' into 5.1
* 5.0:
  [Cache] Use the default expiry when saving (not when creating) items
  Fix typo
  Fix DBAL deprecation
  [Form] Fix ChoiceType translation domain
  Add Tagalog translations for new form messages
  [Form] Add missing vietnamese translations
  sync translations from master
  [OptionsResolver] Fix force prepend normalizer
  add vietnamese translation for html5 color validation
2020-07-12 14:58:00 +02:00
Nicolas Grekas
7c9808c512 Merge branch '4.4' into 5.0
* 4.4:
  [Cache] Use the default expiry when saving (not when creating) items
  Fix typo
  Fix DBAL deprecation
  [Form] Fix ChoiceType translation domain
  Add Tagalog translations for new form messages
  [Form] Add missing vietnamese translations
  sync translations from master
  [OptionsResolver] Fix force prepend normalizer
  add vietnamese translation for html5 color validation
2020-07-12 14:51:51 +02:00
Nicolas Grekas
c8655a6bdd Merge branch '3.4' into 4.4
* 3.4:
  [Cache] Use the default expiry when saving (not when creating) items
2020-07-12 14:49:36 +02:00
Philipp Kolesnikov
59bde16087 [Cache] Use the default expiry when saving (not when creating) items 2020-07-12 14:37:39 +02:00
Nicolas Grekas
54e38b49be Leverage PHP8's get_debug_type() 2020-03-16 17:46:21 +01:00
Fabien Potencier
a970148378 Merge branch '4.4' into 5.0
* 4.4:
  Fix quotes in exception messages
  Fix quotes in exception messages
  Fix quotes in exception messages
2020-03-16 13:10:54 +01:00
Fabien Potencier
3a075ea55b Fix quotes in exception messages 2020-03-16 12:24:17 +01:00
Fabien Potencier
d90446edd9 Merge branch '4.4' into 5.0
* 4.4:
  Add missing dots at the end of exception messages
  [DI][Form] Fixed test suite (TimeType changes & unresolved merge conflict)
  Fix bad merge
  Add missing dots at the end of exception messages
2020-03-15 15:33:06 +01:00
Fabien Potencier
35229396c3 Add missing dots at the end of exception messages 2020-03-15 15:17:26 +01:00
Fabien Potencier
0e91c89063 Merge branch '3.4' into 4.4
* 3.4:
  Add missing dots at the end of exception messages
2020-03-15 11:05:03 +01:00
Fabien Potencier
554b6f784f Add missing dots at the end of exception messages 2020-03-15 10:38:08 +01:00
Nicolas Grekas
e752a9b06c Merge branch '4.4'
* 4.4:
  Re-enable push support for HttpClient
  [DependencyInjection] Accept existing interfaces as valid named args
  Fixed incompatibility between ServiceSubscriberTrait and classes with protected $container property
  [Cache] Added reserved characters constant for CacheItem
  [DI] cascade preloading only to public parameters/properties
  Move Anonymous config to a SecurityFactory
2019-09-11 10:39:10 +02:00
andyexeter
2ddf0212e8 [Cache] Added reserved characters constant for CacheItem 2019-09-11 06:59:27 +02:00
Nicolas Grekas
7307193397 Merge branch '4.4'
* 4.4:
  [Cache] Add types to constructors and private/final/internal methods.
  [HttpClient] Allow enabling buffering conditionally with a Closure
2019-09-09 09:35:34 +02:00
Alexander M. Turek
751e37d40a [Cache] Add types to constructors and private/final/internal methods. 2019-09-08 23:57:26 +02:00
Nicolas Grekas
74e604017e Add return types to tests and final|internal|private methods 2019-08-21 17:14:41 +02:00
Nicolas Grekas
e5abe529b1 Merge branch '4.4'
* 4.4:
  [4.4] Add return types on internal|final|private methods (bis)
  [Ldap] Add missing LdapUser::setPassword()
  Add types to roting and DI configuration traits.
2019-08-20 23:41:37 +02:00
Nicolas Grekas
c18e932afe [4.4] Add return types on internal|final|private methods (bis) 2019-08-20 23:22:06 +02:00