Skip to content

MySQL create sessions table documentation incorrect #13764

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 1,725 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1725 commits
Select commit Hold shift + click to select a range
2db1e48
Merge branch '5.0'
javiereguiluz Apr 7, 2020
1993834
Merge branch '4.4' into 5.0
javiereguiluz Apr 8, 2020
1b6f20d
Merge branch '5.0'
javiereguiluz Apr 8, 2020
e4d8c27
[Testing] Change deprecated assertContains to assertStringContainsString
Apr 8, 2020
0147fe6
minor #13511 [Testing] Change deprecated assertContains to assertStri…
javiereguiluz Apr 9, 2020
2f4019b
Merge branch '5.0'
javiereguiluz Apr 9, 2020
bbe2c41
Merge branch '4.4' into 5.0
javiereguiluz Apr 9, 2020
e9d8a21
Merge branch '5.0'
javiereguiluz Apr 9, 2020
fac3a25
Merge branch '4.4' into 5.0
javiereguiluz Apr 10, 2020
059c4bb
Merge branch '5.0'
javiereguiluz Apr 10, 2020
fd7b98f
Merge branch '4.4' into 5.0
javiereguiluz Apr 10, 2020
745fb92
Merge branch '5.0'
javiereguiluz Apr 10, 2020
38a345e
Merge branch '4.4' into 5.0
javiereguiluz Apr 10, 2020
11c6c01
Updated the Doctrine cache examples
javiereguiluz Apr 10, 2020
cbb1b41
Merge branch '5.0'
javiereguiluz Apr 10, 2020
934401f
#27345 Added MongoDB Lock documentation
Apr 11, 2020
be88d94
minor #11735 #27345 Added Symfony\Component\Lock\Store\MongoDbStore (…
javiereguiluz Apr 11, 2020
203a258
Merge branch '4.4' into 5.0
wouterj Apr 11, 2020
5aebc6a
Merge branch '5.0'
wouterj Apr 11, 2020
411b5c2
Update Slack DSN
fabpot Apr 12, 2020
1b21e63
feature #13534 Update Slack DSN (fabpot)
wouterj Apr 12, 2020
bcb0c05
[#13534] Added versionadded about changed Slack DSN
wouterj Apr 12, 2020
39323cc
Merge branch '4.4' into 5.0
HeahDude Apr 12, 2020
df08e97
Merge branch '5.0'
HeahDude Apr 12, 2020
9d631c9
Merge branch '4.4' into 5.0
HeahDude Apr 12, 2020
005d335
Merge branch '5.0'
HeahDude Apr 12, 2020
8b0c09e
[Form] added the "choice_filter" option
HeahDude Feb 22, 2020
fe48efd
feature #13223 [Form] added the "choice_filter" option (HeahDude)
HeahDude Apr 12, 2020
f2f96ae
Merge branch '4.4' into 5.0
HeahDude Apr 12, 2020
7f1c469
Merge branch '5.0'
HeahDude Apr 12, 2020
e72420d
Add stateless route attribute documentation
mtarld Mar 9, 2020
b0fb063
Merge branch '4.4' into 5.0
javiereguiluz Apr 14, 2020
e968043
Merge branch '5.0'
javiereguiluz Apr 14, 2020
b6933e2
Merge branch '4.4' into 5.0
javiereguiluz Apr 14, 2020
5b6e28c
Merge branch '5.0'
javiereguiluz Apr 14, 2020
a8b22a7
[DI] Replaced inline() by service() in PHP DSL
javiereguiluz Apr 14, 2020
0456253
[DI] Updated the way inner services are referrer to in decoration
javiereguiluz Apr 14, 2020
b8e5964
[DI] Removed an unneeded note about some parent services restrictions
javiereguiluz Apr 14, 2020
d0703db
minor #13544 [DI] Replaced inline() by service() in PHP DSL (javiereg…
javiereguiluz Apr 14, 2020
7a43e29
minor #13546 [DI] Removed an unneeded note about some parent services…
javiereguiluz Apr 14, 2020
0fd77b1
Update uid.rst
vudaltsov Apr 14, 2020
2bc65da
minor #13549 Fixed uid doc page (vudaltsov)
javiereguiluz Apr 15, 2020
0fde948
[String] fix typo
nicolas-grekas Apr 15, 2020
434804a
minor #13551 [String] fix typo (nicolas-grekas)
javiereguiluz Apr 15, 2020
6c8fe88
Merge branch '5.0'
javiereguiluz Apr 15, 2020
ccf869a
Merge branch '4.4' into 5.0
wouterj Apr 16, 2020
2eeb8ef
Merge branch '5.0'
wouterj Apr 16, 2020
de3dfb2
Merge branch '4.4' into 5.0
wouterj Apr 16, 2020
41232a8
Merge branch '5.0'
wouterj Apr 16, 2020
58c189b
Merge branch '4.4' into 5.0
wouterj Apr 16, 2020
136c4c0
Merge branch '5.0'
wouterj Apr 16, 2020
28bb445
More radically remove Testing/HTTP Authentication contents
wouterj Apr 11, 2020
89b6013
minor #13523 [Security] More radically remove Testing/HTTP Authentica…
wouterj Apr 16, 2020
be4760c
[Asset] Document remote JSON manifest
GromNaN Feb 26, 2020
a6e2875
minor #13255 [Asset] Document remote JSON manifest (GromNaN)
javiereguiluz Apr 17, 2020
357fcff
fix a typo
xabbuh Apr 17, 2020
61906be
Tweaks
javiereguiluz Apr 17, 2020
888593e
minor #13557 fix a typo (xabbuh)
javiereguiluz Apr 17, 2020
1d77a45
Documented new logout event
wouterj Apr 4, 2020
3ef6848
feature #13520 [Security] Documented new logout event (wouterj)
wouterj Apr 17, 2020
ef275a3
Add details for pluralization on extra fields message
jpjoao Apr 13, 2020
3a49064
feature #13542 Add details for pluralization on extra fields message …
HeahDude Apr 18, 2020
1b6e315
feature #13344 Add stateless route attribute documentation (mtarld)
HeahDude Apr 18, 2020
4b4cb1c
fix the versionadded directive markup
xabbuh Apr 18, 2020
15df7ad
minor #13567 fix the versionadded directive markup (xabbuh)
HeahDude Apr 19, 2020
c550130
Merge branch '4.4' into 5.0
javiereguiluz Apr 20, 2020
ecf8815
Merge branch '5.0'
javiereguiluz Apr 20, 2020
2a58ea2
minor #13545 [DI] Updated the way inner services are referrer to in d…
javiereguiluz Apr 20, 2020
6975d13
Merge branch '4.4' into 5.0
javiereguiluz Apr 20, 2020
2dd492c
Merge branch '5.0'
javiereguiluz Apr 20, 2020
97ebacf
Merge branch '4.4' into 5.0
javiereguiluz Apr 21, 2020
4835814
Merge branch '5.0'
javiereguiluz Apr 21, 2020
93dd70d
Merge branch '4.4' into 5.0
javiereguiluz Apr 22, 2020
d24daae
Merge branch '5.0'
javiereguiluz Apr 22, 2020
9d6e8fe
[DI] Document the container preload tags
javiereguiluz Apr 10, 2020
1a9755e
minor #13515 [DI] Document the container preload tags (javiereguiluz)
javiereguiluz Apr 23, 2020
ed992b1
Merge branch '4.4' into 5.0
javiereguiluz Apr 23, 2020
da40af4
Merge branch '5.0'
javiereguiluz Apr 23, 2020
f78a324
Merge branch '4.4' into 5.0
javiereguiluz Apr 23, 2020
8871fc6
Merge branch '5.0'
javiereguiluz Apr 23, 2020
33fe989
Merge branch '4.4' into 5.0
javiereguiluz Apr 24, 2020
0c2ea0b
Merge branch '5.0'
javiereguiluz Apr 24, 2020
5514b60
Merge branch '4.4' into 5.0
javiereguiluz Apr 27, 2020
6c43ddb
Merge branch '5.0'
javiereguiluz Apr 27, 2020
4dc8668
Fix link to ServiceSubscriberInterface
jspaetzel Apr 29, 2020
4e96450
Merge branch '4.4' into 5.0
javiereguiluz Apr 29, 2020
ed2a34f
Merge branch '5.0'
javiereguiluz Apr 29, 2020
259c1e2
[Notifier] Add FreeMobile SMS entry
noniagriconomie Apr 28, 2020
7a783d8
minor #13600 [Notifier] Add FreeMobile SMS entry (noniagriconomie)
javiereguiluz Apr 29, 2020
a740541
minor #13602 Fix link to ServiceSubscriberInterface (jspaetzel)
javiereguiluz Apr 29, 2020
d1b3020
Merge branch '5.0'
javiereguiluz Apr 29, 2020
dddfd39
Merge branch '4.4' into 5.0
javiereguiluz Apr 29, 2020
a4a9b3f
Merge branch '5.0'
javiereguiluz Apr 29, 2020
8617d68
Merge branch '4.4' into 5.0
javiereguiluz Apr 29, 2020
dd8be70
Merge branch '5.0'
javiereguiluz Apr 29, 2020
115f038
Merge branch '4.4' into 5.0
javiereguiluz May 3, 2020
4c87c94
Merge branch '5.0'
javiereguiluz May 3, 2020
2f89f55
Change "In Symfony 4" to "Since Symfony 4"
BafS May 4, 2020
477b9ea
Merge branch '4.4' into 5.0
javiereguiluz May 5, 2020
79194fa
Merge branch '5.0'
javiereguiluz May 5, 2020
11d5799
[String] Set characters to use in ByteString::fromRandom()
javiereguiluz May 5, 2020
b705f26
Merge branch '4.4' into 5.0
javiereguiluz May 6, 2020
4a53d4b
Merge branch '5.0'
javiereguiluz May 6, 2020
06fff08
Merge branch '4.4' into 5.0
javiereguiluz May 8, 2020
992f2d1
Merge branch '5.0'
javiereguiluz May 8, 2020
2367b9f
The Doctrine Messenger table can now be generated with a migration diff
weaverryan May 8, 2020
dc64ec7
minor #13651 The Doctrine Messenger table can now be generated with a…
javiereguiluz May 8, 2020
e27c84b
Merge branch '4.4' into 5.0
javiereguiluz May 8, 2020
0c48835
Merge branch '5.0'
javiereguiluz May 8, 2020
441959c
minor #13643 [String] Set characters to use in ByteString::fromRandom…
javiereguiluz May 11, 2020
e647508
Merge branch '4.4' into 5.0
javiereguiluz May 11, 2020
330875e
Merge branch '5.0'
javiereguiluz May 11, 2020
a59682f
minor #13629 Change "In Symfony 4" to "Since Symfony 4" (BafS)
javiereguiluz May 11, 2020
6bbbdbf
Merge branch '5.0'
javiereguiluz May 11, 2020
1794b4a
Merge branch '4.4' into 5.0
javiereguiluz May 11, 2020
f39775d
Merge branch '5.0'
javiereguiluz May 11, 2020
fcee158
[Form] Added an html5 option to ColorType
javiereguiluz May 11, 2020
3b2031b
minor #13656 [Form] Added an html5 option to ColorType (javiereguiluz)
javiereguiluz May 12, 2020
56a4010
Deprecated the NumberToLocalizedStringTransformer constants
javiereguiluz May 11, 2020
5c6bdf0
minor #13654 Deprecated the NumberToLocalizedStringTransformer consta…
javiereguiluz May 12, 2020
4cac282
[Yaml] Added support for YAML 1.2 octal notation
javiereguiluz May 12, 2020
af24efa
Use the phpclass directive if possible
javiereguiluz May 12, 2020
aea6960
minor #13659 [Yaml] Added support for YAML 1.2 octal notation (javier…
javiereguiluz May 13, 2020
99bbbff
Minor tweak
javiereguiluz May 13, 2020
74d20fe
Merge branch '4.4' into 5.0
javiereguiluz May 13, 2020
c4b0e31
Merge branch '5.0'
javiereguiluz May 13, 2020
dd730de
Use the deprecated directive
javiereguiluz May 13, 2020
e7bff3f
adding info about Vue build
weaverryan May 13, 2020
4e7663f
feature #13664 [WCM] Adding info about Vue build (weaverryan)
weaverryan May 13, 2020
e27ba49
Documented the default_uri routing option
javiereguiluz May 11, 2020
73d09a3
minor #13657 Documented the default_uri routing option (javiereguiluz)
javiereguiluz May 14, 2020
0d78115
minor #13339 Documented the --deprecations option of the debug:contai…
javiereguiluz May 14, 2020
cfc8ef9
Merge branch '4.4' into 5.0
javiereguiluz May 15, 2020
f9c71c2
Merge branch '5.0'
javiereguiluz May 15, 2020
dc76fa6
Fix typo
sylfabre May 15, 2020
342aa9d
minor #13671 Fix typo (sylfabre)
javiereguiluz May 16, 2020
bc37f2f
Merge branch '5.0'
javiereguiluz May 16, 2020
bb04214
Merge branch '4.4' into 5.0
javiereguiluz May 16, 2020
705e761
Merge branch '5.0'
javiereguiluz May 16, 2020
495d2b0
[String] Deprecated the Inflector docs
javiereguiluz May 15, 2020
bd1b079
minor #13670 [String] Deprecated the Inflector docs (javiereguiluz)
javiereguiluz May 16, 2020
58da29a
Merge branch '4.4' into 5.0
javiereguiluz May 16, 2020
791666e
Merge branch '5.0'
javiereguiluz May 16, 2020
30febcf
Fixed syntax of versionadded directive
wouterj May 16, 2020
40c078a
Merge branch '4.4' into 5.0
javiereguiluz May 18, 2020
310ee6d
Merge branch '5.0' into 5.1
javiereguiluz May 18, 2020
fe6df5e
Merge branch '4.4' into 5.0
javiereguiluz May 18, 2020
ad87781
Merge branch '5.0' into 5.1
javiereguiluz May 18, 2020
ebb3075
Merge branch '4.4' into 5.0
javiereguiluz May 18, 2020
5d65505
Merge branch '5.0' into 5.1
javiereguiluz May 18, 2020
b5a08c6
Merge branch '4.4' into 5.0
javiereguiluz May 18, 2020
11139e0
Merge branch '5.0' into 5.1
javiereguiluz May 18, 2020
a5d6e40
Document that cache warmers now must return an array of files to preload
javiereguiluz Apr 10, 2020
635370d
minor #13516 Document that cache warmers now must return an array of …
javiereguiluz May 18, 2020
82a44b2
[OptionsResolver][Config][DI] Added package and version to deprecatio…
wouterj Apr 11, 2020
77f41f0
minor #13521 [OptionsResolver][Config][DI] Added package and version …
javiereguiluz May 18, 2020
804aa55
Minor tweaks
javiereguiluz May 18, 2020
f7ca9de
Merge branch '4.4' into 5.0
javiereguiluz May 18, 2020
18a43fe
Merge branch '5.0' into 5.1
javiereguiluz May 18, 2020
79ecf32
Merge branch '4.4' into 5.0
javiereguiluz May 19, 2020
6c6f5df
Merge branch '5.0' into 5.1
javiereguiluz May 19, 2020
99b1b4b
Merge branch '4.4' into 5.0
javiereguiluz May 19, 2020
f2e406c
Merge branch '5.0' into 5.1
javiereguiluz May 19, 2020
db57c1f
Merge branch '4.4' into 5.0
javiereguiluz May 19, 2020
49a41e2
Merge branch '5.0' into 5.1
javiereguiluz May 19, 2020
c541350
Merge branch '4.4' into 5.0
javiereguiluz May 22, 2020
6cd9dbb
Merge branch '5.0' into 5.1
javiereguiluz May 22, 2020
4af7b86
[DI] Renamed some PHP-DSL functions
javiereguiluz May 18, 2020
e077b5f
minor #13676 [DI] Renamed some PHP-DSL functions (javiereguiluz)
javiereguiluz May 22, 2020
1783f56
Merge branch '4.4' into 5.0
javiereguiluz May 22, 2020
1b0473e
Merge branch '5.0' into 5.1
javiereguiluz May 22, 2020
cde5b29
Merge branch '4.4' into 5.0
javiereguiluz May 22, 2020
9c87f3f
Merge branch '5.0' into 5.1
javiereguiluz May 22, 2020
2817341
Merge branch '4.4' into 5.0
javiereguiluz May 24, 2020
5ff8255
Merge branch '5.0' into 5.1
javiereguiluz May 24, 2020
f5a183c
Merge branch '4.4' into 5.0
javiereguiluz May 27, 2020
fdc6ff7
Merge branch '5.0' into 5.1
javiereguiluz May 27, 2020
be15e8d
Merge branch '4.4' into 5.0
javiereguiluz May 28, 2020
7388005
Merge branch '5.0' into 5.1
javiereguiluz May 28, 2020
da63694
Merge branch '4.4' into 5.0
javiereguiluz May 28, 2020
cefee11
Merge branch '5.0' into 5.1
javiereguiluz May 28, 2020
aaabeb8
[String] Allow to define additional slugger substitutions
javiereguiluz May 28, 2020
fd409ab
[PropertyInfo] Mentioned support for PHP typed properties
javiereguiluz May 28, 2020
dcc10e3
Merge branch '4.4' into 5.0
javiereguiluz May 28, 2020
5cb5f45
Merge branch '5.0' into 5.1
javiereguiluz May 28, 2020
930d520
Merge branch '4.4' into 5.0
javiereguiluz May 28, 2020
aed22fc
Merge branch '5.0' into 5.1
javiereguiluz May 28, 2020
b0d2785
Merge branch '4.4' into 5.0
javiereguiluz May 28, 2020
d7df8a2
Merge branch '5.0' into 5.1
javiereguiluz May 28, 2020
61a19c9
Merge branch '4.4' into 5.0
javiereguiluz May 28, 2020
0025e3a
Merge branch '5.0' into 5.1
javiereguiluz May 28, 2020
062497a
[DI] Mention that container.no_preload tag propagates automatically
javiereguiluz May 28, 2020
84897c0
fix method name
xabbuh May 29, 2020
488f5f1
Merge branch '4.4' into 5.0
javiereguiluz May 29, 2020
eda712e
Merge branch '5.0' into 5.1
javiereguiluz May 29, 2020
11dcebf
minor #13715 [String] Allow to define additional slugger substitution…
javiereguiluz May 29, 2020
3dc9899
[Cache] Added max items and max lifetime options to Array cache
javiereguiluz May 28, 2020
406a49b
minor #13718 [Cache] Added max items and max lifetime options to Arra…
javiereguiluz May 29, 2020
806f25d
minor #13731 fix method name (xabbuh)
javiereguiluz May 29, 2020
e4d77fb
minor #13719 [PropertyInfo] Mentioned support for PHP typed propertie…
javiereguiluz May 29, 2020
2c161f6
Merge branch '4.4' into 5.0
javiereguiluz May 29, 2020
dda5241
Merge branch '5.0' into 5.1
javiereguiluz May 29, 2020
75853e0
Merge branch '4.4' into 5.0
javiereguiluz May 29, 2020
f5e18ec
Merge branch '5.0' into 5.1
javiereguiluz May 29, 2020
b293271
Merge branch '4.4' into 5.0
weaverryan May 29, 2020
2c89373
Merge remote-tracking branch 'origin/5.0' into 5.0
weaverryan May 29, 2020
ae912d8
Merge branch '5.0' into 5.1
weaverryan May 29, 2020
12fda02
Merge branch '4.4' into 5.0
javiereguiluz May 29, 2020
a0db786
Merge branch '5.0' into 5.1
javiereguiluz May 29, 2020
e8a62c7
Merge branch '4.4' into 5.0
javiereguiluz May 29, 2020
ed48384
Merge branch '5.0' into 5.1
javiereguiluz May 29, 2020
73db0a3
Merge branch '4.4' into 5.0
javiereguiluz May 31, 2020
893bfe9
Merge branch '5.0' into 5.1
javiereguiluz May 31, 2020
7738e65
Merge branch '4.4' into 5.0
javiereguiluz Jun 1, 2020
6878efa
Merge branch '5.0' into 5.1
javiereguiluz Jun 1, 2020
0b9fcb7
Merge branch '4.4' into 5.0
javiereguiluz Jun 1, 2020
6d32568
Merge branch '5.0' into 5.1
javiereguiluz Jun 1, 2020
f9b1a94
Merge branch '4.4' into 5.0
javiereguiluz Jun 1, 2020
5701190
Merge branch '5.0' into 5.1
javiereguiluz Jun 1, 2020
b4a1cf4
Merge branch '4.4' into 5.0
javiereguiluz Jun 1, 2020
e7339e7
Merge branch '5.0' into 5.1
javiereguiluz Jun 1, 2020
af77e76
Fix withExpiresTime replaced by withExpires
thislg Jun 2, 2020
2a62571
minor #13743 Update http_foundation.rst to replace withExpiresTime (A…
javiereguiluz Jun 3, 2020
d7c8bfa
Merge branch '4.4' into 5.0
javiereguiluz Jun 3, 2020
b4d1c96
Merge branch '5.0' into 5.1
javiereguiluz Jun 3, 2020
14ec141
Merge branch '4.4' into 5.0
javiereguiluz Jun 3, 2020
cddc341
Merge branch '5.0' into 5.1
javiereguiluz Jun 3, 2020
0c37145
Merge branch '4.4' into 5.0
javiereguiluz Jun 3, 2020
075912f
Merge branch '5.0' into 5.1
javiereguiluz Jun 3, 2020
39df914
minor #13721 [DI] Mention that container.no_preload tag propagates au…
javiereguiluz Jun 3, 2020
069e02b
Minor tweak
javiereguiluz Jun 3, 2020
0984459
[Validator] Documented the ExpressionLanguageSyntax constraint
javiereguiluz May 15, 2020
d3c37f0
minor #13669 [Validator] Documented the ExpressionLanguageSyntax cons…
javiereguiluz Jun 3, 2020
828eb9b
Adding details about Encore dev-server and https
weaverryan Jun 3, 2020
337d089
feature #13746 Adding details about Encore dev-server and https (weav…
weaverryan Jun 4, 2020
353e35d
Merge branch '5.0' into 5.1
weaverryan Jun 4, 2020
68f1821
Bump versions of releases
noniagriconomie Jun 4, 2020
e57d206
minor #13742 Update releases.rst (noniagriconomie)
javiereguiluz Jun 4, 2020
5093b60
Merge branch '5.0' into 5.1
javiereguiluz Jun 4, 2020
5e77b08
Merge branch '4.4' into 5.0
javiereguiluz Jun 4, 2020
97a96c8
Merge branch '5.0' into 5.1
javiereguiluz Jun 4, 2020
bdb5271
[Security] Added docs about the authenticator-based Security system
wouterj May 23, 2020
ce95d60
feature #13704 [Security] Added docs about the authenticator-based Se…
wouterj Jun 4, 2020
73d1789
[Security] anonymous: lazy deprecation warning
rcapile Jun 3, 2020
cf65ee7
minor #13750 [Security] anonymous: lazy deprecation warning (rcapile)
javiereguiluz Jun 5, 2020
d2031dd
Merge branch '4.4' into 5.0
wouterj Jun 5, 2020
17e9b07
Merge branch '5.0' into 5.1
wouterj Jun 5, 2020
5c281ed
Removed 4.4 versionadded directive
wouterj Jun 5, 2020
728c3b7
Merge branch '5.0' into 5.1
wouterj Jun 5, 2020
b59f497
MySQL create table documentation incorrect
beejaz Jun 7, 2020
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
14 changes: 9 additions & 5 deletions .doctor-rst.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,18 +40,18 @@ rules:
extend_abstract_controller: ~
# no_app_bundle: ~

# 4.x
# master
versionadded_directive_major_version:
major_version: 4
major_version: 5

versionadded_directive_min_version:
min_version: '4.0'
min_version: '5.0'

deprecated_directive_major_version:
major_version: 4
major_version: 5

deprecated_directive_min_version:
min_version: '4.0'
min_version: '5.0'

# do not report as violation
whitelist:
Expand Down Expand Up @@ -79,7 +79,11 @@ whitelist:
- '.. versionadded:: 1.6' # Flex in setup/upgrade_minor.rst
- '0 => 123' # assertion for var_dumper - components/var_dumper.rst
- '1 => "foo"' # assertion for var_dumper - components/var_dumper.rst
- '123,' # assertion for var_dumper - components/var_dumper.rst
- '"foo",' # assertion for var_dumper - components/var_dumper.rst
- '$var .= "Because of this `\xE9` octet (\\xE9),\n";'
- "`Deploying Symfony 4 Apps on Heroku`_."
- ".. _`Deploying Symfony 4 Apps on Heroku`: https://devcenter.heroku.com/articles/deploying-symfony4"
- "// 224, 165, 141, 224, 164, 164, 224, 165, 135])"
- '.. versionadded:: 0.2' # MercureBundle
- 'provides a ``loginUser()`` method to simulate logging in in your functional'
2 changes: 1 addition & 1 deletion .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!--

If your pull request fixes a BUG, use the oldest maintained branch that contains
the bug (see https://symfony.com/roadmap for the list of maintained branches).
the bug (see https://symfony.com/releases for the list of maintained branches).

If your pull request documents a NEW FEATURE, use the same Symfony branch where
the feature was introduced (and `master` for features of unreleased versions).
Expand Down
2 changes: 2 additions & 0 deletions _build/redirection_map
Original file line number Diff line number Diff line change
Expand Up @@ -429,6 +429,7 @@
/profiler/storage /profiler
/setup/composer /setup
/security/security_checker /setup
/setup/built_in_web_server /setup/symfony_server
/service_container/parameters /configuration
/routing/generate_url_javascript /routing
/routing/slash_in_parameter /routing
Expand Down Expand Up @@ -478,6 +479,7 @@
/components/translation/usage /translation
/components/translation/custom_formats https://github.com/symfony/translation
/components/translation/custom_message_formatter https://github.com/symfony/translation
/components/notifier https://github.com/symfony/notifier
/components/routing https://github.com/symfony/routing
/doctrine/pdo_session_storage /session/database
/doctrine/mongodb_session_storage /session/database
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 0 additions & 4 deletions bundles/configuration.rst
Original file line number Diff line number Diff line change
Expand Up @@ -199,10 +199,6 @@ The ``Configuration`` class to handle the sample configuration looks like::
}
}

.. deprecated:: 4.2

Not passing the root node name to ``TreeBuilder`` was deprecated in Symfony 4.2.

.. seealso::

The ``Configuration`` class can be much more complicated than shown here,
Expand Down
12 changes: 0 additions & 12 deletions cache.rst
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,6 @@ The following example shows a typical usage of the cache::
Symfony supports Cache Contracts, PSR-6/16 and Doctrine Cache interfaces.
You can read more about these at the :doc:`component documentation </components/cache>`.

.. versionadded:: 4.2

The cache contracts were introduced in Symfony 4.2.

.. _cache-configuration-with-frameworkbundle:

Configuring Cache with FrameworkBundle
Expand Down Expand Up @@ -432,10 +428,6 @@ If an error happens when storing an item in a pool, Symfony stores it in the
other pools and no exception is thrown. Later, when the item is retrieved,
Symfony stores the item automatically in all the missing pools.

.. versionadded:: 4.4

Support for configuring a chain using ``framework.cache.pools`` was introduced in Symfony 4.4.

.. configuration-block::

.. code-block:: yaml
Expand Down Expand Up @@ -661,10 +653,6 @@ To see all available cache pools:

$ php bin/console cache:pool:list

.. versionadded:: 4.3

The ``cache:pool:list`` command was introduced in Symfony 4.3.

Clear one pool:

.. code-block:: terminal
Expand Down
16 changes: 16 additions & 0 deletions components/asset.rst
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,22 @@ In those cases, use the
echo $package->getUrl('css/app.css');
// result: build/css/app.b916426ea1d10021f3f17ce8031f93c2.css

If your JSON file is not on your local filesystem but is accessible over HTTP,
use the :class:`Symfony\\Component\\Asset\\VersionStrategy\\RemoteJsonManifestVersionStrategy`
with the :doc:`HttpClient component </components/http_client>`::

use Symfony\Component\Asset\Package;
use Symfony\Component\Asset\VersionStrategy\RemoteJsonManifestVersionStrategy;
use Symfony\Component\HttpClient\HttpClient;

$httpClient = HttpClient::create();
$manifestUrl = 'https://cdn.example.com/rev-manifest.json';
$package = new Package(new RemoteJsonManifestVersionStrategy($manifestUrl, $httpClient));

.. versionadded:: 5.1

The ``RemoteJsonManifestVersionStrategy`` was introduced in Symfony 5.1.

Custom Version Strategies
.........................

Expand Down
4 changes: 0 additions & 4 deletions components/browser_kit.rst
Original file line number Diff line number Diff line change
Expand Up @@ -312,10 +312,6 @@ dedicated web crawler or scraper such as `Goutte`_::
'.table-list-header-toggle a:nth-child(1)'
)->text());

.. versionadded:: 4.3

The feature to make external HTTP requests was introduced in Symfony 4.3.

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

Expand Down
19 changes: 14 additions & 5 deletions components/cache/adapters/array_cache_adapter.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,7 @@ Array Cache Adapter
Generally, this adapter is useful for testing purposes, as its contents are stored in memory
and not persisted outside the running PHP process in any way. It can also be useful while
warming up caches, due to the :method:`Symfony\\Component\\Cache\\Adapter\\ArrayAdapter::getValues`
method.

This adapter can be passed a default cache lifetime as its first parameter, and a boolean that
toggles serialization as its second parameter::
method::

use Symfony\Component\Cache\Adapter\ArrayAdapter;

Expand All @@ -23,5 +20,17 @@ toggles serialization as its second parameter::
$defaultLifetime = 0,

// if ``true``, the values saved in the cache are serialized before storing them
$storeSerialized = true
$storeSerialized = true,

// the maximum lifetime (in seconds) of the entire cache (after this time, the
// entire cache is deleted to avoid stale data from consuming memory)
$maxLifetime = 0,

// the maximum number of items that can be stored in the cache. When the limit
// is reached, cache follows the LRU model (least recently used items are deleted)
$maxItems = 0
);

.. versionadded:: 5.1

The ``maxLifetime`` and ``maxItems`` options were introduced in Symfony 5.1.
150 changes: 150 additions & 0 deletions components/cache/adapters/couchbasebucket_adapter.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,150 @@
.. index::
single: Cache Pool
single: Couchabase Cache

.. _couchbase-adapter:

Couchbase Cache Adapter
=======================

.. versionadded:: 5.1

The CouchbaseBucketAdapter was introduced in Symfony 5.1.

This adapter stores the values in-memory using one (or more) `Couchbase server`_
instances. Unlike the :ref:`APCu adapter <apcu-adapter>`, and similarly to the
:ref:`Memcached adapter <memcached-adapter>`, it is not limited to the current server's
shared memory; you can store contents independent of your PHP environment.
The ability to utilize a cluster of servers to provide redundancy and/or fail-over
is also available.

.. caution::

**Requirements:** The `Couchbase PHP extension`_ as well as a `Couchbase server`_
must be installed, active, and running to use this adapter. Version ``2.6`` or
greater of the `Couchbase PHP extension`_ is required for this adapter.

This adapter expects a `Couchbase Bucket`_ instance to be passed as the first
parameter. A namespace and default cache lifetime can optionally be passed as
the second and third parameters::

use Symfony\Component\Cache\Adapter\CouchbaseBucketAdapter;

$cache = new CouchbaseBucketAdapter(
// the client object that sets options and adds the server instance(s)
\CouchbaseBucket $client,

// the name of bucket
string $bucket,

// a string prefixed to the keys of the items stored in this cache
$namespace = '',

// the default lifetime (in seconds) for cache items that do not define their
// own lifetime, with a value 0 causing items to be stored indefinitely
$defaultLifetime = 0,
);


Configure the Connection
------------------------

The :method:`Symfony\\Component\\Cache\\Adapter\\CouchbaseBucketAdapter::createConnection`
helper method allows creating and configuring a `Couchbase Bucket`_ class instance using a
`Data Source Name (DSN)`_ or an array of DSNs::

use Symfony\Component\Cache\Adapter\CouchbaseBucketAdapter;

// pass a single DSN string to register a single server with the client
$client = CouchbaseBucketAdapter::createConnection(
'couchbase://localhost'
// the DSN can include config options (pass them as a query string):
// 'couchbase://localhost:11210?operationTimeout=10'
// 'couchbase://localhost:11210?operationTimeout=10&configTimout=20'
);

// pass an array of DSN strings to register multiple servers with the client
$client = CouchbaseBucketAdapter::createConnection([
'couchbase://10.0.0.100',
'couchbase://10.0.0.101',
'couchbase://10.0.0.102',
// etc...
]);

// a single DSN can define multiple servers using the following syntax:
// host[hostname-or-IP:port] (where port is optional). Sockets must include a trailing ':'
$client = CouchbaseBucketAdapter::createConnection(
'couchbase:?host[localhost]&host[localhost:12345]'
);


Configure the Options
---------------------

The :method:`Symfony\\Component\\Cache\\Adapter\\CouchbaseBucketAdapter::createConnection`
helper method also accepts an array of options as its second argument. The
expected format is an associative array of ``key => value`` pairs representing
option names and their respective values::

use Symfony\Component\Cache\Adapter\CouchbaseBucketAdapter;

$client = CouchbaseBucketAdapter::createConnection(
// a DSN string or an array of DSN strings
[],

// associative array of configuration options
[
'username' => 'xxxxxx',
'password' => 'yyyyyy',
'configTimeout' => '100',
]
);

Available Options
~~~~~~~~~~~~~~~~~

``username`` (type: ``string``)
Username for connection ``CoucbaseCluster``.

``password`` (type: ``string``)
Password of connection ``CouchbaseCluster``.

``operationTimeout`` (type: ``int``, default: ``2500000``)
The operation timeout (in microseconds) is the maximum amount of time the library will
wait for an operation to receive a response before invoking its callback with a failure status.

``configTimeout`` (type: ``int``, default: ``5000000``)
How long (in microseconds) the client will wait to obtain the initial configuration.

``configNodeTimeout`` (type: ``int``, default: ``2000000``)
Per-node configuration timeout (in microseconds).

``viewTimeout`` (type: ``int``, default: ``75000000``)
The I/O timeout (in microseconds) for HTTP requests to Couchbase Views API.

``httpTimeout`` (type: ``int``, default: ``75000000``)
The I/O timeout (in microseconds) for HTTP queries (management API).

``configDelay`` (type: ``int``, default: ``10000``)
Config refresh throttling
Modify the amount of time (in microseconds) before the configiration error threshold will forcefully be set to its maximum number forcing a configuration refresh.

``htconfigIdleTimeout`` (type: ``int``, default: ``4294967295``)
Idling/Persistence for HTTP bootstrap (in microseconds).

``durabilityInterval`` (type: ``int``, default: ``100000``)
The time (in microseconds) the client will wait between repeated probes to a given server.

``durabilityTimeout`` (type: ``int``, default: ``5000000``)
The time (in microseconds) the client will spend sending repeated probes to a given key's vBucket masters and replicas before they are deemed not to have satisfied the durability requirements.

.. tip::

Reference the `Couchbase Bucket`_ extension's `predefined constants`_ documentation
for additional information about the available options.

.. _`Couchbase PHP extension`: https://docs.couchbase.com/sdk-api/couchbase-php-client-2.6.0/files/couchbase.html
.. _`predefined constants`: https://docs.couchbase.com/sdk-api/couchbase-php-client-2.6.0/classes/Couchbase.Bucket.html
.. _`Couchbase server`: https://couchbase.com/
.. _`Couchbase Bucket`: https://docs.couchbase.com/sdk-api/couchbase-php-client-2.6.0/classes/Couchbase.Bucket.html
.. _`Data Source Name (DSN)`: https://en.wikipedia.org/wiki/Data_source_name
4 changes: 0 additions & 4 deletions components/cache/adapters/memcached_adapter.rst
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,6 @@ helper method allows creating and configuring a `Memcached`_ class instance usin
'memcached:?host[localhost]&host[localhost:12345]&host[/some/memcached.sock:]=3'
);

.. versionadded:: 4.2

The option to define multiple servers in a single DSN was introduced in Symfony 4.2.

The `Data Source Name (DSN)`_ for this adapter must use the following format:

.. code-block:: text
Expand Down
8 changes: 0 additions & 8 deletions components/cache/adapters/redis_adapter.rst
Original file line number Diff line number Diff line change
Expand Up @@ -102,14 +102,6 @@ name of your service group::
'redis:?host[redis1:26379]&host[redis2:26379]&host[redis3:26379]&redis_sentinel=mymaster'
);

.. versionadded:: 4.2

The option to define multiple servers in a single DSN was introduced in Symfony 4.2.

.. versionadded:: 4.4

Redis Sentinel support was introduced in Symfony 4.4.

.. note::

See the :class:`Symfony\\Component\\Cache\\Traits\\RedisTrait` for more options
Expand Down
8 changes: 0 additions & 8 deletions components/cache/psr6_psr16_adapters.rst
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,6 @@ this use-case::
// now use this wherever you want
$githubApiClient = new GitHubApiClient($psr6Cache);

.. versionadded:: 4.3

The ``Psr16Adapter`` class was introduced in Symfony 4.3.

Using a PSR-6 Cache Object as a PSR-16 Cache
--------------------------------------------

Expand Down Expand Up @@ -87,8 +83,4 @@ this use-case::
// now use this wherever you want
$githubApiClient = new GitHubApiClient($psr16Cache);

.. versionadded:: 4.3

The ``Psr16Cache`` class was introduced in Symfony 4.3.

.. _`PSR-16`: https://www.php-fig.org/psr/psr-16/
Loading