You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if ($invalidKeys = array_diff(array_keys($data), $validKeys)) {
46
46
thrownew \InvalidArgumentException(sprintf('The following keys are not valid for the importmap entry "%s": "%s". Valid keys are: "%s".', $importName, implode('", "', $invalidKeys), implode('", "', $validKeys)));
47
47
}
@@ -51,6 +51,20 @@ public function getEntries(): ImportMapEntries
51
51
trigger_deprecation('symfony/asset-mapper', '6.4', 'The "url" option is deprecated, use "version" instead.');
52
52
}
53
53
54
+
// should solve itself when the config is written again
55
+
if (isset($data['downloaded_to'])) {
56
+
trigger_deprecation('symfony/asset-mapper', '6.4', 'The "downloaded_to" option is deprecated and will be removed.');
57
+
// remove deprecated downloaded_to
58
+
unset($data['downloaded_to']);
59
+
}
60
+
61
+
// should solve itself when the config is written again
62
+
if (isset($data['preload'])) {
63
+
trigger_deprecation('symfony/asset-mapper', '6.4', 'The "preload" option is deprecated, preloading is automatically done.');
0 commit comments