@@ -39,8 +39,8 @@ public function load(array $configs, ContainerBuilder $container): void
39
39
$ config = $ this ->processConfiguration ($ configuration , $ configs );
40
40
$ loader = new Loader \YamlFileLoader ($ container , new FileLocator (__DIR__ .'/../Resources/config ' ));
41
41
42
- $ loader ->load ('services.yml ' );
43
- $ loader ->load ('extractors.yml ' );
42
+ $ loader ->load ('services.yaml ' );
43
+ $ loader ->load ('extractors.yaml ' );
44
44
45
45
// Add major version to extractor
46
46
$ container ->getDefinition ('php_translation.extractor.php.visitor.FormTypeChoices ' )
@@ -52,38 +52,38 @@ public function load(array $configs, ContainerBuilder $container): void
52
52
$ this ->handleConfigNode ($ container , $ config );
53
53
54
54
if ($ config ['webui ' ]['enabled ' ]) {
55
- $ loader ->load ('webui.yml ' );
55
+ $ loader ->load ('webui.yaml ' );
56
56
$ this ->enableWebUi ($ container , $ config );
57
57
} else {
58
58
$ container ->setParameter ('php_translation.webui.enabled ' , false );
59
59
}
60
60
61
61
if ($ config ['symfony_profiler ' ]['enabled ' ]) {
62
- $ loader ->load ('symfony_profiler.yml ' );
62
+ $ loader ->load ('symfony_profiler.yaml ' );
63
63
$ this ->enableSymfonyProfiler ($ container , $ config );
64
64
}
65
65
66
66
if ($ config ['edit_in_place ' ]['enabled ' ]) {
67
- $ loader ->load ('edit_in_place.yml ' );
67
+ $ loader ->load ('edit_in_place.yaml ' );
68
68
$ this ->enableEditInPlace ($ container , $ config );
69
69
}
70
70
71
71
if ($ config ['auto_add_missing_translations ' ]['enabled ' ]) {
72
- $ loader ->load ('auto_add.yml ' );
72
+ $ loader ->load ('auto_add.yaml ' );
73
73
$ container ->getDefinition ('php_translator.auto_adder ' )
74
74
->replaceArgument (0 , new Reference ('php_translation.storage. ' .$ config ['auto_add_missing_translations ' ]['config_name ' ]));
75
75
}
76
76
77
77
if ($ config ['fallback_translation ' ]['enabled ' ]) {
78
- $ loader ->load ('auto_translation.yml ' );
78
+ $ loader ->load ('auto_translation.yaml ' );
79
79
$ this ->enableFallbackAutoTranslator ($ container , $ config );
80
80
}
81
81
82
82
if ('test ' === \getenv ('ENV ' )) {
83
- $ loader ->load ('services_test.yml ' );
83
+ $ loader ->load ('services_test.yaml ' );
84
84
}
85
85
86
- $ loader ->load ('console.yml ' );
86
+ $ loader ->load ('console.yaml ' );
87
87
}
88
88
89
89
/**
0 commit comments