File tree 4 files changed +9
-8
lines changed
src/Symfony/Component/Translation
4 files changed +9
-8
lines changed Original file line number Diff line number Diff line change @@ -213,6 +213,11 @@ Templating
213
213
214
214
* The component is deprecated and will be removed in 7.0, use [ Twig] ( https://twig.symfony.com ) instead
215
215
216
+ Translator
217
+ ----------
218
+
219
+ * [ BC Break] Add argument ` $buildDir ` to ` DataCollectorTranslator::warmUp() `
220
+
216
221
Validator
217
222
---------
218
223
Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ CHANGELOG
6
6
7
7
* Give current locale to ` LocaleSwitcher::runWithLocale() ` 's callback
8
8
* Add ` --as-tree ` option to ` translation:pull ` command to write YAML messages as a tree-like structure
9
+ * [ BC BREAK] Add argument ` $buildDir ` to ` DataCollectorTranslator::warmUp() `
9
10
10
11
6.3
11
12
---
Original file line number Diff line number Diff line change @@ -71,13 +71,8 @@ public function getCatalogues(): array
71
71
return $ this ->translator ->getCatalogues ();
72
72
}
73
73
74
- /**
75
- * @param string|null $buildDir
76
- */
77
- public function warmUp (string $ cacheDir /* , string $buildDir = null */ ): array
74
+ public function warmUp (string $ cacheDir , string $ buildDir = null ): array
78
75
{
79
- $ buildDir = 1 < \func_num_args () ? func_get_arg (1 ) : null ;
80
-
81
76
if ($ this ->translator instanceof WarmableInterface) {
82
77
return (array ) $ this ->translator ->warmUp ($ cacheDir , $ buildDir );
83
78
}
Original file line number Diff line number Diff line change 27
27
"symfony/console" : " ^5.4|^6.0|^7.0" ,
28
28
"symfony/dependency-injection" : " ^5.4|^6.0|^7.0" ,
29
29
"symfony/http-client-contracts" : " ^2.5|^3.0" ,
30
- "symfony/http-kernel" : " ^5.4|^6.0" ,
30
+ "symfony/http-kernel" : " ^5.4|^6.0|^7.0 " ,
31
31
"symfony/intl" : " ^5.4|^6.0|^7.0" ,
32
32
"symfony/polyfill-intl-icu" : " ^1.21" ,
33
33
"symfony/routing" : " ^5.4|^6.0|^7.0" ,
40
40
"symfony/config" : " <5.4" ,
41
41
"symfony/dependency-injection" : " <5.4" ,
42
42
"symfony/http-client-contracts" : " <2.5" ,
43
- "symfony/http-kernel" : " <5.4|>=7.0 " ,
43
+ "symfony/http-kernel" : " <5.4" ,
44
44
"symfony/service-contracts" : " <2.5" ,
45
45
"symfony/twig-bundle" : " <5.4" ,
46
46
"symfony/yaml" : " <5.4" ,
You can’t perform that action at this time.
0 commit comments