From: Art4 Date: Tue, 20 May 2025 12:06:01 +0000 (+0000) Subject: Remove function call of global namespace X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=da413283dae60985bc45cc532f3e0bd95eb446ba;p=friendica.git Remove function call of global namespace --- diff --git a/src/Core/Addon/AddonManagerHelper.php b/src/Core/Addon/AddonManagerHelper.php index 513baeb326..4b7ed1c4a0 100644 --- a/src/Core/Addon/AddonManagerHelper.php +++ b/src/Core/Addon/AddonManagerHelper.php @@ -84,7 +84,7 @@ final class AddonManagerHelper implements AddonHelper foreach ($dirs as $dirname) { // ignore hidden files and folders // @TODO: Replace with str_starts_with() when PHP 8.0 is the minimum version - if (\strncmp($dirname, '.', 1) === 0) { + if (strncmp($dirname, '.', 1) === 0) { continue; }