@@ -39,8 +39,8 @@ public function load(array $configs, ContainerBuilder $container): void
3939 $ config = $ this ->processConfiguration ($ configuration , $ configs );
4040 $ loader = new Loader \YamlFileLoader ($ container , new FileLocator (__DIR__ .'/../Resources/config ' ));
4141
42- $ loader ->load ('services.yml ' );
43- $ loader ->load ('extractors.yml ' );
42+ $ loader ->load ('services.yaml ' );
43+ $ loader ->load ('extractors.yaml ' );
4444
4545 // Add major version to extractor
4646 $ container ->getDefinition ('php_translation.extractor.php.visitor.FormTypeChoices ' )
@@ -52,38 +52,38 @@ public function load(array $configs, ContainerBuilder $container): void
5252 $ this ->handleConfigNode ($ container , $ config );
5353
5454 if ($ config ['webui ' ]['enabled ' ]) {
55- $ loader ->load ('webui.yml ' );
55+ $ loader ->load ('webui.yaml ' );
5656 $ this ->enableWebUi ($ container , $ config );
5757 } else {
5858 $ container ->setParameter ('php_translation.webui.enabled ' , false );
5959 }
6060
6161 if ($ config ['symfony_profiler ' ]['enabled ' ]) {
62- $ loader ->load ('symfony_profiler.yml ' );
62+ $ loader ->load ('symfony_profiler.yaml ' );
6363 $ this ->enableSymfonyProfiler ($ container , $ config );
6464 }
6565
6666 if ($ config ['edit_in_place ' ]['enabled ' ]) {
67- $ loader ->load ('edit_in_place.yml ' );
67+ $ loader ->load ('edit_in_place.yaml ' );
6868 $ this ->enableEditInPlace ($ container , $ config );
6969 }
7070
7171 if ($ config ['auto_add_missing_translations ' ]['enabled ' ]) {
72- $ loader ->load ('auto_add.yml ' );
72+ $ loader ->load ('auto_add.yaml ' );
7373 $ container ->getDefinition ('php_translator.auto_adder ' )
7474 ->replaceArgument (0 , new Reference ('php_translation.storage. ' .$ config ['auto_add_missing_translations ' ]['config_name ' ]));
7575 }
7676
7777 if ($ config ['fallback_translation ' ]['enabled ' ]) {
78- $ loader ->load ('auto_translation.yml ' );
78+ $ loader ->load ('auto_translation.yaml ' );
7979 $ this ->enableFallbackAutoTranslator ($ container , $ config );
8080 }
8181
8282 if ('test ' === \getenv ('ENV ' )) {
83- $ loader ->load ('services_test.yml ' );
83+ $ loader ->load ('services_test.yaml ' );
8484 }
8585
86- $ loader ->load ('console.yml ' );
86+ $ loader ->load ('console.yaml ' );
8787 }
8888
8989 /**
0 commit comments