Skip to content

Commit 3d329e0

Browse files
[FrameworkBundle] Remove TranslationUpdateCommand
1 parent 8dd2c5c commit 3d329e0

File tree

6 files changed

+5
-41
lines changed

6 files changed

+5
-41
lines changed

UPGRADE-8.0.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,7 @@ FrameworkBundle
213213
* Remove `session.sid_length` and `session.sid_bits_per_character` config options
214214
* Remove the `router.cache_dir` config option
215215
* Remove the `validation.cache` option
216+
* Remove `TranslationUpdateCommand` in favor of `TranslationExtractCommand`
216217

217218
HttpFoundation
218219
--------------

src/Symfony/Bundle/FrameworkBundle/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ CHANGELOG
1717
* Remove `session.sid_length` and `session.sid_bits_per_character` config options
1818
* Remove the `router.cache_dir` config option
1919
* Remove the `validation.cache` option
20+
* Remove `TranslationUpdateCommand` in favor of `TranslationExtractCommand`
2021

2122
7.4
2223
---

src/Symfony/Bundle/FrameworkBundle/Command/TranslationUpdateCommand.php

Lines changed: 0 additions & 34 deletions
This file was deleted.

src/Symfony/Bundle/FrameworkBundle/DependencyInjection/Configuration.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@ private function addProfilerSection(ArrayNodeDefinition $rootNode): void
354354
->booleanNode('only_exceptions')->defaultFalse()->end()
355355
->booleanNode('only_main_requests')->defaultFalse()->end()
356356
->scalarNode('dsn')->defaultValue('file:%kernel.cache_dir%/profiler')->end()
357-
->booleanNode('collect_serializer_data')->info('Enables the serializer data collector and profiler panel.')->defaultFalse()->end()
357+
->enumNode('collect_serializer_data')->values([true])->defaultTrue()->end() // to be @deprecated in Symfony 8.1
358358
->end()
359359
->end()
360360
->end()

src/Symfony/Bundle/FrameworkBundle/DependencyInjection/FrameworkExtension.php

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -972,11 +972,7 @@ private function registerProfilerConfiguration(array $config, ContainerBuilder $
972972
$loader->load('notifier_debug.php');
973973
}
974974

975-
if (false === $config['collect_serializer_data']) {
976-
trigger_deprecation('symfony/framework-bundle', '7.3', 'Setting the "framework.profiler.collect_serializer_data" config option to "false" is deprecated.');
977-
}
978-
979-
if ($this->isInitializedConfigEnabled('serializer') && $config['collect_serializer_data']) {
975+
if ($this->isInitializedConfigEnabled('serializer')) {
980976
$loader->load('serializer_debug.php');
981977
}
982978

src/Symfony/Bundle/FrameworkBundle/Tests/DependencyInjection/ConfigurationTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -688,7 +688,7 @@ protected static function getBundleDefaultConfig()
688688
'dsn' => 'file:%kernel.cache_dir%/profiler',
689689
'collect' => true,
690690
'collect_parameter' => null,
691-
'collect_serializer_data' => false,
691+
'collect_serializer_data' => true,
692692
],
693693
'translator' => [
694694
'enabled' => !class_exists(FullStack::class),

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy