6176 Commits

Author SHA1 Message Date
Santiago San Martin
54fc774a83 [Form] fix deprecation notice in ValidatorExtensionTest::testPropertiesInitializedWithEarlyReturn test 2026-03-21 14:12:08 +01:00
Nicolas Grekas
9694bdb91d Merge branch '8.0' into 8.1
* 8.0:
  Fix merge
  [VarDumper] Wrong dumper output for Accept: aplication/json requests
  [HttpKernel] Reset router locale to default when finishing main request
  Only decrement pendingRequests when it's more than zero
  [Dotenv] Fix self-referencing variables with defaults and env key resolution during deferred expansion
  Improve Bulgarian translations in validators.bg.xlf
  [Cache] Fix ChainAdapter ignoring item expiry when propagating to earlier adapters
  [Form] Fix typed property initialization in ValidatorExtension
  [Messenger] Fix duplicate pending messages in Redis transport with batch handlers
  Fix deprecation notices for "@method" annotations when implementing interfaces directly
2026-03-17 16:35:01 +01:00
Nicolas Grekas
c252e822f0 Merge branch '7.4' into 8.0
* 7.4:
  Fix merge
2026-03-17 16:33:01 +01:00
Nicolas Grekas
6bdfce09fd Fix merge 2026-03-17 16:32:54 +01:00
Nicolas Grekas
823da61cf6 Merge branch '7.4' into 8.0
* 7.4:
  [VarDumper] Wrong dumper output for Accept: aplication/json requests
  [HttpKernel] Reset router locale to default when finishing main request
  Only decrement pendingRequests when it's more than zero
  [Dotenv] Fix self-referencing variables with defaults and env key resolution during deferred expansion
  Improve Bulgarian translations in validators.bg.xlf
  [Cache] Fix ChainAdapter ignoring item expiry when propagating to earlier adapters
  [Form] Fix typed property initialization in ValidatorExtension
  [Messenger] Fix duplicate pending messages in Redis transport with batch handlers
  Fix deprecation notices for "@method" annotations when implementing interfaces directly
2026-03-17 15:00:10 +01:00
Nicolas Grekas
5f8657b553 Merge branch '6.4' into 7.4
* 6.4:
  [HttpKernel] Reset router locale to default when finishing main request
  Only decrement pendingRequests when it's more than zero
  [Dotenv] Fix self-referencing variables with defaults and env key resolution during deferred expansion
  Improve Bulgarian translations in validators.bg.xlf
  [Cache] Fix ChainAdapter ignoring item expiry when propagating to earlier adapters
  [Form] Fix typed property initialization in ValidatorExtension
  [Messenger] Fix duplicate pending messages in Redis transport with batch handlers
  Fix deprecation notices for "@method" annotations when implementing interfaces directly
2026-03-17 14:25:29 +01:00
Severin Glöckle
3a38a81150 [Form] Fix typed property initialization in ValidatorExtension
The early return in the constructor prevented typed properties from
being initialized when a Form constraint already existed, causing
PHP errors when the extension was used (PHP 8.0+ typed property
requirement).

This fix moves property initialization before the early return check,
ensuring typed properties are always initialized while preserving
the duplicate constraint prevention functionality.

Includes a test case to verify the fix works correctly when the
early return condition is met.
2026-03-13 15:59:02 +01:00
Guillaume VDP
eaced1f587 [Form] Add labels option to DateType to customize year/month/day sub-field labels 2026-03-10 14:40:52 +01:00
Nicolas Grekas
83516f87d1 [VarExporter] Add DeepCloner to deep-clone PHP values while preserving copy-on-write benefits 2026-03-09 11:25:11 +01:00
Nicolas Grekas
2d35277550 Fix merge 2026-03-06 14:50:16 +01:00
Nicolas Grekas
073b2ae64c Merge branch '8.0' into 8.1
* 8.0:
  [HttpFoundation] Fix session cookie_lifetime not applied in mock session storage
  [Validator] Fix test
  [Serializer] Fix denormalization of magic `__set` properties
  [Config] Fix NodeDefinition template to be covariant
  Add 'sms' to hostless schemes
  [Validator] Fix required options check when extending a constraint with a simplified constructor
  [Validator] Skip ExpressionLanguage requirement in When constraint for closure expressions
  [Cache] Add timeout and slot eviction to LockRegistry stampede prevention
  [Console] Fix OUTPUT_RAW corrupting binary content on Windows
  [Form] Fix session data contamination by non-serializable objects in form flow
  [Mime] Use shell_exec() instead of passthru() in FileBinaryMimeTypeGuesser
  [HttpClient] Fix streaming from CachingHttpClient
  [DoctrineBridge] Rename `_schema_subscriber_check` table to `schema_subscriber_check_` for Oracle compatibility
  [HttpClient] Fix CachingHttpClient compatibility with decorator clients on 304 responses
  [FrameworkBundle] Fix stale container after reboot in KernelTestCase
  [Form] Fix duplicate validation errors when ValidatorExtension is instantiated multiple times
2026-03-06 14:17:50 +01:00
Nicolas Grekas
954e17b053 Merge branch '7.4' into 8.0
* 7.4:
  [HttpFoundation] Fix session cookie_lifetime not applied in mock session storage
  [Validator] Fix test
  [Serializer] Fix denormalization of magic `__set` properties
  [Config] Fix NodeDefinition template to be covariant
  Add 'sms' to hostless schemes
  [Validator] Fix required options check when extending a constraint with a simplified constructor
  [Validator] Skip ExpressionLanguage requirement in When constraint for closure expressions
  [Cache] Add timeout and slot eviction to LockRegistry stampede prevention
  [Console] Fix OUTPUT_RAW corrupting binary content on Windows
  [Form] Fix session data contamination by non-serializable objects in form flow
  [Mime] Use shell_exec() instead of passthru() in FileBinaryMimeTypeGuesser
  [HttpClient] Fix streaming from CachingHttpClient
  [DoctrineBridge] Rename `_schema_subscriber_check` table to `schema_subscriber_check_` for Oracle compatibility
  [HttpClient] Fix CachingHttpClient compatibility with decorator clients on 304 responses
  [FrameworkBundle] Fix stale container after reboot in KernelTestCase
  [Form] Fix duplicate validation errors when ValidatorExtension is instantiated multiple times
v8.0.7
2026-03-06 14:17:40 +01:00
Nicolas Grekas
5f24175103 [Form] Fix session data contamination by non-serializable objects in form flow v7.4.7 2026-03-05 13:30:09 +01:00
Nicolas Grekas
72325e3ed9 Merge branch '6.4' into 7.4
* 6.4:
  [FrameworkBundle] Fix stale container after reboot in KernelTestCase
  [Form] Fix duplicate validation errors when ValidatorExtension is instantiated multiple times
2026-03-04 23:19:46 +01:00
Nicolas Grekas
37b2f68f4c [Form] Fix duplicate validation errors when ValidatorExtension is instantiated multiple times v6.4.35 2026-03-04 17:19:23 +01:00
Nicolas Grekas
d6c6f6ac13 Merge branch '8.0' into 8.1
* 8.0: (26 commits)
  Fix merge
  [RateLimiter] Fix retryAfter when consuming exactly all remaining tokens in FixedWindow and TokenBucket
  [RateLimiter] Fix retryAfter value on last token consume (SlidingWindow)
  [RateLimiter] Fix reservations outside the second fixed window
  [Filesystem] makePathRelative with existing files, remove ending /
  [Config][Routing] Fix exclude option being ignored for non-glob and PSR-4 resources
  [Serializer][Validator] Fix propertyPath in ConstraintViolationListNormalizer with MetadataAwareNameConverter
  [Messenger][Amqp] Don't use retry routing key when sending to failure transport
  [Messenger] Fix re-sending failed messages to a different failure transport
  [DependencyInjection] Fix #[AsTaggedItem] discovery through multi-level decoration chains
  [Config] Fix ArrayShapeGenerator required keys with deep merging
  [Validator] Add a guard when `Parser::IGNORE_UNKNOWN_VARIABLES` is not defined
  [Validator] Correctly handle null `allowedVariables` in `ExpressionSyntaxValidator`
  [DependencyInjection] Fix PriorityTaggedServiceTrait not discovering #[AsTaggedItem] on decorated services
  [Mailer] Clarify the purpose of SentMessage's "message id" concept
  [ObjectMapper] fix nested mapping with class-level transform
  [TwigBridge] Fix Bootstrap 4 form error layout
  [Form] Fix merging POST params and files when collection entries have mismatched indices
  [Validator] Fix type error for non-array items when Unique::fields is set
  [HttpKernel] Fix default locale ignored when Accept-Language has no enabled-locale match
  ...
2026-02-25 18:08:26 +01:00
Nicolas Grekas
104947c40b Merge branch '7.4' into 8.0
* 7.4: (25 commits)
  [RateLimiter] Fix retryAfter when consuming exactly all remaining tokens in FixedWindow and TokenBucket
  [RateLimiter] Fix retryAfter value on last token consume (SlidingWindow)
  [RateLimiter] Fix reservations outside the second fixed window
  [Filesystem] makePathRelative with existing files, remove ending /
  [Config][Routing] Fix exclude option being ignored for non-glob and PSR-4 resources
  [Serializer][Validator] Fix propertyPath in ConstraintViolationListNormalizer with MetadataAwareNameConverter
  [Messenger][Amqp] Don't use retry routing key when sending to failure transport
  [Messenger] Fix re-sending failed messages to a different failure transport
  [DependencyInjection] Fix #[AsTaggedItem] discovery through multi-level decoration chains
  [Config] Fix ArrayShapeGenerator required keys with deep merging
  [Validator] Add a guard when `Parser::IGNORE_UNKNOWN_VARIABLES` is not defined
  [Validator] Correctly handle null `allowedVariables` in `ExpressionSyntaxValidator`
  [DependencyInjection] Fix PriorityTaggedServiceTrait not discovering #[AsTaggedItem] on decorated services
  [Mailer] Clarify the purpose of SentMessage's "message id" concept
  [ObjectMapper] fix nested mapping with class-level transform
  [TwigBridge] Fix Bootstrap 4 form error layout
  [Form] Fix merging POST params and files when collection entries have mismatched indices
  [Validator] Fix type error for non-array items when Unique::fields is set
  [HttpKernel] Fix default locale ignored when Accept-Language has no enabled-locale match
  [FrameworkBundle] Make `ConfigDebugCommand` use its container to resolve env vars
  ...
v8.0.6
2026-02-25 17:59:43 +01:00
Nicolas Grekas
1ec55f7b1a Merge branch '6.4' into 7.4
* 6.4:
  [RateLimiter] Fix retryAfter when consuming exactly all remaining tokens in FixedWindow and TokenBucket
  [RateLimiter] Fix retryAfter value on last token consume (SlidingWindow)
  [RateLimiter] Fix reservations outside the second fixed window
  [Filesystem] makePathRelative with existing files, remove ending /
  [Config][Routing] Fix exclude option being ignored for non-glob and PSR-4 resources
  [Serializer][Validator] Fix propertyPath in ConstraintViolationListNormalizer with MetadataAwareNameConverter
  [Messenger][Amqp] Don't use retry routing key when sending to failure transport
  [Messenger] Fix re-sending failed messages to a different failure transport
  [DependencyInjection] Fix #[AsTaggedItem] discovery through multi-level decoration chains
  [DependencyInjection] Fix PriorityTaggedServiceTrait not discovering #[AsTaggedItem] on decorated services
  [Mailer] Clarify the purpose of SentMessage's "message id" concept
  [TwigBridge] Fix Bootstrap 4 form error layout
  [Form] Fix merging POST params and files when collection entries have mismatched indices
  [Validator] Fix type error for non-array items when Unique::fields is set
  [HttpKernel] Fix default locale ignored when Accept-Language has no enabled-locale match
  [FrameworkBundle] Make `ConfigDebugCommand` use its container to resolve env vars
  [Console] Fix various completion edge cases
  [Messenger][AmazonSqs] Add test for default queue_name when not set in DSN path or options
v7.4.6
2026-02-25 17:50:00 +01:00
Priyadi Iman Nurcahyo
ed9275a133 [Form] Fix merging POST params and files when collection entries have mismatched indices v6.4.34 2026-02-23 18:59:52 +01:00
Nicolas Grekas
773fb220db feature #45081 [Form] Add support for submitting forms with unchecked checkboxes in request handlers (filiplikavcan)
This PR was squashed before being merged into the 8.1 branch.

Discussion
----------

[Form] Add support for submitting forms with unchecked checkboxes in request handlers

| Q             | A
| ------------- | ---
| Branch?       | 8.1
| Bug fix?      | yes
| New feature?  | yes
| Deprecations? | no
| Tickets       | Fix #20179, #14938
| License       | MIT

When a form contains only checkboxes (or a collection of checkboxes), there is no way to distinguish between:

- A user visiting a page that contains the form (not a submission)
- A user submitting the form with all checkboxes unchecked

This is because unchecked checkboxes are omitted entirely from the HTTP request. When the form's name is absent from the request, the current handlers bail out early and don't submit the form - so unchecked checkboxes can never reset a true default value.

This PR introduces `MissingDataHandler`, which walks the form's children recursively at request-handling time to detect whether the form would have appeared in the request had any checkbox been checked. Concretely:

- If a form (or any of its children) has a `false_values` option (the marker used by `CheckboxType`), it means the form contains a checkbox. When that checkbox key is absent from the submitted data, `MissingDataHandler` injects the first false value (i.e. `'0'` for a standard checkbox) so the form is submitted and data is set to `false`.
- An `stdClass` sentinel object is used to distinguish "key was absent" from `null`, making the logic explicit and identity-safe.
- `PATCH` requests are excluded intentionally, since PATCH is meant for partial updates and omitted fields should be left untouched.

Before/after

```php
// Form with a single checkbox, default data = true
$form = $factory->createNamed('agree', CheckboxType::class, true);

// POST request with no body (all checkboxes unchecked)
$handler->handleRequest($form, $request);

// Before: form is never submitted, data stays true
// After:  form is submitted, data is false ✓
```

Commits
-------

4ed039397f9 [Form] Add support for submitting forms with unchecked checkboxes in request handlers
2026-02-23 16:57:06 +01:00
“Filip
ec1b37b8f0 [Form] Add support for submitting forms with unchecked checkboxes in request handlers 2026-02-23 16:56:17 +01:00
Nicolas Grekas
6b478dc382 Merge branch '8.0' into 8.1
* 8.0:
  [Form] Add resource tracking for type extension classes in FormPass
  [Mailer] Postal mailer transport apikey
  [FrameworkBundle] Fix phpstan false-positive about config/reference.php
2026-02-23 13:14:50 +01:00
Nicolas Grekas
4e521c0d26 Merge branch '7.4' into 8.0
* 7.4:
  [Form] Add resource tracking for type extension classes in FormPass
  [Mailer] Postal mailer transport apikey
  [FrameworkBundle] Fix phpstan false-positive about config/reference.php
2026-02-23 13:14:43 +01:00
Nicolas Grekas
dfe3a515cd Merge branch '6.4' into 7.4
* 6.4:
  [Form] Add resource tracking for type extension classes in FormPass
2026-02-23 13:14:34 +01:00
ranpafin
24edd57517 [Form] Add resource tracking for type extension classes in FormPass
When a form type extension uses getExtendedTypes() without the extended_type
tag, FormPass calls the static method at build time but does not track the
class as a container resource. This means the cache is not invalidated when
the method is edited.

Call $container->getReflectionClass() before accessing getExtendedTypes()
so that the class is automatically registered as a ReflectionClassResource,
the same pattern used by RegisterListenersPass in the EventDispatcher
component.
2026-02-23 13:04:46 +01:00
Nicolas Grekas
a4113f1e30 [Form] Add default min/max attributes to BirthdayType when widget is single_text 2026-02-10 15:39:34 +01:00
Kévin THÉRAGE
fc85b42c27 [Form] Allow ViolationMapperInterface injection for ValidatorExtension and FormTypeValidatorExtension 2026-02-09 14:20:13 +01:00
Dariusz Ruminski
489c9ac97b PHP CS Fixer: enable @PHP8x1Migration:risky 2026-01-29 10:42:44 +01:00
Dariusz Ruminski
2da6abb375 PHP CS Fixer: re-apply 2026-01-25 11:12:27 +01:00
Nicolas Grekas
1afe3792fc Merge branch '8.0' into 8.1
* 8.0: (27 commits)
  [JsonStreamer] Fix exponential resource class memory growth
  [Cache] Fix DSN auth not passed to clusters in RedisTrait
  do not parse "scalar" as an object
  [Form] Fix OrderedHashMap auto-increment logic with mixed keys
  [HttpClient] Skip HTTP/3 when using a proxy
  don't skip custom view transformers while normalizing submitted newlines
  [Serializer] Fix is/has/can accessor naming regression while preserving collision detection
  fix exception "Symfony\Component\TypeInfo\Exception\InvalidArgumentException: "Symfony\Component\TypeInfo\Type\UnionType" expects at least 2 types." when property phpdoc is "value-of<Enum>|null"
  [DoctrineBridge] Fix custom type based on Uid on entity loader
  let tests fail on PHPUnit notices
  [PropertyInfo] Throw when phpdocumentor/reflection-docblock v6 is in use (branch 6.4 only)
  do not use PHPUnit mock objects without configured expectations
  [Form] Fix ICU 72+ whitespace handling in `DateTimeToLocalizedStringTransformer`
  [ErrorHandler] fix parsing of complexe type
  do not use PHPUnit mock objects without configured expectations
  [Process] Adjust Process mustRun method phpdoc
  do not use PHPUnit mock objects without configured expectations
  do not use PHPUnit mock objects without configured expectations
  do not use PHPUnit mock objects without configured expectations
  do not use PHPUnit mock objects without configured expectations
  ...
2026-01-23 12:09:22 +01:00
Nicolas Grekas
c34ec2c264 * 7.4: (27 commits) [JsonStreamer] Fix exponential resource class memory growth [Cache] Fix DSN auth not passed to clusters in RedisTrait do not parse "scalar" as an object [Form] Fix OrderedHashMap auto-increment logic with mixed keys [HttpClient] Skip HTTP/3 when using a proxy don't skip custom view transformers while normalizing submitted newlines [Serializer] Fix is/has/can accessor naming regression while preserving collision detection fix exception "Symfony\Component\TypeInfo\Exception\InvalidArgumentException: "Symfony\Component\TypeInfo\Type\UnionType" expects at least 2 types." when property phpdoc is "value-of<Enum>|null" [DoctrineBridge] Fix custom type based on Uid on entity loader let tests fail on PHPUnit notices [PropertyInfo] Throw when phpdocumentor/reflection-docblock v6 is in use (branch 6.4 only) do not use PHPUnit mock objects without configured expectations [Form] Fix ICU 72+ whitespace handling in DateTimeToLocalizedStringTransformer [ErrorHandler] fix parsing of complexe type do not use PHPUnit mock objects without configured expectations [Process] Adjust Process mustRun method phpdoc do not use PHPUnit mock objects without configured expectations do not use PHPUnit mock objects without configured expectations do not use PHPUnit mock objects without configured expectations do not use PHPUnit mock objects without configured expectations ... v8.0.4 2026-01-23 12:07:10 +01:00
Nicolas Grekas
264fc873f0 Merge branch '7.3' into 7.4
* 7.3:
  [JsonStreamer] Fix exponential resource class memory growth
  [Cache] Fix DSN auth not passed to clusters in RedisTrait
  do not parse "scalar" as an object
  [Form] Fix OrderedHashMap auto-increment logic with mixed keys
  [HttpClient] Skip HTTP/3 when using a proxy
  don't skip custom view transformers while normalizing submitted newlines
  [Serializer] Fix is/has/can accessor naming regression while preserving collision detection
v7.4.4
2026-01-23 11:51:15 +01:00
Nicolas Grekas
4bc84400e2 Merge branch '6.4' into 7.3
* 6.4:
  [Cache] Fix DSN auth not passed to clusters in RedisTrait
  do not parse "scalar" as an object
  [Form] Fix OrderedHashMap auto-increment logic with mixed keys
  don't skip custom view transformers while normalizing submitted newlines
  [Serializer] Fix is/has/can accessor naming regression while preserving collision detection
v7.3.10
2026-01-23 11:44:29 +01:00
Nicolas Grekas
b758162fb4 bug #63144 [Form] Fix OrderedHashMap auto-increment logic with mixed keys (yoeunes)
This PR was merged into the 6.4 branch.

Discussion
----------

[Form] Fix `OrderedHashMap` auto-increment logic with mixed keys

| Q             | A
| ------------- | ---
| Branch?       | 6.4
| Bug fix?      | yes
| New feature?  | no
| Deprecations? | no
| Issues        | -
| License       | MIT

When `OrderedHashMap` has mixed integer and string keys, appending a new element overwrites existing integer keys instead of generating a new key:

```php
$map = new OrderedHashMap();
$map[0] = 'zero';
$map[1] = 'one';
$map['foo'] = 'bar';
$map[] = 'new'; // overwrites key 1 instead of creating key 2
```

Commits
-------

10f9f01898e [Form] Fix OrderedHashMap auto-increment logic with mixed keys
v6.4.32
2026-01-22 21:17:27 +01:00
Younes ENNAJI
cb356aba05 [Form] Fix OrderedHashMap auto-increment logic with mixed keys 2026-01-22 21:17:02 +01:00
Christian Flothmann
5188efec15 don't skip custom view transformers while normalizing submitted newlines 2026-01-22 16:33:06 +01:00
Christian Flothmann
8482e91e92 Merge branch '7.3' into 7.4
* 7.3:
  do not use PHPUnit mock objects without configured expectations
  [Form] Fix ICU 72+ whitespace handling in `DateTimeToLocalizedStringTransformer`
  [Process] Adjust Process mustRun method phpdoc
  [Serializer] Fix NameConverter not detecting wrong input format with allow_extra_attributes=false
2026-01-20 10:23:51 +01:00
Christian Flothmann
e6b4024e20 Merge branch '6.4' into 7.3
* 6.4:
  do not use PHPUnit mock objects without configured expectations
  [Form] Fix ICU 72+ whitespace handling in `DateTimeToLocalizedStringTransformer`
  [Process] Adjust Process mustRun method phpdoc
  [Serializer] Fix NameConverter not detecting wrong input format with allow_extra_attributes=false
2026-01-20 10:23:00 +01:00
Mathias STRASSER
61318b8a7c [Form] Fix ICU 72+ whitespace handling in DateTimeToLocalizedStringTransformer 2026-01-20 10:01:25 +01:00
Christian Flothmann
a065b30444 Merge branch '8.0' into 8.1
* 8.0:
  do not use PHPUnit mock objects without configured expectations
  do not use PHPUnit mock objects without configured expectations
  do not use PHPUnit mock objects without configured expectations
  fix CS
  do not use PHPUnit mock objects without configured expectations
  [Scheduler] Fix array to string conversion in `#[AsCronTask]` arguments
  do not use PHPUnit mock objects without configured expectations
  do not use PHPUnit mock objects without configured expectations
  do not use PHPUnit mock objects without configured expectations
  do not use PHPUnit mock objects without configured expectations
  fix merge
  do not use PHPUnit mock objects without configured expectations
2026-01-08 23:37:08 +01:00
Christian Flothmann
ab8ec8047a Merge branch '7.4' into 8.0
* 7.4:
  do not use PHPUnit mock objects without configured expectations
  do not use PHPUnit mock objects without configured expectations
  do not use PHPUnit mock objects without configured expectations
  fix CS
  do not use PHPUnit mock objects without configured expectations
  [Scheduler] Fix array to string conversion in `#[AsCronTask]` arguments
  do not use PHPUnit mock objects without configured expectations
  do not use PHPUnit mock objects without configured expectations
  do not use PHPUnit mock objects without configured expectations
  do not use PHPUnit mock objects without configured expectations
  fix merge
  do not use PHPUnit mock objects without configured expectations
2026-01-08 23:36:47 +01:00
Christian Flothmann
b085d61d9a Merge branch '7.3' into 7.4
* 7.3:
  do not use PHPUnit mock objects without configured expectations
  do not use PHPUnit mock objects without configured expectations
  do not use PHPUnit mock objects without configured expectations
  do not use PHPUnit mock objects without configured expectations
2026-01-08 17:12:55 +01:00
Christian Flothmann
fd7477281d do not use PHPUnit mock objects without configured expectations 2026-01-08 15:46:06 +01:00
Christian Flothmann
c1b912d6bb Merge branch '8.0' into 8.1
* 8.0:
  fix merge
  do not use PHPUnit mock objects without configured expectations
  do not use PHPUnit mock objects without configured expectations
  do not use PHPUnit mock objects without configured expectations
  do not use PHPUnit mock objects without configured expectations
  [HttpClient] update chunk items' expiration on revalidation
  [FrameworkBundle] Better deprecation message when running `bin/console debug:container --show-arguments`
  [PropertyAccess][PropertyInfo][Serializer] Skip methods that look like getters but return void or never
  [Form][TwigBridge] Prevent cached block prefixes from leaking across nested collections
  [Uid] Remove $uid from InvalidArgumentException message
2026-01-04 01:05:29 +01:00
Christian Flothmann
4de50ebbd7 Merge branch '7.4' into 8.0
* 7.4:
  do not use PHPUnit mock objects without configured expectations
  do not use PHPUnit mock objects without configured expectations
  do not use PHPUnit mock objects without configured expectations
  do not use PHPUnit mock objects without configured expectations
  [HttpClient] update chunk items' expiration on revalidation
  [FrameworkBundle] Better deprecation message when running `bin/console debug:container --show-arguments`
  [PropertyAccess][PropertyInfo][Serializer] Skip methods that look like getters but return void or never
  [Form][TwigBridge] Prevent cached block prefixes from leaking across nested collections
  [Uid] Remove $uid from InvalidArgumentException message
2026-01-04 00:40:55 +01:00
Christian Flothmann
f056a732f0 Merge branch '7.3' into 7.4
* 7.3:
  do not use PHPUnit mock objects without configured expectations
  do not use PHPUnit mock objects without configured expectations
  do not use PHPUnit mock objects without configured expectations
  do not use PHPUnit mock objects without configured expectations
  [FrameworkBundle] Better deprecation message when running `bin/console debug:container --show-arguments`
  [PropertyAccess][PropertyInfo][Serializer] Skip methods that look like getters but return void or never
  [Form][TwigBridge] Prevent cached block prefixes from leaking across nested collections
  [Uid] Remove $uid from InvalidArgumentException message
2026-01-04 00:30:35 +01:00
Christian Flothmann
820b6a266a Merge branch '6.4' into 7.3
* 6.4:
  do not use PHPUnit mock objects without configured expectations
  do not use PHPUnit mock objects without configured expectations
  do not use PHPUnit mock objects without configured expectations
  [PropertyAccess][PropertyInfo][Serializer] Skip methods that look like getters but return void or never
  [Form][TwigBridge] Prevent cached block prefixes from leaking across nested collections
  [Uid] Remove $uid from InvalidArgumentException message
2026-01-04 00:21:50 +01:00
Nicolas Grekas
be4bd9031c [Form][TwigBridge] Prevent cached block prefixes from leaking across nested collections 2025-12-29 14:08:44 +01:00
Dariusz Ruminski
0bb5ccb77d PHP CS Fixer: enable static_lambda for Form 2025-12-28 17:33:20 +01:00
Nicolas Grekas
355c7001e9 Merge branch '8.0' into 8.1
* 8.0:
  [Config][FrameworkBundle] Allow using ParamConfigurator with every configurable value
  [HttpFoundation] Improve doc blocks in `ParameterBag`
  [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] Add type hint for FormTypeInterface in FormBuilderInterface
  [Form] Always normalize CRLF and CR to LF in `TextareaType`
  [Cache] Fix stampede protection when forcing item recomputation
  [DoctrineBridge] Fix checking for the session table when using PDO
  fix(messenger): allow signing message without routing definition
  [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:52:15 +01:00