Merge pull request #2259 from gabsource/fix-plugin-base-exception

Fix missing sprintf in exception message (wrong signature)
This commit is contained in:
Samuel Georges 2016-07-30 22:53:14 +10:00 committed by GitHub
commit 1253e8272d

View File

@ -49,7 +49,7 @@ class PluginBase extends ServiceProviderBase
'method in the plugin class.', $thisClass));
if (!array_key_exists('plugin', $configuration)) {
throw new SystemException('The plugin configuration file plugin.yaml should contain the "plugin" section: %s.', $thisClass);
throw new SystemException(sprintf('The plugin configuration file plugin.yaml should contain the "plugin" section: %s.', $thisClass));
}
return $configuration['plugin'];