90 Commits

Author SHA1 Message Date
Nicolas Grekas
af094f6701 Use ??= more 2022-11-02 10:08:04 +01: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
7d8415956d Merge branch '6.0' into 6.1
* 6.0:
  Exclude from baseline generation deprecations triggered in legacy test
  [HttpFoundation] Update "[Session] Overwrite invalid session id" to only validate when files session storage is used
  [DoctrineBridge] Add missing break
  [PropertyInfo] CS fix
  [Serializer] Try all possible denormalization route with union types when ALLOW_EXTRA_ATTRIBUTES=false
  CS fix
  [Cache] Respect $save option in ChainAdapter
  [ExpressionLanguage] fix tests (bis)
  [ExpressionLanguage] fix tests
  Allow passing null in twig_is_selected_choice
  [Cache] Respect $save option in ArrayAdapter
  [HttpKernel] Disable session tracking while collecting profiler data
  [MonologBridge] Fixed support of elasticsearch 7.+ in ElasticsearchLogstashHandler
  [DoctrineBridge] Extend type guessing on enum fields
  [FrameworkBundle] Lower JsonSerializableNormalizer priority
  [Messenger] move resetting services at worker stopped into ResetServicesListener
  [Mailer] Fix Error Handling for OhMySMTP Bridge
  Fix for missing sender name in case with usage of the EnvelopeListener
2022-06-19 15:21:48 +02:00
Nicolas Grekas
73c782b399 Merge branch '5.4' into 6.0
* 5.4:
  [PropertyInfo] CS fix
  [Serializer] Try all possible denormalization route with union types when ALLOW_EXTRA_ATTRIBUTES=false
  CS fix
  [Cache] Respect $save option in ChainAdapter
  [ExpressionLanguage] fix tests (bis)
  [ExpressionLanguage] fix tests
  [Cache] Respect $save option in ArrayAdapter
  [HttpKernel] Disable session tracking while collecting profiler data
  [MonologBridge] Fixed support of elasticsearch 7.+ in ElasticsearchLogstashHandler
  [DoctrineBridge] Extend type guessing on enum fields
  [Messenger] move resetting services at worker stopped into ResetServicesListener
  [Mailer] Fix Error Handling for OhMySMTP Bridge
  Fix for missing sender name in case with usage of the EnvelopeListener
2022-06-19 14:07:20 +02:00
Nicolas Grekas
c4e387b739 Merge branch '4.4' into 5.4
* 4.4:
  [PropertyInfo] CS fix
  [Serializer] Try all possible denormalization route with union types when ALLOW_EXTRA_ATTRIBUTES=false
  CS fix
  [Cache] Respect $save option in ChainAdapter
  [ExpressionLanguage] fix tests (bis)
  [ExpressionLanguage] fix tests
  [Cache] Respect $save option in ArrayAdapter
  [HttpKernel] Disable session tracking while collecting profiler data
  [MonologBridge] Fixed support of elasticsearch 7.+ in ElasticsearchLogstashHandler
  [DoctrineBridge] Extend type guessing on enum fields
  Fix for missing sender name in case with usage of the EnvelopeListener
2022-06-19 14:03:50 +02:00
Jonathan Johnson
143637c52b [Cache] Respect $save option in ArrayAdapter
When $save is passed as the second option to the callback it should be
respected, even in the ephemeral array adapter.
2022-06-17 01:09:04 -07:00
Nicolas Grekas
aae7417b56 [Cache] Improve packing tags into items 2022-03-28 11:55:31 +02:00
Nicolas Grekas
70e68a6e75 Merge branch '6.0' into 6.1
* 6.0:
  [6.0] cs fixes
  [5.4] cs fixes
  [5.3] cs fixes
  [Cache] Fix saving items with no expiration through ProxyAdapter
  CS fixes
  fix merge
  Remove pointless assignment
  [HttpClient] Fix tracing requests made after calling withOptions()
  [Cache] disable lock on CLI
  Revert "feature #41989 [Cache] make `LockRegistry` use semaphores when possible (nicolas-grekas)"
  [HttpKernel] fix how configuring log-level and status-code by exception works
  [VarDumper] add more "transient-on-macos" groups
2021-12-16 23:14:15 +01:00
Nicolas Grekas
5f51e8e264 Merge branch '5.4' into 6.0
* 5.4:
  [5.4] cs fixes
  [5.3] cs fixes
  [Cache] Fix saving items with no expiration through ProxyAdapter
  CS fixes
  [HttpClient] Fix tracing requests made after calling withOptions()
  [Cache] disable lock on CLI
  Revert "feature #41989 [Cache] make `LockRegistry` use semaphores when possible (nicolas-grekas)"
  [HttpKernel] fix how configuring log-level and status-code by exception works
  [VarDumper] add more "transient-on-macos" groups
2021-12-16 23:05:41 +01:00
Nicolas Grekas
3ed20495ba Merge branch '4.4' into 5.3
* 4.4:
  [Cache] Fix saving items with no expiration through ProxyAdapter
  CS fixes
  [Cache] disable lock on CLI
  [VarDumper] add more "transient-on-macos" groups
2021-12-16 22:37:57 +01:00
Sergey Belyshkin
a39b65bbf3 [Cache] Fix saving items with no expiration through ProxyAdapter 2021-12-16 22:33:00 +01:00
Thomas Calvet
20442ac182 Leverage str_starts_with(), str_ends_with() and str_contains() 2021-12-08 15:00:06 +01:00
Alexander M. Turek
f37739fa00 Merge branch '5.4' into 6.0
* 5.4:
  Simplify some code with null coalesce operator
  Don't use deprecated TestLogger class
2021-07-18 18:32:13 +02:00
Alexander M. Turek
d03c238f1f Merge branch '5.2' into 5.3
* 5.2:
  Simplify some code with null coalesce operator
  Don't use deprecated TestLogger class
2021-07-18 18:30:56 +02:00
Alexander M. Turek
693708fad4 Merge branch '4.4' into 5.2
* 4.4:
  Simplify some code with null coalesce operator
2021-07-18 18:25:43 +02:00
Javier Eguiluz
1f03b27111 Simplify some code with null coalesce operator 2021-07-18 18:24:15 +02:00
Nicolas Grekas
a556a8fc6e [Contracts] add return types and bump to v3 2021-07-14 19:12:34 +02:00
Alexander M. Turek
2c486b0673 [Cache] Add types to private properties
Signed-off-by: Alexander M. Turek <me@derrabus.de>
2021-07-09 14:34:54 +01:00
Nicolas Grekas
73f95d779a [Cache] Leverage union types 2021-07-07 15:26:12 +02:00
Nicolas Grekas
e27d83f981 Merge branch '5.2' into 5.3
* 5.2:
  [Cache] fix bad merge
2021-07-07 14:44:15 +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
b46da0d65b Merge branch '5.2' into 5.3
* 5.2:
  [Cache] backport type fixes
  [Cache] Remove MemcachedTrait
2021-07-07 14:34:15 +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
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
00a35f8fd8 Merge branch '5.2' into 5.x
* 5.2:
  fixed parser
  Fixed bugs found by psalm
  [FrameworkBundle] Dont store cache misses on warmup
  fix test
  Update references to the ContainerConfigurator
  [Translation] Remove file added back from a bad merge
  Fix sleep value
  [Cache] skip storing failure-to-save as misses in ArrayAdapter
  [Validator] Delete obsolete statement in Regex::getHtmlPattern() phpDoc
  [FrameworkBundle] Remove author comments for configuration and extension
  [Stopwatch] Document new "name" property of StopwatchEvent
  [DependencyInjection] Fix "url" env var processor behavior when the url has no path
  Fixed support for nodes not extending BaseNode
  [FrameworkBundle] dont access the container to configure http_cache
  add missing queue_name to find(id) in doctrine messenger transport
  [Config][FrameworkBundle] Hint to use PHP 8+ or to install Annotations to use attributes/annots
  [Serializer] AbstractNormalizer force null for non-optional nullable constructor parameter denormalization when not present in input
2021-04-01 12:43:52 +02:00
Nicolas Grekas
78872fc0d4 Merge branch '4.4' into 5.2
* 4.4:
  fixed parser
  Fixed bugs found by psalm
  [FrameworkBundle] Dont store cache misses on warmup
  [Cache] skip storing failure-to-save as misses in ArrayAdapter
  [Validator] Delete obsolete statement in Regex::getHtmlPattern() phpDoc
  [FrameworkBundle] Remove author comments for configuration and extension
  [DependencyInjection] Fix "url" env var processor behavior when the url has no path
  Fixed support for nodes not extending BaseNode
  add missing queue_name to find(id) in doctrine messenger transport
  [Serializer] AbstractNormalizer force null for non-optional nullable constructor parameter denormalization when not present in input
2021-04-01 12:42:13 +02:00
Nicolas Grekas
eb7579938f [Cache] boost perf by wrapping keys validity checks with assert() 2021-02-26 13:15:59 +01: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
Fabien Potencier
765ab1d6db Merge branch '4.4' into 5.1
* 4.4:
  Fix typo
  Fix deprecated libxml_disable_entity_loader
  Add Tagalog translations for validator messages 94, 95, 96 and 99
  PHPUnit's assertContains() performs strict comparisons now.
  [ClassLoader][Routing] Fix namespace parsing on php 8.
  Fix deprecated libxml_disable_entity_loader
  Made reference to PHPUnit\Util\XML::loadfile php5-compatible.
  [Validator] Add missing translations for german and vietnamese
  Modernized deprecated PHPUnit assertion calls
  [Console] The message of "class not found" errors has changed in php 8.
  The PHPUnit\Util\XML class has been removed in PHPUnit 9.3.
  [Console] Make sure we pass a numeric array of arguments to call_user_func_array().
  [Serializer] Fix that it will never reach DOMNode
  [Validator] sync translations
  [VarDumper] Improve previous fix on light array coloration
  [Cache] Fix #37667
2020-08-10 10:03:57 +02:00
Fabien Potencier
639976ad12 Merge branch '3.4' into 4.4
* 3.4:
  Add Tagalog translations for validator messages 94, 95, 96 and 99
  PHPUnit's assertContains() performs strict comparisons now.
  [ClassLoader][Routing] Fix namespace parsing on php 8.
  Fix deprecated libxml_disable_entity_loader
  Made reference to PHPUnit\Util\XML::loadfile php5-compatible.
  [Validator] Add missing translations for german and vietnamese
  Modernized deprecated PHPUnit assertion calls
  [Console] The message of "class not found" errors has changed in php 8.
  The PHPUnit\Util\XML class has been removed in PHPUnit 9.3.
  [Console] Make sure we pass a numeric array of arguments to call_user_func_array().
  [Serializer] Fix that it will never reach DOMNode
  [Validator] sync translations
  [VarDumper] Improve previous fix on light array coloration
  [Cache] Fix #37667
2020-08-10 09:27:51 +02:00
Philipp Kolesnikov
4f1f1e25c1 [Cache] Fix #37667 2020-07-26 15:13:16 +10:00
Nicolas Grekas
c1eb47eb28 [Cache] fix merge 2020-07-13 11:17:19 +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
fbe97c788f [Cache] fix accepting sub-second max-lifetimes in ArrayAdapter 2020-05-07 11:51:26 +02:00
Nyholm
946ce5eba8 [Cache] Added context to log messages 2020-04-17 05:31:59 +02:00
Nicolas Grekas
54e38b49be Leverage PHP8's get_debug_type() 2020-03-16 17:46:21 +01:00
Nicolas Grekas
4a8e1029f3 [Cache] Add LRU + max-lifetime capabilities to ArrayCache 2020-01-24 18:00:05 +01:00
Nicolas Grekas
d379749d14 Merge branch '4.4'
* 4.4:
  Import return annotations from vendors
  [ErrorHandler] Handle return types in DebugClassLoader
  cs fix
2019-08-14 15:44:59 +02:00
Nicolas Grekas
aab1b26035 Import return annotations from vendors 2019-08-14 15:27:41 +02:00
Nicolas Grekas
be140d6701 Merge branch '3.4' into 4.3
* 3.4:
  Remove superfluous phpdoc tags
2019-08-14 14:26:46 +02:00
Nicolas Grekas
916d7b01df Merge branch '4.4'
* 4.4:
  Fix travis script
  [Contracts] Fix branch alias
  minor fix for wrong case
  [HttpFoundation] Fix `getMaxFilesize`
  [Cache] fix warning on PHP 7.4
  [Console] fix warning on PHP 7.4
  let BlockingStoreInterface extend PersistingStoreInterface
  Don't add value of (default/static) objects to the signature
  fix(yml): fix comment in milti line value
  Make sure trace_level is always defined
  Ensure $request->hasSession() is always checked before calling getSession()
  Fix bindings and tagged_locator
  Recompile container when translations directory changes
2019-07-31 14:45:18 +02:00