File tree Expand file tree Collapse file tree 4 files changed +9
-8
lines changed
src/Symfony/Component/Translation Expand file tree Collapse file tree 4 files changed +9
-8
lines changed Original file line number Diff line number Diff line change @@ -213,6 +213,11 @@ Templating
213213
214214 * The component is deprecated and will be removed in 7.0, use [ Twig] ( https://twig.symfony.com ) instead
215215
216+ Translator
217+ ----------
218+
219+ * [ BC Break] Add argument ` $buildDir ` to ` DataCollectorTranslator::warmUp() `
220+
216221Validator
217222---------
218223
Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ CHANGELOG
66
77 * Give current locale to ` LocaleSwitcher::runWithLocale() ` 's callback
88 * 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() `
910
10116.3
1112---
Original file line number Diff line number Diff line change @@ -71,13 +71,8 @@ public function getCatalogues(): array
7171 return $ this ->translator ->getCatalogues ();
7272 }
7373
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
7875 {
79- $ buildDir = 1 < \func_num_args () ? func_get_arg (1 ) : null ;
80-
8176 if ($ this ->translator instanceof WarmableInterface) {
8277 return (array ) $ this ->translator ->warmUp ($ cacheDir , $ buildDir );
8378 }
Original file line number Diff line number Diff line change 2727 "symfony/console" : " ^5.4|^6.0|^7.0" ,
2828 "symfony/dependency-injection" : " ^5.4|^6.0|^7.0" ,
2929 "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 " ,
3131 "symfony/intl" : " ^5.4|^6.0|^7.0" ,
3232 "symfony/polyfill-intl-icu" : " ^1.21" ,
3333 "symfony/routing" : " ^5.4|^6.0|^7.0" ,
4040 "symfony/config" : " <5.4" ,
4141 "symfony/dependency-injection" : " <5.4" ,
4242 "symfony/http-client-contracts" : " <2.5" ,
43- "symfony/http-kernel" : " <5.4|>=7.0 " ,
43+ "symfony/http-kernel" : " <5.4" ,
4444 "symfony/service-contracts" : " <2.5" ,
4545 "symfony/twig-bundle" : " <5.4" ,
4646 "symfony/yaml" : " <5.4" ,
You can’t perform that action at this time.
0 commit comments