Skip to content

Clarify the code flow a little bit more #20908

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 410 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
410 commits
Select commit Hold shift + click to select a range
ef5e233
Merge branch '7.2' into 7.3
OskarStark Feb 4, 2025
8c2d877
Merge branch '7.2' into 7.3
xabbuh Feb 4, 2025
86ea00e
Merge branch '7.2' into 7.3
javiereguiluz Feb 6, 2025
0b180d5
Merge branch '7.2' into 7.3
javiereguiluz Feb 6, 2025
197da33
[Validator] Add support for the `otherwise` option in the `When` cons…
alexandre-daubois Feb 7, 2025
3d3b6a1
minor #20627 [Validator] Add support for the `otherwise` option in th…
javiereguiluz Feb 10, 2025
145b558
Merge branch '7.2' into 7.3
javiereguiluz Feb 10, 2025
4955cc7
Merge branch '7.2' into 7.3
javiereguiluz Feb 10, 2025
cf1d8f1
[FrameworkBundle] Allow to pass signals to `StopWorkerOnSignalsListen…
alexandre-daubois Feb 11, 2025
9d25964
Merge remote-tracking branch 'upstream/7.3' into 7.3
OskarStark Feb 12, 2025
8f86b2c
Merge branch '7.2' into 7.3
OskarStark Feb 12, 2025
bed495c
Merge branch '7.2' into 7.3
javiereguiluz Feb 12, 2025
be0784d
minor #20646 [FrameworkBundle] Allow to pass signals to `StopWorkerOn…
javiereguiluz Feb 12, 2025
08a3431
Minor tweaks
javiereguiluz Feb 12, 2025
37e2349
Add `role_fetcher` option to LDAP security configuration
Spomky Feb 13, 2025
45ebcad
minor #20651 [Security] Add `role_fetcher` option to LDAP security co…
javiereguiluz Feb 14, 2025
85b4530
Minor tweaks
javiereguiluz Feb 14, 2025
3b1505d
Messenger: Add consumer name documentation
kkkotov Feb 15, 2025
5260432
Merge remote-tracking branch 'upstream/7.3' into 7.3
OskarStark Feb 16, 2025
03b1ed9
[Notifier] Add Matrix bridge
chii0815 Jan 8, 2025
8619cd8
feature #20548 [Notifier] Add Matrix bridge (chii0815)
OskarStark Feb 17, 2025
2f95737
[Console] Add markdown format to Table
amenk Feb 14, 2025
889849c
minor #20654 [Console] Add markdown format to Table (amenk)
javiereguiluz Feb 17, 2025
0f887b0
Added the versionadded directive
javiereguiluz Feb 17, 2025
45ad265
Merge branch '7.2' into 7.3
javiereguiluz Feb 18, 2025
8b5773b
Merge branch '7.2' into 7.3
javiereguiluz Feb 18, 2025
3add6de
Merge branch '7.2' into 7.3
javiereguiluz Feb 19, 2025
9d05a22
Merge branch '7.2' into 7.3
javiereguiluz Feb 19, 2025
764e47d
[Notifier] Mention the extra info returned in Bluesky SentMessage
javiereguiluz Feb 19, 2025
83dc9d7
Merge branch '7.2' into 7.3
javiereguiluz Feb 19, 2025
4ddcc08
[Security] Add support for closures in the `IsGranted` attribute
alexandre-daubois Feb 19, 2025
60726ca
Add missing spaces in scheduler
Fan2Shrek Feb 20, 2025
b747177
minor #20668 [Notifier] Mention the extra info returned in Bluesky Se…
javiereguiluz Feb 20, 2025
67fd89c
Minor typo
javiereguiluz Feb 20, 2025
f16e17b
minor #20672 Add missing spaces in scheduler (Fan2Shrek)
javiereguiluz Feb 20, 2025
903614c
Merge branch '7.2' into 7.3
javiereguiluz Feb 20, 2025
06e15d5
[Validator] Add support for closures in the `When` constraint
alexandre-daubois Feb 20, 2025
1d8ebd3
minor #20675 [Validator] Add support for closures in the `When` const…
javiereguiluz Feb 21, 2025
ec3d995
Minor tweaks
javiereguiluz Feb 21, 2025
f49a48a
Minor fix
javiereguiluz Feb 21, 2025
7f701e7
[Messenger] Add options to specify SQS queue attributes and tags
TrePe0 Feb 21, 2025
6c7d840
Merge branch '7.2' into 7.3
javiereguiluz Feb 24, 2025
b3b7901
Move the core team page to the contributing root dir as it's not just…
fabpot Feb 24, 2025
b414e4f
minor #20685 Move the core team page to the contributing root dir as …
fabpot Feb 24, 2025
0b7da7d
minor #20682 [Messenger] Add options to specify SQS queue attributes …
javiereguiluz Feb 24, 2025
0d296fc
Minor tweak
javiereguiluz Feb 24, 2025
15cddbe
Merge branch '7.2' into 7.3
javiereguiluz Feb 25, 2025
a2daec4
[Config] Allow using an enum FQCN with `EnumNode`
alexandre-daubois Feb 26, 2025
f048179
feature #20694 [Config] Allow using an enum FQCN with `EnumNode` (ale…
OskarStark Feb 26, 2025
f0be895
[Mailer] [Amazon] Remove outdated warning
Spomky Feb 26, 2025
63fc4e0
[Messenger] Priority support for Beanstalkd bridge
Spomky Feb 26, 2025
e9c4f90
fix typo
xabbuh Feb 27, 2025
7fae9f8
minor #20695 [Mailer] [Amazon] Remove outdated warning (Spomky)
javiereguiluz Feb 27, 2025
0a49a8e
minor #20696 [Messenger][Beanstalkd] Add Priority support (Spomky)
javiereguiluz Feb 27, 2025
04f5498
Reword
javiereguiluz Feb 27, 2025
26c80ef
Merge branch '7.2' into 7.3
javiereguiluz Feb 27, 2025
fda3a1e
minor #20697 fix typo (xabbuh)
javiereguiluz Feb 27, 2025
8404c9b
feature #20590 [Notifier] Add Smsbox Notifier doc (alanzarli)
OskarStark Feb 28, 2025
d976d0e
Add documentation for error:dump command
pyrech Mar 1, 2025
3c3b2ea
[Serializer] Add defaultType to DiscriminatorMap
alanpoulain Mar 1, 2025
00d97b3
Merge branch '7.2' into 7.3
javiereguiluz Mar 3, 2025
036b08f
Merge branch '7.2' into 7.3
javiereguiluz Mar 3, 2025
b1df810
Merge branch '7.2' into 7.3
javiereguiluz Mar 4, 2025
3591700
Merge branch '7.2' into 7.3
javiereguiluz Mar 4, 2025
1d3461c
Merge branch '7.2' into 7.3
javiereguiluz Mar 4, 2025
8644781
Merge branch '7.2' into 7.3
javiereguiluz Mar 4, 2025
0d10945
Merge branch '7.2' into 7.3
OskarStark Mar 4, 2025
159a150
Update nested options examples to use setOptions instead of setDefault
yceruto Mar 4, 2025
2ee7f1f
Merge branch '7.2' into 7.3
OskarStark Mar 6, 2025
0473a80
Merge branch '7.2' into 7.3
OskarStark Mar 6, 2025
8788120
Merge branch '7.2' into 7.3
javiereguiluz Mar 6, 2025
deba843
Merge branch '7.2' into 7.3
javiereguiluz Mar 6, 2025
a35d0b0
Merge branch '7.2' into 7.3
javiereguiluz Mar 6, 2025
bcb0e34
Merge remote-tracking branch 'upstream/7.3' into 7.3
OskarStark Mar 7, 2025
c9fd47d
Merge branch '7.2' into 7.3
javiereguiluz Mar 10, 2025
bd73281
Merge branch '7.2' into 7.3
javiereguiluz Mar 10, 2025
790145c
Merge branch '7.2' into 7.3
javiereguiluz Mar 10, 2025
b529b65
[Messenger] Add a link to a class
javiereguiluz Mar 10, 2025
75d85bd
[Messenger] Add Beanstalkd's `bury_on_reject` option
HypeMC Mar 8, 2025
1f9919e
minor #20737 [Messenger] Add Beanstalkd's `bury_on_reject` option (Hy…
javiereguiluz Mar 10, 2025
cd314b1
Merge branch '7.2' into 7.3
javiereguiluz Mar 10, 2025
8a8251c
minor #20706 Add documentation for `error:dump` command (pyrech)
javiereguiluz Mar 10, 2025
e6c8e7c
Minor rewords
javiereguiluz Mar 10, 2025
abdd3c9
[Messenger] Keepalive support for Doctrine & Redis
HypeMC Mar 8, 2025
a8fc6c5
minor #20721 [Messenger] Keepalive support for Doctrine & Redis (HypeMC)
javiereguiluz Mar 10, 2025
0b9fbc1
[Messenger] Fix link to class
HypeMC Mar 10, 2025
9a531e2
Merge branch '7.2' into 7.3
OskarStark Mar 10, 2025
dab239b
minor #20740 [Messenger] Fix link to class (HypeMC)
OskarStark Mar 10, 2025
6a1f533
feature #20707 [Serializer] Add `defaultType` to `DiscriminatorMap` (…
OskarStark Mar 10, 2025
4043a28
[FrameworkBundle] Mention the `property_info.with_constructor_extract…
HypeMC Mar 10, 2025
371c4d4
minor #20752 [FrameworkBundle] Mention the `property_info.with_constr…
javiereguiluz Mar 11, 2025
0c6e3ea
minor #20669 [Security] Add support for closures in the `IsGranted` a…
javiereguiluz Mar 11, 2025
07e3d4b
Minor tweak
javiereguiluz Mar 11, 2025
45b7549
Add configuration to the mailer section #20641
eliasfernandez Feb 25, 2025
ea5d2cf
Document the `configureCssLoader` method
Mar 11, 2025
d87be4e
minor #20689 [Mailer] Add configuration to the mailer section (eliasf…
javiereguiluz Mar 11, 2025
6930b68
Minor reword
javiereguiluz Mar 11, 2025
e9a6bd4
Merge branch '7.2' into 7.3
javiereguiluz Mar 11, 2025
4c94323
minor #20755 Documenting the configureCssLoader method (Jalen Muller)
javiereguiluz Mar 12, 2025
cc298b8
Minor reword
javiereguiluz Mar 12, 2025
10051e9
Merge branch '7.2' into 7.3
javiereguiluz Mar 12, 2025
f5164f7
[Messenger][Process] add fromShellCommandLine documentation
Staormin Feb 21, 2025
b76b199
[TwigBridge] Add Twig field_id() form helper
alamirault Mar 12, 2025
152d436
[Yaml] Add the Yaml::DUMP_FORCE_DOUBLE_QUOTES_ON_VALUES flag to enfor…
alamirault Mar 12, 2025
7214ad2
[PropertyInfo] Fix class namespace
HypeMC Mar 12, 2025
612aead
bug #20759 [PropertyInfo] Fix class namespace (HypeMC)
OskarStark Mar 12, 2025
068abee
minor #20758 [Yaml] Add the `Yaml::DUMP_FORCE_DOUBLE_QUOTES_ON_VALUES…
javiereguiluz Mar 12, 2025
409ec02
Tweaks
javiereguiluz Mar 12, 2025
4af71a0
minor #20757 Add Twig `field_id()` form helper (alamirault)
javiereguiluz Mar 12, 2025
3d03555
Merge branch '7.2' into 7.3
OskarStark Mar 14, 2025
b04bc3a
Add new tip to explain usage of --method option for filtering routes
santysisi Mar 14, 2025
be54b38
Update input option for MoneyType
StevenRenaux Mar 17, 2025
b0faf88
Merge branch '7.2' into 7.3
javiereguiluz Mar 17, 2025
19fb343
Merge branch '7.2' into 7.3
javiereguiluz Mar 18, 2025
2ffbeb1
Merge branch '7.2' into 7.3
javiereguiluz Mar 18, 2025
a558c4c
Merge branch '7.2' into 7.3
javiereguiluz Mar 18, 2025
faed230
minor #20765 [Routing] Add new tip to explain usage of --method optio…
javiereguiluz Mar 18, 2025
b8af29c
Reword
javiereguiluz Mar 18, 2025
6af45fb
Merge branch '7.2' into 7.3
javiereguiluz Mar 18, 2025
387943c
[Validator] Allow Unique constraint validation on all elements
mdoutreluingne Feb 23, 2025
43a51a8
minor #20684 [Validator] Allow Unique constraint validation on all el…
javiereguiluz Mar 18, 2025
8801059
Minor tweak
javiereguiluz Mar 18, 2025
6a0c643
Merge branch '7.2' into 7.3
javiereguiluz Mar 19, 2025
c8dfff4
Merge branch '7.2' into 7.3
javiereguiluz Mar 19, 2025
38eee53
Merge branch '7.2' into 7.3
javiereguiluz Mar 19, 2025
1da928a
minor #20719 [OptionsResolver] Update nested options examples to use …
javiereguiluz Mar 19, 2025
d009744
Tweaks
javiereguiluz Mar 19, 2025
1197041
Merge branch '7.2' into 7.3
javiereguiluz Mar 19, 2025
7642705
Merge branch '7.2' into 7.3
javiereguiluz Mar 20, 2025
9af2593
minor #20681 [Messenger][Process] add `fromShellCommandLine()` docume…
javiereguiluz Mar 20, 2025
fd26bac
Minor tweaks
javiereguiluz Mar 20, 2025
081a975
[TypeInfo] Add TypeFactoryTrait::fromValue method
alamirault Mar 20, 2025
2f2187d
minor #20781 [TypeInfo] Add `TypeFactoryTrait::fromValue` method (ala…
javiereguiluz Mar 21, 2025
8967cd3
Reword
javiereguiluz Mar 21, 2025
0df58ea
Merge branch '7.2' into 7.3
javiereguiluz Mar 21, 2025
006b41e
Update type_info.rst
alamirault Mar 21, 2025
2243ab9
doc: Add doc for option `--dry-run` for the command `importmap:requir…
chadyred Mar 21, 2025
f8afad2
Merge branch '7.2' into 7.3
javiereguiluz Mar 21, 2025
ccda1c2
minor #20788 [TypeInfo] Add missing semi colons (alamirault)
javiereguiluz Mar 21, 2025
c91904c
Merge branch '7.2' into 7.3
javiereguiluz Mar 21, 2025
0bf6bc3
Fix documentation on router method option usage
santysisi Mar 23, 2025
2a2faa4
[HttpKernel] Support Uid in #[MapQueryParameter]
alamirault Mar 20, 2025
996f3d3
[Serializer] Add NumberNormalizer
alamirault Mar 20, 2025
e24fb9a
[Scheduler] Add MessageHandler result to the PostRunEvent
alamirault Mar 23, 2025
fd0354e
Merge branch '7.2' into 7.3
javiereguiluz Mar 24, 2025
b583a60
Merge branch '7.2' into 7.3
javiereguiluz Mar 24, 2025
26e69bd
minor #20803 Fix documentation on router method option usage (santysisi)
javiereguiluz Mar 24, 2025
e2983cc
Merge branch '7.2' into 7.3
javiereguiluz Mar 24, 2025
d9a48be
[Console] Document the `TreeHelper`
smnandre Mar 21, 2025
b39f1c1
minor #20786 [Console] Document the `TreeHelper` (smnandre)
javiereguiluz Mar 24, 2025
a0758ac
Tweaks
javiereguiluz Mar 24, 2025
16861e3
order use statements alphabetically
xabbuh Mar 24, 2025
bdca4e9
[Messenger] Add `--class-filter` option to the `messenger:failed:remo…
arnaud-deabreu Mar 24, 2025
44d7f15
feature #20809 [Messenger] Add `--class-filter` option to the `messen…
OskarStark Mar 24, 2025
da62e32
minor
OskarStark Mar 24, 2025
b860036
Merge branch '7.2' into 7.3
OskarStark Mar 24, 2025
137134a
minor
OskarStark Mar 24, 2025
ae7e198
minor #20782 [Serializer] Add `NumberNormalizer` (alamirault)
javiereguiluz Mar 24, 2025
bc3412b
Fix syntax issue
javiereguiluz Mar 24, 2025
f770e6c
minor #20784 [HttpKernel] Support Uid in `#[MapQueryParameter]` (alam…
javiereguiluz Mar 24, 2025
c018ddc
Minor tweak
javiereguiluz Mar 24, 2025
e8f81ea
minor #20790 Add doc for option `--dry-run` for the command `importma…
javiereguiluz Mar 24, 2025
ce6c3a9
Reword
javiereguiluz Mar 24, 2025
0d01dbc
Merge branch '7.2' into 7.3
javiereguiluz Mar 24, 2025
0dd6f34
document DatePointType
garak Mar 24, 2025
2d7f46c
minor #20817 [Clock] document `DatePointType` (garak)
javiereguiluz Mar 25, 2025
823c843
Minor tweaks
javiereguiluz Mar 25, 2025
5844ee6
[Console] Tweak the tree helper
javiereguiluz Mar 25, 2025
4191969
Document log_channel
Fan2Shrek Mar 24, 2025
b708197
minor #20804 [Scheduler] Add MessageHandler result to the PostRunEven…
javiereguiluz Mar 26, 2025
ea86535
Merge branch '7.2' into 7.3
OskarStark Mar 26, 2025
104552b
minor #20825 [Console] Tweak the tree helper (javiereguiluz)
OskarStark Mar 26, 2025
6d7c87f
[Security] Add methods param doc for isCsrfTokenValid attribute
Oviglo Mar 24, 2025
a1d7e49
minor #20811 [Security] Add methods param doc for isCsrfTokenValid at…
javiereguiluz Mar 26, 2025
84634a2
Reword
javiereguiluz Mar 26, 2025
c10ae18
Merge branch '7.2' into 7.3
javiereguiluz Mar 26, 2025
c9dc94b
Merge branch '7.2' into 7.3
javiereguiluz Mar 26, 2025
89e37c1
messenger: allow to close connection
MrYamous Mar 28, 2025
63d466a
minor #20818 [FrameworkBundle] Document `log_channel` (Fan2Shrek)
javiereguiluz Mar 28, 2025
76f7e6e
Minor tweak
javiereguiluz Mar 28, 2025
0328a55
Merge branch '7.2' into 7.3
javiereguiluz Mar 28, 2025
f1b1c69
Merge branch '7.2' into 7.3
javiereguiluz Mar 28, 2025
29337b2
Merge branch '7.2' into 7.3
javiereguiluz Mar 31, 2025
7d68082
minor #20834 [Messenger] Allow to close the transport connection (MrY…
javiereguiluz Mar 31, 2025
1d02e0c
Minor tweaks
javiereguiluz Mar 31, 2025
16d7666
Merge branch '7.2' into 7.3
javiereguiluz Apr 1, 2025
c573cbb
Merge branch '7.2' into 7.3
javiereguiluz Apr 1, 2025
5bbf7d6
Merge branch '7.2' into 7.3
javiereguiluz Apr 1, 2025
e6830ea
Merge branch '7.2' into 7.3
javiereguiluz Apr 1, 2025
671eba4
[FrameworkBundle] Deprecate setting the collect_serializer_data to false
MrYamous Apr 2, 2025
d53cc63
minor #20850 [FrameworkBundle] Deprecate setting the `collect_seriali…
javiereguiluz Apr 2, 2025
a75e099
Merge branch '7.2' into 7.3
javiereguiluz Apr 2, 2025
cadf459
Merge branch '7.2' into 7.3
javiereguiluz Apr 3, 2025
5fd4187
minor #20656 [Messenger] Add consumer name documentation (kkkotov)
javiereguiluz Apr 3, 2025
6cfc92a
Minor tweaks
javiereguiluz Apr 3, 2025
e8bbb5b
Merge branch '7.2' into 7.3
javiereguiluz Apr 3, 2025
6e05fe7
Merge branch '7.2' into 7.3
javiereguiluz Apr 3, 2025
6d6835b
Merge branch '7.2' into 7.3
javiereguiluz Apr 3, 2025
108f775
Merge branch '7.2' into 7.3
javiereguiluz Apr 3, 2025
fe7aeb2
Merge branch '7.2' into 7.3
javiereguiluz Apr 3, 2025
9ebfea8
Merge branch '7.2' into 7.3
javiereguiluz Apr 4, 2025
eb5f908
[RateLimiter] default `lock_factory` to `auto`
kbond Apr 4, 2025
9d6df9d
Merge branch '7.2' into 7.3
javiereguiluz Apr 4, 2025
6c3a18d
Merge branch '7.2' into 7.3
javiereguiluz Apr 4, 2025
19b99db
[Config] Add `NodeDefinition::docUrl()`
alexandre-daubois Apr 4, 2025
8d49bfa
minor #20859 [Config] Add `NodeDefinition::docUrl()` (alexandre-daubois)
javiereguiluz Apr 7, 2025
ca34f50
minor #20858 [RateLimiter] default `lock_factory` to `auto` (kbond)
javiereguiluz Apr 7, 2025
20ce189
Added a versionadded directive
javiereguiluz Apr 7, 2025
5df9631
Merge branch '7.2' into 7.3
javiereguiluz Apr 7, 2025
b5efbcd
[Templates] Add a versionadded diretive for a command change
javiereguiluz Apr 7, 2025
97de6eb
[Translator] document global variables feature configuration
94noni Apr 7, 2025
97d301a
[Messenger] Document stamps in HandleTrait::handle
Fan2Shrek Apr 2, 2025
59836aa
minor #20851 [Messenger] Document stamps in HandleTrait::handle (Fan2…
javiereguiluz Apr 7, 2025
c2c14fd
Minor tweak
javiereguiluz Apr 7, 2025
7f9f20f
[Mesenger] Fix code example
javiereguiluz Apr 7, 2025
f70f43d
feature #20768 [Form] Update `input` option for `MoneyType` (StevenRe…
OskarStark Apr 7, 2025
ce9207e
minor #20862 [Translation] document global variables feature configur…
javiereguiluz Apr 8, 2025
11b2569
Tweaks and rewords
javiereguiluz Apr 8, 2025
fff5293
[RateLimiter] deprecate injecting `RateLimiterFactory`
kbond Apr 8, 2025
35349c1
[RateLimiter] compound rate limiter
kbond Apr 8, 2025
70716ab
Update service_container.rst to 7.3
Jean-Beru Apr 8, 2025
c0f12c7
[Translation] Fix Lint (DOCtor-RST)
Jean-Beru Apr 8, 2025
ac9e20c
Add docs for bridge twig validator #20836
sfmok Apr 8, 2025
94998bb
minor #20872 [Translation] Fix Lint (DOCtor-RST) (Jean-Beru)
javiereguiluz Apr 9, 2025
56c81f5
Merge branch '7.2' into 7.3
javiereguiluz Apr 9, 2025
3f949af
minor #20869 [RateLimiter] deprecate injecting `RateLimiterFactory` (…
javiereguiluz Apr 9, 2025
2e90c4f
minor #20871 [FrameworkBundle] Remove DI, Entity and Kernel exclusion…
javiereguiluz Apr 9, 2025
59fd3a3
Tweaks
javiereguiluz Apr 9, 2025
e9505df
minor #20870 [RateLimiter] compound rate limiter (kbond)
javiereguiluz Apr 9, 2025
518fc3a
Minor tweak
javiereguiluz Apr 9, 2025
ee79556
Merge branch '7.2' into 7.3
javiereguiluz Apr 10, 2025
6a73077
minor #20863 [Validator] Add docs for bridge twig validator #20836 (s…
javiereguiluz Apr 10, 2025
344d8ba
Reorganized the contents of the new constraint
javiereguiluz Apr 10, 2025
44d5b34
Merge branch '7.2' into 7.3
javiereguiluz Apr 14, 2025
93b7612
Merge branch '7.2' into 7.3
javiereguiluz Apr 14, 2025
ffa9001
Merge branch '7.2' into 7.3
javiereguiluz Apr 14, 2025
bcb1ce6
Merge branch '7.2' into 7.3
javiereguiluz Apr 14, 2025
167bfc5
Merge branch '7.2' into 7.3
javiereguiluz Apr 15, 2025
25ef283
Merge branch '7.2' into 7.3
javiereguiluz Apr 15, 2025
55c7933
Merge branch '7.2' into 7.3
javiereguiluz Apr 15, 2025
669c72b
Merge branch '7.2' into 7.3
javiereguiluz Apr 15, 2025
bcd75bd
Merge branch '7.2' into 7.3
javiereguiluz Apr 16, 2025
b9b3646
Merge branch '7.2' into 7.3
javiereguiluz Apr 16, 2025
c4cf202
fix configuration block indentation
xabbuh Apr 17, 2025
50c531c
minor #20898 fix configuration block indentation (xabbuh)
xabbuh Apr 17, 2025
aa3b167
[Routing] document `UriSigner::verify()`
kbond Apr 18, 2025
e7613b0
[Validator] Add filenameCharset and filenameCountUnit options to File…
alamirault Apr 19, 2025
7b77976
feature #20906 [Validator] Add `filenameCharset` and `filenameCountUn…
OskarStark Apr 21, 2025
ff88904
feature #20905 [Routing] document `UriSigner::verify()` (kbond)
OskarStark Apr 21, 2025
e368da1
Clarify the code flow a little bit more
chx Apr 22, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions components/clock.rst
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,36 @@ timestamps::
:method:`Symfony\\Component\\Clock\\DatePoint::getMicrosecond` methods were
introduced in Symfony 7.1.

Storing DatePoints in the Database
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

If you :doc:`use Doctrine </doctrine>` to work with databases, consider using the
``date_point`` Doctrine type, which converts to/from ``DatePoint`` objects automatically::

// src/Entity/Product.php
namespace App\Entity;

use Doctrine\ORM\Mapping as ORM;
use Symfony\Component\Clock\DatePoint;

#[ORM\Entity]
class Product
{
// if you don't define the Doctrine type explicitly, Symfony will autodetect it:
#[ORM\Column]
private DatePoint $createdAt;

// if you prefer to define the Doctrine type explicitly:
#[ORM\Column(type: 'date_point')]
private DatePoint $updatedAt;

// ...
}

.. versionadded:: 7.3

The ``DatePointType`` was introduced in Symfony 7.3.

.. _clock_writing-tests:

Writing Time-Sensitive Tests
Expand Down
48 changes: 48 additions & 0 deletions components/config/definition.rst
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,25 @@ The configuration can now be written like this::
->end()
;

You can also use the ``enumClass()`` method to pass the FQCN of an enum
class to the node. This will automatically set the values of the node to
the cases of the enum::

$rootNode
->children()
->enumNode('delivery')
->enumClass(Delivery::class)
->end()
->end()
;

When using a backed enum, the values provided to the node will be cast
to one of the enum cases if possible.

.. versionadded:: 7.3

The ``enumClass()`` method was introduced in Symfony 7.3.

Array Nodes
~~~~~~~~~~~

Expand Down Expand Up @@ -527,6 +546,30 @@ and in XML:
<!-- entries-per-page: This value is only used for the search results page. -->
<config entries-per-page="25"/>

You can also provide a URL to a full documentation page::

$rootNode
->docUrl('Full documentation is available at https://example.com/docs/{version:major}.{version:minor}/reference.html')
->children()
->integerNode('entries_per_page')
->defaultValue(25)
->end()
->end()
;

A few placeholders are available to customize the URL:

* ``{version:major}``: The major version of the package currently installed
* ``{version:minor}``: The minor version of the package currently installed
* ``{package}``: The name of the package

The placeholders will be replaced when printing the configuration tree with the
``config:dump-reference`` command.

.. versionadded:: 7.3

The ``docUrl()`` method was introduced in Symfony 7.3.

Optional Sections
-----------------

Expand Down Expand Up @@ -815,6 +858,7 @@ A validation rule always has an "if" part. You can specify this part in
the following ways:

- ``ifTrue()``
- ``ifFalse()``
- ``ifString()``
- ``ifNull()``
- ``ifEmpty()``
Expand All @@ -833,6 +877,10 @@ A validation rule also requires a "then" part:
Usually, "then" is a closure. Its return value will be used as a new value
for the node, instead of the node's original value.

.. versionadded:: 7.3

The ``ifFalse()`` method was introduced in Symfony 7.3.

Configuring the Node Path Separator
-----------------------------------

Expand Down
14 changes: 10 additions & 4 deletions components/console/helpers/formatterhelper.rst
Original file line number Diff line number Diff line change
Expand Up @@ -129,10 +129,16 @@ Sometimes you want to format seconds to time. This is possible with the
The first argument is the seconds to format and the second argument is the
precision (default ``1``) of the result::

Helper::formatTime(42); // 42 secs
Helper::formatTime(125); // 2 mins
Helper::formatTime(125, 2); // 2 mins, 5 secs
Helper::formatTime(172799, 4); // 1 day, 23 hrs, 59 mins, 59 secs
Helper::formatTime(0.001); // 1 ms
Helper::formatTime(42); // 42 s
Helper::formatTime(125); // 2 min
Helper::formatTime(125, 2); // 2 min, 5 s
Helper::formatTime(172799, 4); // 1 d, 23 h, 59 min, 59 s
Helper::formatTime(172799.056, 5); // 1 d, 23 h, 59 min, 59 s, 56 ms

.. versionadded:: 7.3

Support for formatting up to milliseconds was introduced in Symfony 7.3.

Formatting Memory
-----------------
Expand Down
1 change: 1 addition & 0 deletions components/console/helpers/map.rst.inc
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@
* :doc:`/components/console/helpers/progressbar`
* :doc:`/components/console/helpers/questionhelper`
* :doc:`/components/console/helpers/table`
* :doc:`/components/console/helpers/tree`
* :doc:`/components/console/helpers/debug_formatter`
* :doc:`/components/console/helpers/cursor`
8 changes: 4 additions & 4 deletions components/console/helpers/questionhelper.rst
Original file line number Diff line number Diff line change
Expand Up @@ -480,10 +480,10 @@ invalid answer and will only be able to proceed if their input is valid.
use Symfony\Component\Validator\Validation;

$question = new Question('Please enter the name of the bundle', 'AcmeDemoBundle');
$validation = Validation::createCallable(new Regex([
'pattern' => '/^[a-zA-Z]+Bundle$/',
'message' => 'The name of the bundle should be suffixed with \'Bundle\'',
]));
$validation = Validation::createCallable(new Regex(
pattern: '/^[a-zA-Z]+Bundle$/',
message: 'The name of the bundle should be suffixed with \'Bundle\'',
));
$question->setValidator($validation);

Validating a Hidden Response
Expand Down
24 changes: 22 additions & 2 deletions components/console/helpers/table.rst
Original file line number Diff line number Diff line change
Expand Up @@ -181,11 +181,31 @@ The table style can be changed to any built-in styles via
// same as calling nothing
$table->setStyle('default');

// changes the default style to compact
// changes the default style to markdown
$table->setStyle('markdown');
$table->render();

This outputs the table in the Markdown format:

.. code-block:: terminal

| ISBN | Title | Author |
|---------------|--------------------------|------------------|
| 99921-58-10-7 | Divine Comedy | Dante Alighieri |
| 9971-5-0210-0 | A Tale of Two Cities | Charles Dickens |
| 960-425-059-0 | The Lord of the Rings | J. R. R. Tolkien |
| 80-902734-1-6 | And Then There Were None | Agatha Christie |

.. versionadded:: 7.3

The ``markdown`` style was introduced in Symfony 7.3.

You can also set the style to ``compact``::

$table->setStyle('compact');
$table->render();

This code results in:
The output of this command will be:

.. code-block:: terminal

Expand Down
Loading