This PR was merged into the 6.4 branch.
Discussion
----------
add relative path mapping example to `framework.ide`
Added example for JetBrains Toolbox with relative path.
Relates to [#60338](https://github.com/symfony/symfony/issues/60338)
Commits
-------
b2519d205 add relative path mapping example to `framework.ide`
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
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
This PR was squashed before being merged into the 6.4 branch.
Discussion
----------
Fix some grammar issues
This PR fixes
* allow to:
* wrong: allow to [infinitive]
* correct: allow [object (e.g. "you")] to [infinitive]
* correct: allow [gerund]
* require to:
* wrong: require to [infinitive]
* correct: require [object (e.g. "you")] to [infinitive]
* correct: require [gerund]
`@OskarStark` given that we make this mistake so frequently, maybe we could create a DOCtor-RST rule for it. Thanks!
Commits
-------
18ef54507 Fix some grammar issues
See issue https://github.com/symfony/symfony-docs/issues/21434
Before:
framework.http_client.max_retries
After:
framework.http_client.retry_failed.max_retries
I am not sure if this is the proper way, as I did not see other sections in the framework config with this level of nesting.
This PR was squashed before being merged into the 6.4 branch.
Discussion
----------
[Form] Document the choices option of EnumType
Fixes#21436.
Commits
-------
f8d47af56 [Form] Document the choices option of EnumType