38 Commits

Author SHA1 Message Date
Gregor Harlan
add24c0213 optimize in_array calls 2025-07-15 11:40:20 +02:00
Dariusz Ruminski
406c453966 chore: PHP CS Fixer fixes 2024-12-12 07:45:37 +01:00
Christian Flothmann
354bedd6b2 Merge branch '6.4' into 7.1
* 6.4:
  [Form] Remove unnecessary imports
  minor #58472 CS: clean some whitespaces/indentation (keradus)
  Fix newline
  harden test to not depend on the system's configured default timezone
  [Form] Support intl.use_exceptions/error_level in NumberToLocalizedStringTransformer
  [Doctrine][Messenger] Use common sequence name to get id from Oracle
  [ExpressionLanguage] Add missing test case for `Lexer`
  [FrameworkBundle] Fix passing request_stack to session.listener
  ensure session storages are opened in tests before destroying them
  [Serializer] Fix `ObjectNormalizer` gives warnings on normalizing with public static property
  [HttpKernel] Correctly merge `max-age`/`s-maxage` and `Expires` headers
  [Security][Validator] Check translations for Czech
  [Security] Fix serialized object representation in tests
  [DoctrineBridge] Fix risky test warnings
  [Serializer] Catch `NotNormalizableValueException` for variadic parameters
2024-10-09 10:46:59 +02:00
Christian Flothmann
d6662b14a4 Merge branch '5.4' into 6.4
* 5.4:
  minor #58472 CS: clean some whitespaces/indentation (keradus)
  Fix newline
  harden test to not depend on the system's configured default timezone
  [Form] Support intl.use_exceptions/error_level in NumberToLocalizedStringTransformer
  [ExpressionLanguage] Add missing test case for `Lexer`
  [FrameworkBundle] Fix passing request_stack to session.listener
  ensure session storages are opened in tests before destroying them
  [HttpKernel] Correctly merge `max-age`/`s-maxage` and `Expires` headers
  [Security][Validator] Check translations for Czech
  [Security] Fix serialized object representation in tests
  [DoctrineBridge] Fix risky test warnings
2024-10-09 10:40:40 +02:00
Andreas Schempp
a8122279d9 [HttpKernel] Correctly merge max-age/s-maxage and Expires headers 2024-10-03 11:37:50 +02:00
Dariusz Ruminski
90d8974526 CS: enable ordered_types.null_adjustment=always_last 2024-01-16 09:06:14 +01:00
Wouter de Jong
34cbd3eea1 [Components] Convert to native return types 2023-07-05 15:06:06 +02:00
Nicolas Grekas
0b4680c7df Merge branch '6.2' into 6.3
* 6.2:
  [HttpKernel] Account for Response::getDate() possibly returning a DateTimeImmutable
  [Messenger] Respect `isRetryable` decision of the retry strategy when deciding if failed message should be re-delivered
2023-05-13 11:33:46 +02:00
Nicolas Grekas
e79fd3438e Merge branch '5.4' into 6.2
* 5.4:
  [HttpKernel] Account for Response::getDate() possibly returning a DateTimeImmutable
  [Messenger] Respect `isRetryable` decision of the retry strategy when deciding if failed message should be re-delivered
2023-05-13 11:33:33 +02:00
Nicolas Grekas
c711afd602 [HttpKernel] Account for Response::getDate() possibly returning a DateTimeImmutable 2023-05-13 11:29:41 +02:00
Wouter de Jong
8efef814fc Add void return types 2023-02-13 14:18:23 +01:00
Nicolas Grekas
300aaf5101 Remove all "nullable-by-default-value" setters 2022-09-12 16:34:03 +02:00
Grégoire Pineau
3b05051d9e [CS] Remove @inheritdoc PHPDoc 2022-08-25 17:27:04 +02:00
Andreas Schempp
6f9878d169 [HttpKernel] Bugfix/last modified response strategy 2022-07-27 18:01:15 +02:00
Alexander M. Turek
180f95177c [HttpKernel] Add types to private properties
Signed-off-by: Alexander M. Turek <me@derrabus.de>
2021-09-07 12:43:05 +02:00
Wouter de Jong
f93fd2809c Merge branch '5.2' into 5.3
* 5.2:
  [#41846] Revert change in closing tag
  Closing tag typo
  * validators.lt.xlf - added missing 100 message
  [Validator] Add missing translations for Russian
  [Validator] Add missing Czech translations
  [Validator] Missing translations for Brazilian Portuguese (pt_BR)
  Add missing translation for Polish
  (#41826) missing translations for portuguese
  Public responses without lifetime should not remove lifetime for the resulting response
  [Security]Added missing translations for Armenian (hy)
2021-06-26 13:20:14 +02:00
Nicolas Grekas
930758feb6 Merge branch '5.2' into 5.3
* 5.2:
  [DI] fix fixture
  [ErrorHandler] fix handling buffered SilencedErrorContext
  [HttpClient] fix Psr18Client when allow_url_fopen=0
  [DependencyInjection] Add support of PHP enumerations
  [Cache] handle prefixed redis connections when clearing pools
  [Cache] fix eventual consistency when using RedisTagAwareAdapter with a cluster
  [Uid] Fix fromString() with low base58 values
  [Validator][Translation] Add ExpressionLanguageSyntax en and fr
  [HttpKernel] [HttpCache] Keep s-maxage=0 from ESI sub-responses
  Avoid broken action URL in text notification mail
  [Cache] Disable locking on Windows by default
  [DependencyInjection] Fix binding "iterable $foo" when using the PHP-DSL
  [Config] fix tracking default values that reference the parent class
  [DependencyInjection] fix accepted types on FactoryTrait::factory()
  [VarDumper] Fix tests for PHP 8.1
  [Mailer] fix encoding of addresses using SmtpTransport
  [MonologBridge] Fix the server:log help --filter sample
2021-06-24 10:13:00 +02:00
Matthias Pigulla
cb810f450f Public responses without lifetime should not remove lifetime for the resulting response 2021-06-24 06:25:36 +00:00
Matthias Pigulla
d5fb8335ff [HttpKernel] [HttpCache] Keep s-maxage=0 from ESI sub-responses 2021-06-23 11:44:56 +02:00
Alexander M. Turek
d026426847 Rename master request to main request 2021-03-22 14:14:48 +01:00
Simon Berger
df632a4552 Changed private static array-properties to const 2021-01-25 00:44:26 +01:00
Nicolas Grekas
486e1f828a Merge branch '4.3' into 4.4
* 4.3:
  [Cache] fix memory leak when using PhpFilesAdapter
  [Yaml] Implement multiline string as scalar block for tagged values
  [HttpFoundation] Use `Cache-Control: must-revalidate` only if explicit lifetime has been given
  [FrameworkBundle] Use UserInterface to @return in getUser method
  [CI] Replace php7.4snapshot with php7.4 in Travis configuration
  [ExpressionLanguage][Node][BinaryNode] Process division by zero
  forward caught exception
  [Validator][ConstraintValidator] Stop passing unnecessary timezone argument to \DateTime
  add tags before processing them
  [MonologBridge] Fix debug processor datetime type
2019-12-10 11:33:21 +01:00
Matthias Pigulla
236fdec647 [HttpFoundation] Use Cache-Control: must-revalidate only if explicit lifetime has been given 2019-12-10 09:49:31 +01:00
Nicolas Grekas
192ab7ca20 Merge branch '4.3' into 4.4
* 4.3:
  [OptionsResolve] Revert change in tests for a not-merged change in code
  [HttpClient] fix handling of 3xx with no Location header - ignore Content-Length when no body is expected
  [Workflow] Made the configuration more robust for the 'property' key
  [Security/Core] make NativePasswordEncoder use sodium to validate passwords when possible
  #30432 fix an error message
  fix paths to detect code owners
  [HttpClient] ignore the body of responses to HEAD requests
  [Validator] Ensure numeric subpaths do not cause errors on PHP 7.4
  [SecurityBundle] Fix wrong assertion
  Remove unused local variables in tests
  [Yaml][Parser] Remove the getLastLineNumberBeforeDeprecation() internal unused method
  Make sure to collect child forms created on *_SET_DATA events
  [WebProfilerBundle] Improve display in Email panel for dark theme
  do not render errors for checkboxes twice
2019-10-28 21:30:34 +01:00
Thomas Calvet
216fa5280c Remove unused local variables in tests 2019-10-24 17:33:53 +02:00
Alexander M. Turek
69b56de10b Turned return type annotations of private methods into php return types. 2019-08-07 16:19:54 +02:00
Christian Flothmann
d4637c97a4 add parameter type declarations to private methods 2019-07-31 20:51:46 +02:00
Stefano Degenkamp
1a7997505a Fix binary operation +, - or * on string
By type casting to integer.
2019-06-13 17:39:17 +02:00
Fabien Potencier
fc31f88e8f fixed CS 2019-06-13 12:34:15 +02:00
Vladimir Reznichenko
07988ddcd6 SCA: minor code tweaks 2019-04-01 09:08:40 +02:00
Andreas Schempp
601caa2afb [HttpKernel] Correctly merging cache directives in HttpCache/ResponseCacheStrategy 2019-02-25 12:22:09 +01:00
Fabien Potencier
f1b8a42c93 switched array() to [] 2019-01-16 10:39:14 +01:00
Matthias Pigulla
64afbfabad Fix that ESI/SSI processing can turn a \"private\" response \"public\" 2018-04-16 19:47:52 +02:00
Matthias Pigulla
06c9a26875 Embedding a response that combines expiration and validation, that should not defeat expiration on the combined response 2017-06-14 23:57:46 +02:00
Matthias Pigulla
a504e50902 Fix two edge cases in ResponseCacheStrategy 2017-06-14 14:29:14 -07:00
Fabien Potencier
c2fbe46c88 Merge branch '2.3' into 2.7
* 2.3:
  bumped Symfony version to 2.3.40
  set s-maxage only if all responses are cacheable
  updated VERSION for 2.3.39
  update CONTRIBUTORS for 2.3.39
  updated CHANGELOG for 2.3.39
  Improved the "branch" row of the PR table
  Fix typos #18090 1. PHPs session design to PHP's session design 2. Symfony HttpKernel offers to Symfony's HttpKernel offers 3. in which case it it should to in which case it should
  Fix for Isssue #18091
  replace perfom by perform
  minor #18088 Fix typo for profiler
2016-03-15 07:08:00 +01:00
Fabien Potencier
c4f9f9f4fc fixes CS 2015-08-24 09:13:45 +02:00
Sebastian Krebs
66174600c4 SSI support 2014-06-18 11:11:19 +02:00