8000 Avoid broken action URL in text notification mail by mbrodala · Pull Request #41738 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

Avoid broken action URL in text notification mail #41738

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 67 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
67 commits
Select commit Hold shift + click to select a range
3a19253
[FrameworkBundle] Add autowiring alias for `HttpCache\StoreInterface`
nicolas-grekas May 12, 2021
8f595ec
Update version to 5.4
fabpot May 19, 2021
f0c3389
Add sponsors for 5.4
fabpot May 19, 2021
b0153f4
Merge branch '5.3' into 5.4
fabpot May 19, 2021
49a1030
Remove 5.3 sponsors
fabpot May 19, 2021
c0f757b
minor #41286 Add sponsors for 5.4 (fabpot)
fabpot May 19, 2021
e32d330
Merge branch '5.3' into 5.4
nicolas-grekas May 19, 2021
d6f4d30
Fix the detection of the stable Symfony branch
derrabus May 19, 2021
2da144e
Allow Symfony 6
derrabus May 19, 2021
8ca0728
minor #41291 Allow Symfony 6 (derrabus)
derrabus May 19, 2021
1ba78b9
Merge branch '5.3' into 5.4
derrabus May 19, 2021
a2c8e84
minor #41293 Fix the detection of the stable Symfony branch (derrabus)
derrabus May 19, 2021
ed1a65f
Merge branch '5.3' into 5.4
nicolas-grekas May 20, 2021
20bf651
[Runtime] allow "|^6.0" deps
nicolas-grekas May 20, 2021
1a0c105
minor #41331 [Runtime] allow "|^6.0" deps (nicolas-grekas)
nicolas-grekas May 20, 2021
5eab165
Merge branch '5.3' into 5.4
derrabus May 20, 2021
0aedd99
Merge branch '5.3' into 5.4
nicolas-grekas May 20, 2021
c5b5115
Merge branch '5.3' into 5.4
nicolas-grekas May 20, 2021
f836f6b
Merge branch '5.3' into 5.4
nicolas-grekas May 20, 2021
cbc7c5d
Merge branch '5.3' into 5.4
derrabus May 20, 2021
c82d8c9
Merge branch '5.3' into 5.4
derrabus May 21, 2021
c339649
feature #41203 [FrameworkBundle] Add autowiring alias for `HttpCache\…
derrabus May 22, 2021
f27e6cc
Merge branch '5.3' into 5.4
derrabus May 22, 2021
14540c1
Merge branch '5.3' into 5.4
nicolas-grekas May 23, 2021
744b901
Merge branch '5.3' into 5.4
nicolas-grekas May 23, 2021
c904089
Merge branch '5.3' into 5.4
derrabus May 23, 2021
6d3e90d
[FrameworkBundle] Deprecate the `AdapterInterface` autowiring alias, …
nicolas-grekas May 12, 2021
e574a24
Merge branch '5.3' into 5.4
nicolas-grekas May 24, 2021
fa7b518
feature #41199 [FrameworkBundle] Deprecate the `AdapterInterface` aut…
derrabus May 24, 2021
9688631
Merge branch '5.3' into 5.4
xabbuh May 25, 2021
27b1654
Merge branch '5.3' into 5.4
xabbuh May 25, 2021
0458384
Fix compatibility with Symfony6
jderusse May 20, 2021
46ca50f
Merge branch '5.3' into 5.4
nicolas-grekas May 26, 2021
b7c9b1e
Merge branch '5.3' into 5.4
nicolas-grekas May 27, 2021
6805929
Merge branch '5.3' into 5.4
nicolas-grekas May 27, 2021
2ba71b0
[travis] test with v6 on deps=high
nicolas-grekas May 27, 2021
cfb1016
bug #41343 [HttpKernel] Fix compatibility with Symfony6 (jderusse)
nicolas-grekas May 27, 2021
b56606e
Provide migration path for TestSessionListener
jderusse May 29, 2021
b7e9194
Fix sessionListener when factory is injected without session
jderusse Jun 1, 2021
7714648
bug #41446 [HttpKernel] Provide migration path for TestSessionListene…
nicolas-grekas Jun 1, 2021
e2d1cb1
bug #41486 [HttpKernel] Fix sessionListener when factory is injected …
nicolas-grekas Jun 1, 2021
f4da7e4
[Yaml] Leverage array_is_list()
nicolas-grekas May 28, 2021
c4404fd
Merge branch '5.3' into 5.4
derrabus Jun 1, 2021
dbeebd1
Merge branch '5.3' into 5.4
derrabus Jun 1, 2021
2fe4442
minor #41431 [Yaml] Leverage array_is_list() (nicolas-grekas)
nicolas-grekas Jun 2, 2021
9ccd0ad
Merge branch '5.3' into 5.4
nicolas-grekas Jun 3, 2021
06b13c3
[FrameworkBundle] Deprecate the public `profiler` service to private
nicolas-grekas Jun 3, 2021
204ae47
Merge branch '5.3' into 5.4
derrabus Jun 5, 2021
1509797
Merge branch '5.3' into 5.4
nicolas-grekas Jun 5, 2021
dae0291
feature #41530 [FrameworkBundle] Deprecate the public `profiler` serv…
nicolas-grekas Jun 6, 2021
1e3c875
Merge branch '5.3' into 5.4
derrabus Jun 6, 2021
37a89f1
Merge branch '5.3' into 5.4
nicolas-grekas Jun 7, 2021
e66c907
Merge branch '5.3' into 5.4
nicolas-grekas Jun 7, 2021
b14fe61
Merge branch '5.3' into 5.4
nicolas-grekas Jun 8, 2021
6eb7f28
Merge branch '5.3' into 5.4
nicolas-grekas Jun 8, 2021
ddfab8d
Merge branch '5.3' into 5.4
derrabus Jun 8, 2021
d1b81fb
Merge branch '5.3' into 5.4
derrabus Jun 9, 2021
0dde2cc
[VarDumper] Add casters for Symfony UUIDs and ULIDs
fancyweb Jun 4, 2021
a6770fd
Merge branch '5.3' into 5.4
chalasr Jun 11, 2021
20de32e
Merge branch '5.3' into 5.4
chalasr Jun 11, 2021
2a3c003
feature #41540 [VarDumper] Add casters for Symfony UUIDs and ULIDs (f…
nicolas-grekas Jun 12, 2021
f12a419
Merge branch '5.3' into 5.4
nicolas-grekas Jun 12, 2021
0486a53
Merge branch '5.3' into 5.4
derrabus Jun 16, 2021
a0728f2
Merge branch '5.3' into 5.4
nicolas-grekas Jun 17, 2021
86a0672
Merge branch '5.3' into 5.4
nicolas-grekas Jun 17, 2021
c71c872
Merge branch '5.3' into 5.4
derrabus Jun 17, 2021
663a736
Avoid broken action URL in text notification mail
mbrodala Jun 18, 2021
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
8000
Diff view
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,16 @@ addons:

env:
global:
- SYMFONY_VERSION=5.3
- SYMFONY_VERSION=5.4
- MIN_PHP=7.2.5
- SYMFONY_PROCESS_PHP_TEST_BINARY=~/.phpenv/shims/php
- SYMFONY_PHPUNIT_DISABLE_RESULT_CACHE=1

matrix:
include:
- php: 7.2
env: php_extra="7.3 8.0"
- php: 7.4
env: php_extra="7.3 7.4"
- php: 8.0
env: deps=high
- php: 8.0
env: deps=low
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ Installation
Sponsor
-------

Symfony 5.3 is [backed][27] by [JoliCode][28].
Symfony 5.4 is [backed][27] by [Private Packagist][28].

JoliCode is a team of passionate developers and open-source lovers, with a
strong expertise in PHP & Symfony technologies. They can help you build your
projects using state-of-the-art practices.
Private Packagist is a fast, reliable, and secure Composer repository for your
private packages. It mirrors all your open-source dependencies for better
availability and monitors them for security vulnerabilities.

Help Symfony by [sponsoring][29] its development!

Expand Down Expand Up @@ -87,5 +87,5 @@ Symfony development is sponsored by [SensioLabs][21], led by the
[25]: https://symfony.com/doc/current/contributing/code_of_conduct/care_team.html
[26]: https://symfony.com/book
[27]: https://symfony.com/backers
[28]: https://jolicode.com/
[28]: https://packagist.com/
[29]: https://symfony.com/sponsor
13 changes: 13 additions & 0 deletions UPGRADE-5.4.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
UPGRADE FROM 5.3 to 5.4
=======================

FrameworkBundle
---------------

* Deprecate the `AdapterInterface` autowiring alias, use `CacheItemPoolInterface` instead
* Deprecate the public `profiler` service to private

HttpKernel
----------

* Deprecate `AbstractTestSessionListener::getSession` inject a session in the request instead
3 changes: 2 additions & 1 deletion UPGRADE-6.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,13 +82,14 @@ FrameworkBundle
* `MicroKernelTrait::configureRoutes()` is now always called with a `RoutingConfigurator`
* The "framework.router.utf8" configuration option defaults to `true`
* Removed `session.attribute_bag` service and `session.flash_bag` service.
* The `form.factory`, `form.type.file`, `translator`, `security.csrf.token_manager`, `serializer`,
* The `form.factory`, `form.type.file`, `profiler`, `translator`, `security.csrf.token_manager`, `serializer`,
`cache_clearer`, `filesystem` and `validator` services are now private.
* Removed the `lock.RESOURCE_NAME` and `lock.RESOURCE_NAME.store` services and the `lock`, `LockInterface`, `lock.store` and `PersistingStoreInterface` aliases, use `lock.RESOURCE_NAME.factory`, `lock.factory` or `LockFactory` instead.
* Remove the `KernelTestCase::$container` property, use `KernelTestCase::getContainer()` instead
* Registered workflow services are now private
* Remove option `--xliff-version` of the `translation:update` command, use e.g. `--output-format=xlf20` instead
* Remove option `--output-format` of the `translation:update` command, use e.g. `--output-format=xlf20` instead
* Remove the `AdapterInterface` autowiring alias, use `CacheItemPoolInterface` instead

HttpFoundation
--------------
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@
"psr/simple-cache": "^1.0",
"egulias/email-validator": "^2.1.10|^3.1",
"symfony/mercure-bundle": "^0.3",
"symfony/phpunit-bridge": "^5.2",
"symfony/phpunit-bridge": "^5.2|^6.0",
"symfony/runtime": "self.version",
"symfony/security-acl": "~2.8|~3.0",
"phpdocumentor/reflection-docblock": "^3.0|^4.0|^5.0",
Expand Down
34 changes: 17 additions & 17 deletions src/Symfony/Bridge/Doctrine/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,23 +27,23 @@
},
"require-dev": {
"composer/package-versions-deprecated": "^1.8",
"symfony/stopwatch": "^4.4|^5.0",
"symfony/cache": "^5.1",
"symfony/config": "^4.4|^5.0",
"symfony/dependency-injection": "^4.4|^5.0",
"symfony/form": "^5.1.3",
"symfony/http-kernel": "^5.0",
"symfony/messenger": "^4.4|^5.0",
"symfony/doctrine-messenger": "^5.1",
"symfony/property-access": "^4.4|^5.0",
"symfony/property-info": "^5.0",
"symfony/proxy-manager-bridge": "^4.4|^5.0",
"symfony/security-core": "^5.3",
"symfony/expression-language": "^4.4|^5.0",
"symfony/uid": "^5.1",
"symfony/validator": "^5.2",
"symfony/translation": "^4.4|^5.0",
"symfony/var-dumper": "^4.4|^5.0",
"symfony/stopwatch": "^4.4|^5.0|^6.0",
"symfony/cache": "^5.1|^6.0",
"symfony/config": "^4.4|^5.0|^6.0",
"symfony/dependency-injection": "^4.4|^5.0|^6.0",
"symfony/form": "^5.1.3|^6.0",
"symfony/http-kernel": "^5.0|^6.0",
"symfony/messenger": "^4.4|^5.0|^6.0",
"symfony/doctrine-messenger": "^5.1|^6.0",
"symfony/property-access": "^4.4|^5.0|^6.0",
"symfony/property-info": "^5.0|^6.0",
"symfony/proxy-manager-bridge": "^4.4|^5.0|^6.0",
"symfony/security-core": "^5.3|^6.0",
"symfony/expression-language": "^4.4|^5.0|^6.0",
"symfony/uid": "^5.1|^6.0",
"symfony/validator": "^5.2|^6.0",
"symfony/translation": "^4.4|^5.0|^6.0",
"symfony/var-dumper": "^4.4|^5.0|^6.0",
"doctrine/annotations": "^1.10.4",
"doctrine/collections": "~1.0",
"doctrine/data-fixtures": "^1.1",
Expand Down
16 changes: 8 additions & 8 deletions src/Symfony/Bridge/Monolog/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,17 +19,17 @@
"php": ">=7.2.5",
"monolog/monolog": "^1.25.1|^2",
"symfony/service-contracts": "^1.1|^2",
"symfony/http-kernel": "^5.3",
"symfony/http-kernel": "^5.3|^6.0",
"symfony/deprecation-contracts": "^2.1"
},
"require-dev": {
"symfony/console": "^4.4|^5.0",
"symfony/http-client": "^4.4|^5.0",
"symfony/security-core": "^4.4|^5.0",
"symfony/var-dumper": "^4.4|^5.0",
"symfony/mailer": "^4.4|^5.0",
"symfony/mime": "^4.4|^5.0",
"symfony/messenger": "^4.4|^5.0"
"symfony/console": "^4.4|^5.0|^6.0",
"symfony/http-client": "^4.4|^5.0|^6.0",
"symfony/security-core": "^4.4|^5.0|^6.0",
"symfony/var-dumper": "^4.4|^5.0|^6.0",
"symfony/mailer": "^4.4|^5.0|^6.0",
"symfony/mime": "^4.4|^5.0|^6.0",
"symfony/messenger": "^4.4|^5.0|^6.0"
},
"conflict": {
"symfony/console": "<4.4",
Expand Down
2 changes: 1 addition & 1 deletion src/Symfony/Bridge/PhpUnit/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"symfony/deprecation-contracts": "^2.1"
},
"require-dev": {
"symfony/error-handler": "^4.4|^5.0"
"symfony/error-handler": "^4.4|^5.0|^6.0"
},
"suggest": {
"symfony/error-handler": "For tracking deprecated interfaces usages at runtime with DebugClassLoader"
Expand Down
4 changes: 2 additions & 2 deletions src/Symfony/Bridge/ProxyManager/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@
"php": ">=7.2.5",
"composer/package-versions-deprecated": "^1.8",
"friendsofphp/proxy-manager-lts": "^1.0.2",
"symfony/dependency-injection": "^5.0"
"symfony/dependency-injection": "^5.0|^6.0"
},
"require-dev": {
"symfony/config": "^4.4|^5.0"
"symfony/config": "^4.4|^5.0|^6.0"
},
"autoload": {
"psr-4": { "Symfony\\Bridge\\ProxyManager\\": "" },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

{% block action %}
{% if action_url %}
{{ action_url }}: {{ action_text }}
{{ action_text }}: {{ action_url }}
{% endif %}
{% endblock %}

Expand Down
42 changes: 21 additions & 21 deletions src/Symfony/Bridge/Twig/composer.json
10000
Original file line number Diff line number Diff line change
Expand Up @@ -25,29 +25,29 @@
"doctrine/annotations": "^1.12",
"egulias/email-validator": "^2.1.10|^3",
"phpdocumentor/reflection-docblock": "^3.0|^4.0|^5.0",
"symfony/asset": "^4.4|^5.0",
"symfony/dependency-injection": "^4.4|^5.0",
"symfony/finder": "^4.4|^5.0",
"symfony/form": "^5.3",
"symfony/http-foundation": "^5.3",
"symfony/http-kernel": "^4.4|^5.0",
"symfony/intl": "^4.4|^5.0",
"symfony/mime": "^5.2",
"symfony/asset": "^4.4|^5.0|^6.0",
"symfony/dependency-injection": "^4.4|^5.0|^6.0",
"symfony/finder": "^4.4|^5.0|^6.0",
"symfony/form": "^5.3|^6.0",
"symfony/http-foundation": "^5.3|^6.0",
"symfony/http-kernel": "^4.4|^5.0|^6.0",
"symfony/intl": "^4.4|^5.0|^6.0",
"symfony/mime": "^5.2|^6.0",
"symfony/polyfill-intl-icu": "~1.0",
"symfony/property-info": "^4.4|^5.1",
"symfony/routing": "^4.4|^5.0",
"symfony/translation": "^5.2",
"symfony/yaml": "^4.4|^5.0",
"symfony/property-info": "^4.4|^5.1|^6.0",
"symfony/routing": "^4.4|^5.0|^6.0",
"symfony/translation": "^5.2|^6.0",
"symfony/yaml": "^4.4|^5.0|^6.0",
"symfony/security-acl": "^2.8|^3.0",
"symfony/security-core": "^4.4|^5.0",
"symfony/security-csrf": "^4.4|^5.0",
"symfony/security-http": "^4.4|^5.0",
"symfony/serializer": "^5.2",
"symfony/stopwatch": "^4.4|^5.0",
"symfony/console": "^4.4|^5.0",
"symfony/expression-language": "^4.4|^5.0",
"symfony/web-link": "^4.4|^5.0",
"symfony/workflow": "^5.2",
"symfony/security-core": "^4.4|^5.0|^6.0",
"symfony/security-csrf": "^4.4|^5.0|^6.0",
"symfony/security-http": "^4.4|^5.0|^6.0",
"symfony/serializer": "^5.2|^6.0",
"symfony/stopwatch": "^4.4|^5.0|^6.0",
"symfony/console": "^4.4|^5.0|^6.0",
"symfony/expression-language": "^4.4|^5.0|^6.0",
"symfony/web-link": "^4.4|^5.0|^6.0",
"symfony/workflow": "^5.2|^6.0",
"twig/cssinliner-extra": "^2.12|^3",
"twig/inky-extra": "^2.12|^3",
"twig/markdown-extra": "^2.12|^3"
Expand Down
12 changes: 6 additions & 6 deletions src/Symfony/Bundle/DebugBundle/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@
"require": {
"php": ">=7.2.5",
"ext-xml": "*",
"symfony/http-kernel": "^4.4|^5.0",
"symfony/twig-bridge": "^4.4|^5.0",
"symfony/var-dumper": "^4.4|^5.0"
"symfony/http-kernel": "^4.4|^5.0|^6.0",
"symfony/twig-bridge": "^4.4|^5.0|^6.0",
"symfony/var-dumper": "^4.4|^5.0|^6.0"
},
"require-dev": {
"symfony/config": "^4.4|^5.0",
"symfony/dependency-injection": "^4.4|^5.0",
"symfony/web-profiler-bundle": "^4.4|^5.0"
"symfony/config": "^4.4|^5.0|^6.0",
"symfony/dependency-injection": "^4.4|^5.0|^6.0",
"symfony/web-profiler-bundle": "^4.4|^5.0|^6.0"
},
"conflict": {
"symfony/config": "<4.4",
Expand Down
7 changes: 7 additions & 0 deletions src/Symfony/Bundle/FrameworkBundle/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
CHANGELOG
=========

5.4
---

* Add autowiring alias for `HttpCache\StoreInterface`
* Deprecate the `AdapterInterface` autowiring alias, use `CacheItemPoolInterface` instead
* Deprecate the public `profiler` service to private

5.3
---

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,7 @@
->alias(CacheItemPoolInterface::class, 'cache.app')

->alias(AdapterInterface::class, 'cache.app')
->deprecate('symfony/framework-bundle', '5.4', 'The "%alias_id%" alias is deprecated, use "%s" instead.', CacheItemPoolInterface::class)

->alias(CacheInterface::class, 'cache.app')

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
->public()
->args([service('profiler.storage'), service('logger')->nullOnInvalid()])
->tag('monolog.logger', ['channel' => 'profiler'])
->tag('container.private', ['package' => 'symfony/framework-bundle', 'version' => '5.4'])

->set('profiler.storage', FileProfilerStorage::class)
->args([param('profiler.storage.dsn')])
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
use Symfony\Component\HttpKernel\DependencyInjection\ServicesResetter;
use Symfony\Component\HttpKernel\EventListener\LocaleAwareListener;
use Symfony\Component\HttpKernel\HttpCache\Store;
use Symfony\Component\HttpKernel\HttpCache\StoreInterface;
use Symfony\Component\HttpKernel\HttpKernel;
use Symfony\Component\HttpKernel\HttpKernelInterface;
use Symfony\Component\HttpKernel\KernelEvents;
Expand Down Expand Up @@ -104,6 +105,7 @@ class_exists(WorkflowEvents::class) ? WorkflowEvents::ALIASES : []
->args([
param('kernel.cache_dir').'/http_cache',
])
->alias(StoreInterface::class, 'http_cache.store')

->set('url_helper', UrlHelper::class)
->args([
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@
->set('session_listener', SessionListener::class)
->args([
service_locator([
'session_factory' => service('session.factory')->ignoreOnInvalid(),
'session' => service('.session.do-not-use')->ignoreOnInvalid(),
'initialized_session' => service('.session.do-not-use')->ignoreOnUninitialized(),
'logger' => service('logger')->ignoreOnInvalid(),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -581,7 +581,7 @@ public function testNullSessionHandler()
$this->assertNull($container->getDefinition('session.storage.factory.php_bridge')->getArgument(0));
$this->assertSame('session.handler.native_file', (string) $container->getAlias('session.handler'));

$expected = ['session', 'initialized_session', 'logger', 'session_collector'];
$expected = ['session_factory', 'session', 'initialized_session', 'logger', 'session_collector'];
$this->assertEquals($expected, array_keys($container->getDefinition('session_listener')->getArgument(0)->getValues()));
$this->assertFalse($container->getDefinition('session.storage.factory.native')->getArgument(3));
}
Expand All @@ -600,7 +600,7 @@ public function testNullSessionHandlerLegacy()
$this->assertNull($container->getDefinition('session.storage.php_bridge')->getArgument(0));
$this->assertSame('session.handler.native_file', (string) $container->getAlias('session.handler'));

$expected = ['session', 'initialized_session', 'logger', 'session_collector'];
$expected = ['session_factory', 'session', 'initialized_session', 'logger', 'session_collector'];
$this->assertEquals($expected, array_keys($container->getDefinition('session_listener')->getArgument(0)->getValues()));
$this->assertFalse($container->getDefinition('session.storage.factory.native')->getArgument(3));
}
Expand Down Expand Up @@ -1618,7 +1618,7 @@ public function testSessionCookieSecureAuto()
{
$container = $this->createContainerFromFile('session_cookie_secure_auto');

$expected = ['session', 'initialized_session', 'logger', 'session_collector'];
$expected = ['session_factory', 'session', 'initialized_session', 'logger', 'session_collector'];
$this->assertEquals($expected, array_keys($container->getDefinition('session_listener')->getArgument(0)->getValues()));
}

Expand All @@ -1631,7 +1631,7 @@ public function testSessionCookieSecureAutoLegacy()

$container = $this->createContainerFromFile('session_cookie_secure_auto_legacy');

$expected = ['session', 'initialized_session', 'logger', 'session_collector', 'session_storage', 'request_stack'];
$expected = ['session_factory', 'session', 'initialized_session', 'logger', 'session_collector', 'session_storage', 'request_stack'];
$this->assertEquals($expected, array_keys($container->getDefinition('session_listener')->getArgument(0)->getValues()));
}

Expand Down
Loading
0