Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 66817c2

Browse files
committed
minor #42613 Update NativeSessionStorage docblock to match defaults (bradjones1)
This PR was submitted for the 5.4 branch but it was merged into the 4.4 branch instead. Discussion ---------- Update NativeSessionStorage docblock to match defaults | Q | A | ------------- | --- | Branch? | 5.4 | Bug fix? | no | New feature? | no | Deprecations? | no | Tickets | | License | MIT | Doc PR | Symfony overrides a number of PHP's default session INI values, including `use_strict_mode`. This was enabled by default in the HTTP framework bundle in 3.4 https://github.com/symfony/symfony/blob/8ac480a5eaa31595ca4f7c3e29106e9d4ba45527/src/Symfony/Bundle/FrameworkBundle/CHANGELOG.md#340 but the docblock was not updated to correspond with this change. Commits ------- 25dac25 Update NativeSessionStorage docblock to match defaults
2 parents b2a24b1 + 25dac25 commit 66817c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/HttpFoundation/Session/Storage/NativeSessionStorage.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ class NativeSessionStorage implements SessionStorageInterface
8686
* name, "PHPSESSID"
8787
* referer_check, ""
8888
* serialize_handler, "php"
89-
* use_strict_mode, "0"
89+
* use_strict_mode, "1"
9090
* use_cookies, "1"
9191
* use_only_cookies, "1"
9292
* use_trans_sid, "0"

0 commit comments

Comments
 (0)