, * Pádraic Brady * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ return [ 'meta' => [ 'title' => 'Global function call imported with an aliased use statement in the global scope', // Default values. If not specified will be the one used 'prefix' => 'Humbug', 'whitelist' => [], 'whitelist-global-constants' => true, 'whitelist-global-classes' => false, 'whitelist-global-functions' => false, 'registered-classes' => [], 'registered-functions' => [], ], 'Global function call imported with a use statement in the global scope' => <<<'PHP' [ 'whitelist-global-functions' => true, 'registered-functions' => [ ['main', 'Humbug\main'], ], 'payload' => <<<'PHP' <<<'PHP' [ 'whitelist-global-functions' => true, 'registered-functions' => [ ['foo', 'Humbug\foo'], ], 'payload' => <<<'PHP'