From e421ad39358b8022860401dcf095a9411f2c1d50 Mon Sep 17 00:00:00 2001 From: fiwswe <53953985+fiwswe@users.noreply.github.com> Date: Fri, 15 Sep 2023 01:46:47 +0200 Subject: [PATCH] Conform to new coding style --- inc/Extension/PluginController.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/inc/Extension/PluginController.php b/inc/Extension/PluginController.php index 7e4fda32f..ced1639d7 100644 --- a/inc/Extension/PluginController.php +++ b/inc/Extension/PluginController.php @@ -351,9 +351,10 @@ class PluginController if (is_dir($typedir)) { if ($dp = opendir($typedir)) { while (false !== ($component = readdir($dp))) { - if (str_starts_with($component, '.') || - !str_ends_with(strtolower($component), '.php')) - continue; + if ( + str_starts_with($component, '.') || + !str_ends_with(strtolower($component), '.php') + ) continue; if (is_file($typedir . $component)) { $plugins[] = $plugin . '_' . substr($component, 0, -4); } -- 2.11.4.GIT