Skip to content

Fix HTML Sanitizer method names in documentation #21215

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 3,404 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
3404 commits
Select commit Hold shift + click to select a range
310783b
[Translation] Don't mention the abandoned Doctrine Translatable behavior
javiereguiluz May 23, 2025
203c0f8
[Security] Add ability for voters to explain their vote
MrYamous Feb 25, 2025
523229b
minor #20690 [Security] Add ability for voters to explain their vote …
javiereguiluz May 23, 2025
ef9c945
Minor tweaks
javiereguiluz May 23, 2025
ef5d811
minor #20967 [Workflow] Document custom workflow definition validator…
javiereguiluz May 23, 2025
a2c83bf
Minor tweaks
javiereguiluz May 23, 2025
8835d41
Merge branch '6.4' into 7.2
javiereguiluz May 23, 2025
083c08d
Merge branch '7.2' into 7.3
javiereguiluz May 23, 2025
faa30fc
[Security] Stateless CSRF is enabled by default in 7.2
ThomasLandauer May 25, 2025
6d3a962
Merge branch '6.4' into 7.2
xabbuh May 25, 2025
b9f8400
Merge branch '7.2' into 7.3
xabbuh May 25, 2025
8c0ddbc
Merge branch '6.4' into 7.2
javiereguiluz May 26, 2025
bea1522
Merge branch '7.2' into 7.3
javiereguiluz May 26, 2025
f2533b6
minor #20989 [Translation] Don't mention the abandoned Doctrine Trans…
javiereguiluz May 26, 2025
305fecc
Merge branch '7.2' into 7.3
javiereguiluz May 26, 2025
e95223f
Merge branch '6.4' into 7.2
javiereguiluz May 26, 2025
e9380a0
Merge branch '7.2' into 7.3
javiereguiluz May 26, 2025
ba61f3c
Merge branch '6.4' into 7.2
javiereguiluz May 27, 2025
a233fb0
Merge branch '7.2' into 7.3
javiereguiluz May 27, 2025
f6c5a4b
Merge branch '6.4' into 7.2
javiereguiluz May 27, 2025
a0a6b3f
Merge branch '7.2' into 7.3
javiereguiluz May 27, 2025
0e258f7
minor #20994 [Security] Stateless CSRF is enabled by default in 7.2 (…
javiereguiluz May 27, 2025
7d13bac
Minor tweak
javiereguiluz May 27, 2025
e1dd12e
Merge branch '7.2' into 7.3
javiereguiluz May 27, 2025
db658ed
minor #20988 [FrameworkBundle] Enable controller service with `#[Rout…
javiereguiluz May 27, 2025
3291021
Merge branch '6.4' into 7.2
javiereguiluz May 27, 2025
cef6cd8
Merge branch '7.2' into 7.3
javiereguiluz May 27, 2025
8cf199f
minor #20882 [Messenger] Specify explicitly what a priority of messag…
javiereguiluz May 27, 2025
4e67b73
Reword
javiereguiluz May 27, 2025
c05dacf
Merge branch '7.2' into 7.3
javiereguiluz May 27, 2025
f4b5eab
Merge branch '6.4' into 7.2
javiereguiluz May 27, 2025
2a8aaae
Merge branch '7.2' into 7.3
javiereguiluz May 27, 2025
dd1fb3c
Merge branch '6.4' into 7.2
javiereguiluz May 27, 2025
01f3813
Update voters.rst
ifiroth May 27, 2025
91a9525
[Doctrine] entityvalueresolver target entities
NanoSector Mar 24, 2025
dfafe24
minor #20819 [Doctrine] entityvalueresolver target entities (NanoSector)
javiereguiluz May 27, 2025
e6ba3a9
Rewords
javiereguiluz May 27, 2025
37d6c72
minor #21006 [Security] Update voters.rst (ifiroth)
javiereguiluz May 27, 2025
e86938f
Merge branch '7.2' into 7.3
javiereguiluz May 27, 2025
7eb3fbf
Merge branch '6.4' into 7.2
javiereguiluz May 27, 2025
181295b
minor #20579 [Security] Add OIDC Discovery (vincentchalamon)
javiereguiluz May 27, 2025
15728d3
Minor tweaks
javiereguiluz May 27, 2025
8b403f7
Add support for encrypted access tokens (JWE) in OIDC
Spomky Feb 9, 2025
1386a8f
minor #20637 [Security] Add support for encrypted access tokens (JWE)…
javiereguiluz May 27, 2025
22cd58e
[Routing] Add Attribute code examples for alias in `#[Route]` attribute
welcoMattic Feb 9, 2025
0b3db8e
minor #20638 [Routing] Add Attribute code examples for alias in `#[Ro…
javiereguiluz May 27, 2025
32e93b8
Tweaks and added the versionadded directive
javiereguiluz May 27, 2025
c15467e
[Messenger] [Amqp] Add default exchange support
MrYamous Mar 31, 2025
50684f7
minor #20846 [Messenger] [Amqp] Add default exchange support (MrYamous)
javiereguiluz May 27, 2025
b17f770
Minor tweak
javiereguiluz May 27, 2025
9d65b3d
minor #20636 [Security] Update custom authenticator docs to include i…
javiereguiluz May 27, 2025
326e7e5
Tweaks and rewords
javiereguiluz May 27, 2025
ff18b63
Merge branch '6.4' into 7.2
javiereguiluz May 28, 2025
a3b8e0b
Merge branch '7.2' into 7.3
javiereguiluz May 28, 2025
ece1723
Fixed a minor RST syntax issue
javiereguiluz May 28, 2025
b5ea24e
Merge branch '7.2' into 7.3
javiereguiluz May 28, 2025
0454597
minor #20936 [FrameworkBundle] fix default value for the `collect_ser…
javiereguiluz May 28, 2025
fa9df56
[Security] Fixed a code example
javiereguiluz May 29, 2025
d923acb
[Security] Document the new `expose_security_errors` option
javiereguiluz May 28, 2025
8eeecb8
minor #21008 [Security] Document the new `expose_security_errors` opt…
javiereguiluz May 29, 2025
c1b44e7
[Cache][Lock] Add support for `Relay\Cluster` in docs
javiereguiluz May 28, 2025
f929bd3
minor #21009 [Cache][Lock] Add support for `Relay\Cluster` in docs (j…
javiereguiluz May 29, 2025
91723a0
Merge branch '6.4' into 7.2
javiereguiluz May 29, 2025
ecc94bb
Merge branch '7.2' into 7.3
javiereguiluz May 29, 2025
9ef310b
Removed an unneeded versionadded directive
javiereguiluz May 29, 2025
d1d94d3
Merge branch '7.2' into 7.3
javiereguiluz May 29, 2025
6780017
Merge branch '6.4' into 7.2
javiereguiluz May 29, 2025
6b799ff
Merge branch '7.2' into 7.3
javiereguiluz May 29, 2025
5a102c8
Merge branch '6.4' into 7.2
javiereguiluz May 29, 2025
39e859b
Merge branch '7.2' into 7.3
javiereguiluz May 29, 2025
45ee853
Merge branch '6.4' into 7.2
javiereguiluz May 29, 2025
f25313d
Merge branch '7.2' into 7.3
javiereguiluz May 29, 2025
8662e6d
Merge branch '6.4' into 7.2
javiereguiluz May 29, 2025
f578e22
Merge branch '7.2' into 7.3
javiereguiluz May 29, 2025
f6e1f25
fix directive
xabbuh May 30, 2025
195eb67
minor #21017 fix directive (xabbuh)
javiereguiluz May 30, 2025
8f5409f
Fix a code sample with two PHP classes
javiereguiluz May 30, 2025
3b50d58
Merge branch '6.4' into 7.2
javiereguiluz May 30, 2025
5bab527
Merge branch '7.2' into 7.3
javiereguiluz May 30, 2025
3cf0bab
Merge branch '7.2' into 7.3
javiereguiluz May 30, 2025
f35d5a7
Merge branch '6.4' into 7.2
javiereguiluz May 30, 2025
b8d4020
fix(typo): form --> from
Nayte91 May 30, 2025
c59af97
minor #21019 [ObjectMapper] [Object Mapper] fix(typo): form --> from …
javiereguiluz May 30, 2025
479e0ad
[AssetMapper]: "server" -> "machine"
ThomasLandauer May 30, 2025
3badfa6
[AssetMapper]: Adding possible precompressor values
ThomasLandauer May 30, 2025
28abbba
Merge branch '6.4' into 7.2
javiereguiluz Jun 2, 2025
8dbfce1
Merge branch '7.2' into 7.3
javiereguiluz Jun 2, 2025
e5d192d
Merge branch '6.4' into 7.2
javiereguiluz Jun 2, 2025
cb385c0
Merge branch '7.2' into 7.3
javiereguiluz Jun 2, 2025
a9824e8
Merge branch '6.4' into 7.2
javiereguiluz Jun 2, 2025
ba3c846
Merge branch '7.2' into 7.3
javiereguiluz Jun 2, 2025
4be6cc0
Merge branch '6.4' into 7.2
OskarStark Jun 2, 2025
9d74e15
Merge branch '7.2' into 7.3
OskarStark Jun 2, 2025
31d975f
minor #21020 [AssetMapper] "server" -> "machine" (ThomasLandauer)
javiereguiluz Jun 2, 2025
dfb08eb
[AssetMapper] Added the missing versionadded directive
javiereguiluz Jun 2, 2025
8cb7c6f
minor #21035 [AssetMapper] Added the missing versionadded directive (…
OskarStark Jun 2, 2025
01491f8
Merge branch '6.4' into 7.2
OskarStark Jun 2, 2025
dc8a471
Merge branch '7.2' into 7.3
OskarStark Jun 2, 2025
3360850
minor #21021 [AssetMapper] Adding possible precompressor values (Thom…
javiereguiluz Jun 3, 2025
70f2067
Minor tweaks
javiereguiluz Jun 3, 2025
0a8826d
Merge branch '6.4' into 7.2
OskarStark Jun 4, 2025
7468ac6
Merge branch '7.2' into 7.3
OskarStark Jun 4, 2025
e1f7c73
Merge branch '6.4' into 7.2
OskarStark Jun 4, 2025
b73c09e
Merge branch '7.2' into 7.3
OskarStark Jun 4, 2025
f3c8163
minor
OskarStark Jun 4, 2025
077dbb4
Merge branch '7.2' into 7.3
OskarStark Jun 4, 2025
43727d0
Merge branch '7.2' into 7.3
javiereguiluz Jun 5, 2025
d04ddec
Merge branch '6.4' into 7.2
javiereguiluz Jun 5, 2025
6f6566d
[Validation] Add the `disable_translation` option
javiereguiluz Jun 4, 2025
127a071
minor #21046 [Validation] Add the `disable_translation` option (javie…
javiereguiluz Jun 5, 2025
f7d8ad5
Merge branch '7.2' into 7.3
javiereguiluz Jun 5, 2025
2a14385
Merge branch '6.4' into 7.2
javiereguiluz Jun 5, 2025
9b0e108
Add a reference to a config option
javiereguiluz Jun 5, 2025
271313b
Remove a versionadded directive
javiereguiluz Jun 5, 2025
69681c7
Merge branch '7.2' into 7.3
javiereguiluz Jun 5, 2025
8e33491
Merge branch '6.4' into 7.2
javiereguiluz Jun 5, 2025
8bdd4ef
Merge branch '7.2' into 7.3
javiereguiluz Jun 5, 2025
5cd2d73
Merge branch '6.4' into 7.2
javiereguiluz Jun 5, 2025
d8ea231
Merge branch '7.2' into 7.3
javiereguiluz Jun 5, 2025
967ecfb
Merge branch '6.4' into 7.2
javiereguiluz Jun 5, 2025
c850209
Merge branch '7.2' into 7.3
javiereguiluz Jun 5, 2025
27cb9a8
Merge branch '6.4' into 7.2
javiereguiluz Jun 6, 2025
e2e93d8
Merge branch '7.2' into 7.3
javiereguiluz Jun 6, 2025
b63ee83
Merge branch '6.4' into 7.2
javiereguiluz Jun 10, 2025
4af1729
Merge branch '7.2' into 7.3
javiereguiluz Jun 10, 2025
a8177e6
Merge branch '6.4' into 7.2
javiereguiluz Jun 10, 2025
173f8a3
Merge branch '7.2' into 7.3
javiereguiluz Jun 10, 2025
d83a67e
Merge branch '6.4' into 7.2
javiereguiluz Jun 10, 2025
8490664
Merge branch '7.2' into 7.3
javiereguiluz Jun 10, 2025
0104271
Merge branch '6.4' into 7.2
javiereguiluz Jun 10, 2025
bc2d6e0
Merge branch '7.2' into 7.3
javiereguiluz Jun 10, 2025
0e82348
Merge branch '6.4' into 7.2
javiereguiluz Jun 10, 2025
10eb014
Merge branch '7.2' into 7.3
javiereguiluz Jun 10, 2025
377e25c
Merge branch '6.4' into 7.2
javiereguiluz Jun 13, 2025
9a9006c
Merge branch '7.2' into 7.3
javiereguiluz Jun 13, 2025
5edccbf
Update custom_normalizer.rst
kevinirlen Jun 12, 2025
4a9299d
minor #21077 Update custom_normalizer.rst: Fix incorrect variable in …
javiereguiluz Jun 13, 2025
2fe5e50
Merge branch '7.2' into 7.3
javiereguiluz Jun 13, 2025
2b057c3
Merge branch '7.2' into 7.3
javiereguiluz Jun 13, 2025
a9d7588
Merge branch '6.4' into 7.2
javiereguiluz Jun 13, 2025
991d5c4
Merge branch '7.2' into 7.3
javiereguiluz Jun 13, 2025
510613d
Merge branch '6.4' into 7.2
javiereguiluz Jun 13, 2025
432f468
Update tree.rst
GrinWay Jun 15, 2025
9bfb805
minor #21082 [Console] fix typo (GrinWay)
javiereguiluz Jun 16, 2025
abc2df6
docs(json-path): initiate doc for the component
vinceAmstoutz Jun 12, 2025
9a26964
Merge branch '6.4' into 7.2
OskarStark Jun 16, 2025
31d7c36
Merge branch '7.2' into 7.3
OskarStark Jun 16, 2025
baaf33e
feature #21078 [JsonPath] Add documentation (vinceAmstoutz)
OskarStark Jun 16, 2025
59b34b4
minor
OskarStark Jun 16, 2025
6033907
Merge branch '6.4' into 7.2
OskarStark Jun 16, 2025
56e6c04
Merge branch '7.2' into 7.3
OskarStark Jun 16, 2025
b6bbd96
minor
OskarStark Jun 16, 2025
26defdf
minor
OskarStark Jun 16, 2025
870b265
Merge branch '7.2' into 7.3
OskarStark Jun 16, 2025
d4c4f2d
[Security]: Removing recommendations to lowercase email adresses
ThomasLandauer Jun 16, 2025
287d274
repair codeblock
eltharin Jun 17, 2025
c16db06
minor #21089 [DependencyInjection] repair codeblock (eltharin)
javiereguiluz Jun 17, 2025
43ce2d0
minor #21088 [Security] : Removing recommendations to lowercase email…
javiereguiluz Jun 17, 2025
974e9d1
Minor tweaks
javiereguiluz Jun 17, 2025
f547cc7
[JsonPath] Minor fixes and tweaks
javiereguiluz Jun 18, 2025
893e2f9
minor #21091 [JsonPath] Minor fixes and tweaks (javiereguiluz)
OskarStark Jun 19, 2025
87ccbb5
[JsonPath] Add test documentation for the component
vinceAmstoutz Jun 17, 2025
481cb7a
minor #21090 [JsonPath] Add test documentation for the component (vin…
javiereguiluz Jun 19, 2025
230072e
Minor tweaks
javiereguiluz Jun 19, 2025
f5a74df
Merge branch '6.4' into 7.2
javiereguiluz Jun 19, 2025
eb5ee61
Merge branch '7.2' into 7.3
javiereguiluz Jun 19, 2025
2e250b5
Merge branch '6.4' into 7.2
javiereguiluz Jun 19, 2025
2e70453
Merge branch '7.2' into 7.3
javiereguiluz Jun 19, 2025
1538584
Merge branch '6.4' into 7.2
OskarStark Jun 19, 2025
bdc7813
Merge branch '7.2' into 7.3
OskarStark Jun 19, 2025
92f1c4d
Merge branch '6.4' into 7.2
xabbuh Jun 22, 2025
3a39a76
Merge branch '7.2' into 7.3
xabbuh Jun 22, 2025
27f0a58
fix method role syntax
xabbuh Jun 22, 2025
0cf35c5
Merge branch '6.4' into 7.2
javiereguiluz Jun 23, 2025
4db3b15
Merge branch '7.2' into 7.3
javiereguiluz Jun 23, 2025
52aed65
minor #21124 [Messenger] fix method role syntax (xabbuh)
javiereguiluz Jun 23, 2025
94c96a8
Merge branch '6.4' into 7.2
OskarStark Jun 23, 2025
f10a7d6
Merge branch '7.2' into 7.3
OskarStark Jun 23, 2025
90be650
[Templates] Removing self-closing slashes
ThomasLandauer Jun 23, 2025
d23c6af
minor #21129 [Templating] [Templates] Removing self-closing slashes (…
javiereguiluz Jun 24, 2025
6325b29
Merge branch '6.4' into 7.2
javiereguiluz Jun 24, 2025
8b6a26d
Merge branch '7.2' into 7.3
javiereguiluz Jun 24, 2025
74208ff
Merge branch '6.4' into 7.2
javiereguiluz Jun 24, 2025
b08c612
Merge branch '7.2' into 7.3
javiereguiluz Jun 24, 2025
e56a427
Fix typo
pieterocp Jun 24, 2025
f062ace
minor #21133 [Validator] Fix typo (pieterocp)
javiereguiluz Jun 24, 2025
8554df1
Merge branch '7.2' into 7.3
javiereguiluz Jun 24, 2025
124be08
[Testing] Indicate how to use InMemoryUser in WebTestCase
peter17 Jun 19, 2025
7671e7a
minor #21097 [Testing] Indicate how to use InMemoryUser in WebTestCas…
javiereguiluz Jun 27, 2025
c42aead
Minor reword
javiereguiluz Jun 27, 2025
4219ff8
Merge branch '7.2' into 7.3
javiereguiluz Jun 30, 2025
cadf833
Merge branch '6.4' into 7.2
javiereguiluz Jun 30, 2025
0546a2c
[Console] Document invokable command
yceruto May 1, 2025
8e0f3f5
minor #20932 [Console] Document invokable command (yceruto)
javiereguiluz Jul 1, 2025
26050d0
Minor tweaks
javiereguiluz Jul 1, 2025
c67b9cd
Merge branch '6.4' into 7.2
javiereguiluz Jul 1, 2025
5d8e527
Merge branch '7.2' into 7.3
javiereguiluz Jul 1, 2025
d4873ed
Merge branch '6.4' into 7.2
javiereguiluz Jul 1, 2025
2edd1c9
Merge branch '7.2' into 7.3
javiereguiluz Jul 1, 2025
9091bb9
Merge branch '6.4' into 7.2
javiereguiluz Jul 2, 2025
5b8a712
Merge branch '7.2' into 7.3
javiereguiluz Jul 2, 2025
5564fb0
Merge branch '7.2' into 7.3
javiereguiluz Jul 2, 2025
1169ef4
Merge branch '6.4' into 7.2
javiereguiluz Jul 2, 2025
09bb042
Update encoders.rst
Fuzip Jul 3, 2025
14fec8b
minor #21180 [Serializer] Fix classname comment in Create a Custom En…
javiereguiluz Jul 3, 2025
7e398d1
Merge branch '6.4' into 7.2
javiereguiluz Jul 3, 2025
fbf5d47
Merge branch '7.2' into 7.3
javiereguiluz Jul 3, 2025
7ef1b3f
Merge branch '6.4' into 7.2
javiereguiluz Jul 3, 2025
a5f7678
Merge branch '7.2' into 7.3
javiereguiluz Jul 3, 2025
38d2041
Merge branch '6.4' into 7.2
javiereguiluz Jul 4, 2025
e1695bc
Merge branch '7.2' into 7.3
javiereguiluz Jul 4, 2025
0ecd586
Merge branch '6.4' into 7.2
javiereguiluz Jul 4, 2025
e8f1f18
Merge branch '7.2' into 7.3
javiereguiluz Jul 4, 2025
1a46a7c
Merge branch '6.4' into 7.2
javiereguiluz Jul 4, 2025
d108ae2
Merge branch '7.2' into 7.3
javiereguiluz Jul 4, 2025
26e5ae7
Merge branch '6.4' into 7.2
javiereguiluz Jul 4, 2025
6841060
Merge branch '7.2' into 7.3
javiereguiluz Jul 4, 2025
a80ff31
update enumClass to enumFqcn
IndraGunawan Jul 5, 2025
f0897ca
minor #21182 [Config] update enumClass to enumFqcn (IndraGunawan)
javiereguiluz Jul 7, 2025
08081f2
Merge branch '6.4' into 7.2
javiereguiluz Jul 9, 2025
455d2cc
Merge branch '7.2' into 7.3
javiereguiluz Jul 9, 2025
4cc5261
Merge branch '6.4' into 7.2
javiereguiluz Jul 9, 2025
f01c6c9
Merge branch '7.2' into 7.3
javiereguiluz Jul 9, 2025
78b9a86
Merge branch '6.4' into 7.2
javiereguiluz Jul 9, 2025
ddbbda2
Merge branch '7.2' into 7.3
javiereguiluz Jul 9, 2025
b0d3f22
Fix Mailer #21190 : Update documentation about `allowed_recipients` b…
jordanaubert Jul 8, 2025
87f4ee8
minor #21193 [Mailer] Fix Mailer #21190 : Update documentation about …
javiereguiluz Jul 9, 2025
4502215
Minor tweaks
javiereguiluz Jul 9, 2025
92dee53
Merge branch '7.2' into 7.3
javiereguiluz Jul 9, 2025
ef32707
Merge branch '6.4' into 7.2
javiereguiluz Jul 10, 2025
e71800a
Merge branch '7.2' into 7.3
javiereguiluz Jul 10, 2025
ae1461e
Merge branch '6.4' into 7.2
javiereguiluz Jul 10, 2025
2755d65
Merge branch '7.2' into 7.3
javiereguiluz Jul 10, 2025
3e42d81
Merge branch '6.4' into 7.2
javiereguiluz Jul 11, 2025
c499c71
Merge branch '7.2' into 7.3
javiereguiluz Jul 11, 2025
1e2f25b
Merge branch '6.4' into 7.2
javiereguiluz Jul 15, 2025
be6a967
Merge branch '7.2' into 7.3
javiereguiluz Jul 15, 2025
6d40352
Merge branch '6.4' into 7.2
javiereguiluz Jul 15, 2025
06a95ad
Merge branch '7.2' into 7.3
javiereguiluz Jul 15, 2025
0cb7c16
Update lock.rst
hmeknassi Jul 14, 2025
63c54c5
minor #21206 [Lock] Document what values to use to activate the Lock …
javiereguiluz Jul 15, 2025
df56c8e
Tweaks
javiereguiluz Jul 15, 2025
b3b3aca
Merge branch '7.2' into 7.3
javiereguiluz Jul 15, 2025
16c7ba0
Merge branch '6.4' into 7.2
javiereguiluz Jul 15, 2025
ff5ecbc
Merge branch '7.2' into 7.3
javiereguiluz Jul 15, 2025
63a198a
Merge branch '6.4' into 7.2
javiereguiluz Jul 17, 2025
08c4313
Merge branch '7.2' into 7.3
javiereguiluz Jul 17, 2025
d1b52cb
[Setup] Use the stable version to create a new application
samnela Jul 17, 2025
4d88042
minor #21214 [Setup] Use the stable version to create a new applicati…
javiereguiluz Jul 18, 2025
204151c
Fix HTML Sanitizer method names in documentation
OskarStark Jul 18, 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
8 changes: 4 additions & 4 deletions .doctor-rst.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,16 +75,16 @@ rules:
yaml_instead_of_yml_suffix: ~

versionadded_directive_major_version:
major_version: 6
major_version: 7

versionadded_directive_min_version:
min_version: '6.0'
min_version: '7.0'

deprecated_directive_major_version:
major_version: 6
major_version: 7

deprecated_directive_min_version:
min_version: '6.0'
min_version: '7.0'

exclude_rule_for_file:
- path: configuration/multiple_kernels.rst
Expand Down
2 changes: 1 addition & 1 deletion _build/build.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@

$outputDir = __DIR__.'/output';
$buildConfig = (new BuildConfig())
->setSymfonyVersion('6.4')
->setSymfonyVersion('7.1')
->setContentDir(__DIR__.'/..')
->setOutputDir($outputDir)
->setImagesDir(__DIR__.'/output/_images')
Expand Down
7 changes: 6 additions & 1 deletion _build/redirection_map
Original file line number Diff line number Diff line change
Expand Up @@ -530,7 +530,7 @@
/serializer/normalizers /serializer#serializer-built-in-normalizers
/logging/monolog_regex_based_excludes /logging/monolog_exclude_http_codes
/security/named_encoders /security/named_hashers
/components/inflector /components/string#inflector
/components/inflector /string#inflector
/security/experimental_authenticators /security
/security/user_provider /security/user_providers
/security/reset_password /security/passwords#reset-password
Expand Down Expand Up @@ -568,6 +568,11 @@
/messenger/dispatch_after_current_bus /messenger#messenger-transactional-messages
/messenger/multiple_buses /messenger#messenger-multiple-buses
/frontend/encore/server-data /frontend/server-data
/components/string /string
/testing/http_authentication /testing#testing_logging_in_users
/doctrine/registration_form /security#security-make-registration-form
/form/form_dependencies /form/create_custom_field_type
/doctrine/reverse_engineering /doctrine#doctrine-adding-mapping
/components/serializer /serializer
/serializer/custom_encoder /serializer/encoders#serializer-custom-encoder
/components/string /string
Expand Down
19 changes: 0 additions & 19 deletions _includes/_annotation_loader_tip.rst.inc

This file was deleted.

5 changes: 0 additions & 5 deletions bundles.rst
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,6 @@ Start by creating a new class called ``AcmeBlogBundle``::
{
}

.. versionadded:: 6.1

The :class:`Symfony\\Component\\HttpKernel\\Bundle\\AbstractBundle` was
introduced in Symfony 6.1.

.. warning::

If your bundle must be compatible with previous Symfony versions you have to
Expand Down
6 changes: 3 additions & 3 deletions bundles/best_practices.rst
Original file line number Diff line number Diff line change
Expand Up @@ -232,10 +232,10 @@ with Symfony Flex to install a specific Symfony version:

.. code-block:: bash

# this requires Symfony 6.x for all Symfony packages
export SYMFONY_REQUIRE=6.*
# this requires Symfony 7.x for all Symfony packages
export SYMFONY_REQUIRE=7.*
# alternatively you can run this command to update composer.json config
# composer config extra.symfony.require "6.*"
# composer config extra.symfony.require "7.*"

# install Symfony Flex in the CI environment
composer global config --no-plugins allow-plugins.symfony/flex true
Expand Down
4 changes: 0 additions & 4 deletions bundles/configuration.rst
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,6 @@ There are two different ways of creating friendly configuration for a bundle:
Using the AbstractBundle Class
------------------------------

.. versionadded:: 6.1

The ``AbstractBundle`` class was introduced in Symfony 6.1.

In bundles extending the :class:`Symfony\\Component\\HttpKernel\\Bundle\\AbstractBundle`
class, you can add all the logic related to processing the configuration in that class::

Expand Down
4 changes: 0 additions & 4 deletions bundles/extension.rst
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,6 @@ There are two different ways of doing it:
Loading Services Directly in your Bundle Class
----------------------------------------------

.. versionadded:: 6.1

The ``AbstractBundle`` class was introduced in Symfony 6.1.

In bundles extending the :class:`Symfony\\Component\\HttpKernel\\Bundle\\AbstractBundle`
class, you can define the :method:`Symfony\\Component\\HttpKernel\\Bundle\\AbstractBundle::loadExtension`
method to load service definitions from configuration files::
Expand Down
41 changes: 37 additions & 4 deletions bundles/prepend_extension.rst
Original file line number Diff line number Diff line change
Expand Up @@ -154,10 +154,6 @@ registered and the ``entity_manager_name`` setting for ``acme_hello`` is set to
Prepending Extension in the Bundle Class
----------------------------------------

.. versionadded:: 6.1

The ``AbstractBundle`` class was introduced in Symfony 6.1.

You can also prepend extension configuration directly in your
Bundle class if you extend from the :class:`Symfony\\Component\\HttpKernel\\Bundle\\AbstractBundle`
class and define the :method:`Symfony\\Component\\HttpKernel\\Bundle\\AbstractBundle::prependExtension`
Expand All @@ -175,13 +171,50 @@ method::
$containerBuilder->prependExtensionConfig('framework', [
'cache' => ['prefix_seed' => 'foo/bar'],
]);

// prepend config from a file
$containerConfigurator->import('../config/packages/cache.php');
}
}

.. note::

The ``prependExtension()`` method, like ``prepend()``, is called only at compile time.

.. versionadded:: 7.1

Starting from Symfony 7.1, calling the :method:`Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\ContainerConfigurator::import`
method inside ``prependExtension()`` will prepend the given configuration.
In previous Symfony versions, this method appended the configuration.

Alternatively, you can use the ``prepend`` parameter of the
:method:`Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\ContainerConfigurator::extension`
method::

use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator;
use Symfony\Component\HttpKernel\Bundle\AbstractBundle;

class FooBundle extends AbstractBundle
{
public function prependExtension(ContainerConfigurator $containerConfigurator, ContainerBuilder $containerBuilder): void
{
// ...

$containerConfigurator->extension('framework', [
'cache' => ['prefix_seed' => 'foo/bar'],
], prepend: true);

// ...
}
}

.. versionadded:: 7.1

The ``prepend`` parameter of the
:method:`Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\ContainerConfigurator::extension`
method was added in Symfony 7.1.

More than one Bundle using PrependExtensionInterface
----------------------------------------------------

Expand Down
43 changes: 10 additions & 33 deletions cache.rst
Original file line number Diff line number Diff line change
Expand Up @@ -132,12 +132,7 @@ Some of these adapters could be configured via shortcuts.
default_psr6_provider: 'app.my_psr6_service'
default_redis_provider: 'redis://localhost'
default_memcached_provider: 'memcached://localhost'
default_pdo_provider: 'app.my_pdo_service'

services:
app.my_pdo_service:
class: \PDO
arguments: ['pgsql:host=localhost']
default_pdo_provider: 'pgsql:host=localhost'

.. code-block:: xml

Expand All @@ -158,24 +153,17 @@ Some of these adapters could be configured via shortcuts.
default-psr6-provider="app.my_psr6_service"
default-redis-provider="redis://localhost"
default-memcached-provider="memcached://localhost"
default-pdo-provider="app.my_pdo_service"
default-pdo-provider="pgsql:host=localhost"
/>
</framework:config>

<services>
<service id="app.my_pdo_service" class="\PDO">
<argument>pgsql:host=localhost</argument>
</service>
</services>
</container>

.. code-block:: php

// config/packages/cache.php
use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator;
use Symfony\Config\FrameworkConfig;

return static function (FrameworkConfig $framework, ContainerConfigurator $container): void {
return static function (FrameworkConfig $framework): void {
$framework->cache()
// Only used with cache.adapter.filesystem
->directory('%kernel.cache_dir%/pools')
Expand All @@ -184,15 +172,14 @@ Some of these adapters could be configured via shortcuts.
->defaultPsr6Provider('app.my_psr6_service')
->defaultRedisProvider('redis://localhost')
->defaultMemcachedProvider('memcached://localhost')
->defaultPdoProvider('app.my_pdo_service')
;

$container->services()
->set('app.my_pdo_service', \PDO::class)
->args(['pgsql:host=localhost'])
->defaultPdoProvider('pgsql:host=localhost')
;
};

.. versionadded:: 7.1

Using a DSN as the provider for the PDO adapter was introduced in Symfony 7.1.

.. _cache-create-pools:

Creating Custom (Namespaced) Pools
Expand Down Expand Up @@ -551,6 +538,8 @@ Symfony stores the item automatically in all the missing pools.
;
};

.. _cache-using-cache-tags:

Using Cache Tags
----------------

Expand Down Expand Up @@ -743,20 +732,12 @@ Clear all cache pools:

$ php bin/console cache:pool:clear --all

.. versionadded:: 6.3

The ``--all`` option was introduced in Symfony 6.3.

Clear all cache pools except some:

.. code-block:: terminal

$ php bin/console cache:pool:clear --all --exclude=my_cache_pool --exclude=another_cache_pool

.. versionadded:: 6.4

The ``--exclude`` option was introduced in Symfony 6.4.

Clear all caches everywhere:

.. code-block:: terminal
Expand All @@ -765,10 +746,6 @@ Clear all caches everywhere:

Clear cache by tag(s):

.. versionadded:: 6.1

The ``cache:pool:invalidate-tags`` command was introduced in Symfony 6.1.

.. code-block:: terminal

# invalidate tag1 from all taggable pools
Expand Down
8 changes: 0 additions & 8 deletions components/browser_kit.rst
Original file line number Diff line number Diff line change
Expand Up @@ -130,10 +130,6 @@ on a link::
// ... and `clickLink()`
$crawler = $client->clickLink('Go elsewhere...', ['X-Custom-Header' => 'Some data']);

.. versionadded:: 6.4

The ``serverParameters`` parameter was introduced in Symfony 6.4.

Submitting Forms
~~~~~~~~~~~~~~~~

Expand Down Expand Up @@ -403,10 +399,6 @@ to call ``json_decode()`` explicitly::
$response = $browser->getResponse()->toArray();
// $response is a PHP array of the decoded JSON contents

.. versionadded:: 6.1

The ``toArray()`` method was introduced in Symfony 6.1.

Learn more
----------

Expand Down
Loading
Loading