Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 03d673c

Browse filesBrowse files
minor #42906 Make test.session.listener compatible with SF 6.0 SessionListener (jderusse)
This PR was merged into the 5.4 branch. Discussion ---------- Make test.session.listener compatible with SF 6.0 SessionListener | Q | A | ------------- | --- | Branch? | 5.4 | Bug fix? | no | New feature? | yes | Deprecations? | no | Tickets | - | License | MIT | Doc PR | - Fix flipped tests for #41321 In Symfony 6.0, the session_listener does not use `session` service anymore, it needs a `session_factory` instead. note: the `session_listener` service is properly configured: https://github.com/symfony/symfony/blob/0d61de7576d0d6807924fada3df508c5d05d8f2f/src/Symfony/Bundle/FrameworkBundle/Resources/config/session.php#L146-L150 Commits ------- 0943685 Make test.session.listener compatible with SF 6.0 SessionListener
2 parents 0d61de7 + 0943685 commit 03d673c
Copy full SHA for 03d673c

File tree

Expand file treeCollapse file tree

1 file changed

+1
-0
lines changed
Filter options
  • src/Symfony/Bundle/FrameworkBundle/Resources/config
Expand file treeCollapse file tree

1 file changed

+1
-0
lines changed

‎src/Symfony/Bundle/FrameworkBundle/Resources/config/test.php

Copy file name to clipboardExpand all lines: src/Symfony/Bundle/FrameworkBundle/Resources/config/test.php
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
3939
->args([
4040
service_locator([
4141
'session' => service('.session.do-not-use')->ignoreOnInvalid(),
42+
'session_factory' => service('session.factory')->ignoreOnInvalid(),
4243
]),
4344
param('kernel.debug'),
4445
param('session.storage.options'),

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.