-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
[FrameworkBundle] Add some doc on missing options of framework bundle configuration #8061
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
Conversation
use_strict_mode | ||
............... | ||
|
||
**type**: ``boolean`` **default**: ``0`` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the default value should be false
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I took the PHP default value. More accurate IMO. But I can change if you want.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
since this is a boolean node having 0
will cause more troubles so I would indeed change it :)
|
||
**type**: ``boolean`` **default**: ``0`` | ||
|
||
This specifies whether the module will use strict session id mode. If this mode |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[...] use the strict [...]
**type**: ``boolean`` **default**: ``0`` | ||
|
||
This specifies whether the module will use strict session id mode. If this mode | ||
is enabled, the module does not accept uninitialized session ID. If |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IDs
|
||
This specifies whether the module will use strict session id mode. If this mode | ||
is enabled, the module does not accept uninitialized session ID. If | ||
uninitialized session ID is sent from browser, new session ID is sent to |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[...] an uninitialized [...]
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[...] from the browser, a new session ID is generated.
metadata_update_threshold | ||
......................... | ||
|
||
This is how many seconds to wait between 2 session metadata updates, it will |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
two
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And I would split this into two sentences: "[...] updates. It will [...]"
1fd2823
to
0230482
Compare
@xabbuh fixed :). Thanks. |
|
||
**type**: ``boolean`` **default**: ``false`` | ||
|
||
This specifies whether the module will use the strict session id mode. If this |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't know the meaning of "the module" in this context.
@@ -855,6 +868,18 @@ setting the value to ``null``: | |||
), | |||
)); | |||
|
|||
metadata_update_threshold | |||
......................... | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here we are missing the data type and its default value.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed 👍
This is how many seconds to wait between two session metadata updates. It will | ||
also prevent the session handler to write if the session has not changed. | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This extra blank line can be removed.
0230482
to
246fea2
Compare
@javiereguiluz everything fixed, I also changed the base branch to 2.7. |
Status: Needs Review |
Thank you @Nek-. |
…ework bundle configuration (Nek-) This PR was merged into the 2.7 branch. Discussion ---------- [FrameworkBundle] Add some doc on missing options of framework bundle configuration This is the missing documentation following this commit : symfony/symfony@ac9a527 It also adds a part for the missing `metadata_update_threshold` option. Commits ------- 246fea2 Add some doc on missing options of framework bundle configuration
This is the missing documentation following this commit : symfony/symfony@ac9a527
It also adds a part for the missing
metadata_update_threshold
option.