From d9156e4d28b707baa0379e1d24e1ce262a0d2c1e Mon Sep 17 00:00:00 2001 From: Andreas Gohr Date: Tue, 29 Aug 2023 15:48:21 +0200 Subject: [PATCH] fix overlong line introduced by rector --- inc/Extension/PluginController.php | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/inc/Extension/PluginController.php b/inc/Extension/PluginController.php index 4db61b8fc..3e94e1ce5 100644 --- a/inc/Extension/PluginController.php +++ b/inc/Extension/PluginController.php @@ -118,12 +118,10 @@ class PluginController ), -1 ); } elseif (preg_match('/^' . DOKU_PLUGIN_NAME_REGEX . '$/', $plugin) !== 1) { - msg( - sprintf( - 'Plugin name \'%s\' is not a valid plugin name, only the characters a-z and 0-9 are allowed. ' . - 'Maybe the plugin has been installed in the wrong directory?', hsc($plugin) - ), -1 - ); + msg(sprintf( + 'Plugin name \'%s\' is not a valid plugin name, only the characters a-z and 0-9 are allowed. ' . + 'Maybe the plugin has been installed in the wrong directory?', hsc($plugin) + ), -1); } return null; } -- 2.11.4.GIT