Found an issue related to https://www.php.net/manual/en/language.namespaces.importing.php
// importing a function
use function My\Full\functionName;
// aliasing a function
use function My\Full\functionName as func;
Test case
fIle 1:
<?php
namespace Devsense\NS;
function test(): bool {
return false;
}
file 2:
<?php
namespace Devsense\Imports;
use function Devsense\NS\test;
test();
Thank you for the fix.