|
|
@@ -93,7 +93,10 @@ class PhpConfig implements ConfigEngineInterface
|
|
|
if (!isset($config)) {
|
|
|
throw new Exception(sprintf('Config file "%s" did not return an array', $key . '.php'));
|
|
|
}
|
|
|
- deprecationWarning('PHP configuration files should not set `$config. Instead return an array.');
|
|
|
+ deprecationWarning(sprintf(
|
|
|
+ 'PHP configuration files like "%s" should not set `$config`. Instead return an array.',
|
|
|
+ $key . '.php'
|
|
|
+ ));
|
|
|
|
|
|
return $config;
|
|
|
}
|