1174 Commits

Author SHA1 Message Date
Javier Eguiluz
454d5534af [Form] Fix more broken references related to removed pages 2026-01-23 11:58:14 +01:00
Javier Eguiluz
f985266bfe Merge branch '6.4' into 7.3
* 6.4:
  [Form] Merge some small articles into the main form article
2026-01-22 08:16:54 +01:00
Javier Eguiluz
d8cda71d78 [Form] Merge some small articles into the main form article 2026-01-22 08:07:49 +01:00
Javier Eguiluz
b37d5cb932 minor #21620 [Validator] Consistently use Assert\... when referring to assertions (mpdude)
This PR was merged into the 7.3 branch.

Discussion
----------

[Validator] Consistently use `Assert\...` when referring to assertions

I noticed a slight inconsistency in the docs when showing examples of using `Constraint` classes. In some examples, the class is `use`d and shown with the short class name. In other cases, the `Symfony\Component\Validator\Constraints` namespace is used as `Assert`, and references being made as `Assert\NotBlank` and similar.

Personally, I like the `Assert\` prefix, since it triggers the "ah, that's a constraint" wiring in my head, but I don't mind. Generally, I'd prefer consistency, since I noticed that this caused confusion in my team.

Additionally, this PR fixes a few places where we are still showing the use of array-based options instead of named arguments, a change that was made in 7.3.

Commits
-------

4b4161faa Consistently use `Assert\...` when referring to assertions
2026-01-16 08:56:54 +01:00
Javier Eguiluz
0403aae2cb Merge branch '6.4' into 7.3
* 6.4:
  Remove some idioms and simplify expressions
2026-01-09 17:21:54 +01:00
Javier Eguiluz
c9b3b76d00 minor #21690 Remove some idioms and simplify expressions (javiereguiluz)
This PR was merged into the 6.4 branch.

Discussion
----------

 Remove some idioms and simplify expressions

The audience of Symfony docs is worlwide and mostly non-native in English, so let's try to use simpler expressions if possible.

Commits
-------

ec70ebc24 Remove some idioms and simplify expressions
2026-01-09 17:18:55 +01:00
Javier Eguiluz
ef9ad3a15d Merge branch '6.4' into 7.3
* 6.4:
  Fix some grammar issues
2026-01-08 16:44:18 +01:00
Javier Eguiluz
18ef54507f Fix some grammar issues 2026-01-08 16:36:18 +01:00
Javier Eguiluz
ec70ebc249 Remove some idioms and simplify expressions 2026-01-07 17:36:05 +01:00
Matthias Pigulla
4b4161faa4 Consistently use Assert\... when referring to assertions 2025-12-03 13:40:29 +01:00
Javier Eguiluz
e528343734 Merge branch '6.4' into 7.3
* 6.4:
  [Validation]: Adding missing `use`
2025-11-07 13:00:10 +01:00
Thomas Landauer
28c55eac8f [Validation]: Adding missing use
Page: https://symfony.com/doc/6.4/form/without_class.html#conditional-constraints
2025-11-06 17:36:47 +01:00
Javier Eguiluz
e8f4badbcf Merge branch '7.2' into 7.3
* 7.2:
  Fix extra space in inherit_data_option.rst
2025-07-28 08:21:29 +02:00
Javier Eguiluz
29d2c72f64 Merge branch '6.4' into 7.2
* 6.4:
  Fix extra space in inherit_data_option.rst
2025-07-28 08:21:29 +02:00
Loïck Piera
c8b2959e7a Fix extra space in inherit_data_option.rst 2025-07-25 16:47:58 +02:00
Javier Eguiluz
e1695bc1d7 Merge branch '7.2' into 7.3
* 7.2:
  [Form][Validator] Merge all articles about using validation groups in forms
2025-07-04 08:41:12 +02:00
Javier Eguiluz
38d2041cf3 Merge branch '6.4' into 7.2
* 6.4:
  [Form][Validator] Merge all articles about using validation groups in forms
2025-07-04 08:41:12 +02:00
Javier Eguiluz
0d09f16df5 [Form][Validator] Merge all articles about using validation groups in forms 2025-07-04 08:40:53 +02:00
Javier Eguiluz
173f8a34b8 Merge branch '7.2' into 7.3
* 7.2:
  [Form] Document conditional constraints in forms without classes
  [Serializer] Update the getSupportedTypes() docs of custom serializers
2025-06-10 08:40:22 +02:00
Javier Eguiluz
a8177e6520 Merge branch '6.4' into 7.2
* 6.4:
  [Form] Document conditional constraints in forms without classes
  [Serializer] Update the getSupportedTypes() docs of custom serializers
2025-06-10 08:40:16 +02:00
Javier Eguiluz
1740bb6300 [Form] Document conditional constraints in forms without classes 2025-06-04 11:09:01 +02:00
Christian Flothmann
b9f840013d Merge branch '7.2' into 7.3
* 7.2:
  [Form] Remove link to abandoned collection package
  Update AsTaggedItem parameters name in the file value_resolver.rst
2025-05-25 14:02:18 +02:00
Christian Flothmann
6d3a962473 Merge branch '6.4' into 7.2
* 6.4:
  [Form] Remove link to abandoned collection package
  Update AsTaggedItem parameters name in the file value_resolver.rst
2025-05-25 14:02:00 +02:00
Simon André
d7eae45b90 [Form] Remove link to abandoned collection package 2025-05-25 14:01:29 +02:00
Javier Eguiluz
4987fe5381 Merge branch '6.4' into 7.2
* 6.4:
  Update embedded.rst
2025-04-15 18:02:08 +02:00
Javier Eguiluz
669c72bc5a Merge branch '7.2' into 7.3
* 7.2:
  Update embedded.rst
2025-04-15 18:02:08 +02:00
Ousmane NDIAYE
90def24961 Update embedded.rst
Comment added to specify the name of the fil to edit. (As previous examples)
2025-04-15 18:01:41 +02:00
Javier Eguiluz
6e05fe72da Merge branch '7.2' into 7.3
* 7.2:
  Update dynamic_form_modification.rst
  Minor tweaks
  [Serializer] Update serializer.rst
2025-04-03 09:39:21 +02:00
Javier Eguiluz
572533fc1f Merge branch '6.4' into 7.2
* 6.4:
  Update dynamic_form_modification.rst
  Minor tweaks
  [Serializer] Update serializer.rst
2025-04-03 09:39:21 +02:00
Ignacio Aguirre
05ff5258e2 Update dynamic_form_modification.rst
Update the namespace of the class to subscribe to events. Currently it points to \EventListener, but I find it more coherent to associate it with \EventSubscriber
2025-04-03 09:39:07 +02:00
Antoine Lamirault
b76b199035 [TwigBridge] Add Twig field_id() form helper 2025-03-12 10:47:41 +01:00
Christian Flothmann
a00dddbdd8 use named-arguments to configure validation constraint options 2025-01-24 12:34:13 +01:00
Javier Eguiluz
e844fdbe4f Merge branch '6.4' into 7.1
* 6.4:
  wrap multiple constraints in a Collection constraint to validate array-like data
2025-01-09 12:27:33 +01:00
Christian Flothmann
6e71ed0d5c wrap multiple constraints in a Collection constraint to validate array-like data 2025-01-08 14:51:14 +01:00
Wouter de Jong
84ead23b4f Merge remote-tracking branch 'origin/6.4' into 7.1
* origin/6.4:
  Replaced caution blocks with warning
2024-12-07 12:11:20 +01:00
Timo Bakx
3849004fcc Replaced caution blocks with warning
Fixes #20371

Both blocks are currently rendered identically. Keeping only one of the two makes it easier to contribute.

Some blocks were elevated to danger.
2024-12-07 12:02:55 +01:00
Javier Eguiluz
20e69fad42 Merge branch '6.4' into 7.1
* 6.4:
  update controller return value doc
  Replace annotation to attribute in form unit testing comment
2024-11-26 17:56:19 +01:00
Antoine Lamirault
a51974c18e Replace annotation to attribute in form unit testing comment 2024-11-24 12:17:59 +01:00
Javier Eguiluz
411cd509e0 [Form] Remove a legacy article 2024-09-26 11:11:38 +02:00
Oskar Stark
c36c412976 Merge branch '6.4' into 7.0
* 6.4:
  Don't capitalize acronyms in class names
2024-05-10 09:28:47 +02:00
Javier Eguiluz
5b8e1984e9 Don't capitalize acronyms in class names 2024-05-09 16:55:55 +02:00
Oskar Stark
d0f8f2bb8d Merge branch '6.4' into 7.0
* 6.4:
  minor
  [CS] Fix more nullable types
  [Testing] Update nullable types
  Reword
  Refactor Request object documentation and redefine method logic
2024-04-15 08:07:45 +02:00
Oskar Stark
8d91db9bc5 Merge branch '5.4' into 6.4
* 5.4:
  minor
  [CS] Fix more nullable types
  [Testing] Update nullable types
2024-04-15 08:07:40 +02:00
Simon André
d896411792 [CS] Fix more nullable types
Follows #19786
2024-04-13 16:53:04 +02:00
Javier Eguiluz
14014059da Merge branch '6.4' into 7.0
* 6.4:
  Fix wrong form name
2024-02-28 17:39:07 +01:00
Kik Minev
c804e76e74 Fix wrong form name 2024-02-28 17:38:26 +01:00
Oskar Stark
7bc69a67ca Merge branch '6.4' into 7.0
* 6.4:
  -
2024-02-22 12:18:23 +01:00
Oskar Stark
4f353624df - 2024-02-22 12:18:16 +01:00
Javier Eguiluz
bff80dfb04 Merge branch '6.4' into 7.0
* 6.4:
  [Forms] Use regular JavaScript functions in the examples
2024-02-19 12:57:41 +01:00
Javier Eguiluz
91c545f5b0 Minor tweak 2024-02-19 12:55:06 +01:00