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
Copy file name to clipboardExpand all lines: Command/AssetsInstallCommand.php
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -137,13 +137,13 @@ protected function execute(InputInterface $input, OutputInterface $output)
137
137
$validAssetDirs = [];
138
138
/** @var BundleInterface $bundle */
139
139
foreach ($kernel->getBundles() as$bundle) {
140
-
if (!method_exists($bundle, 'getPublicPath')) {
141
-
@trigger_error('Not defining "getPublicPath()" method is deprecated since Symfony 4.4 and will not be supported in 5.0.', E_USER_DEPRECATED);
142
-
$publicPath = 'Resources/public';
140
+
if (!method_exists($bundle, 'getPublicDir')) {
141
+
@trigger_error(sprintf('Not defining "getPublicDir()" method in the "%s" class is deprecated since Symfony 4.4 and will not be supported in 5.0.', get_class($bundle)), E_USER_DEPRECATED);
0 commit comments