Remove function call of global namespace

This commit is contained in:
Art4 2025-05-20 12:06:01 +00:00
parent 0078423b48
commit da413283da

View file

@ -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;
}