, * 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' => 'Class constant call of a namespaced class in a namespace', // Default values. If not specified will be the one used 'prefix' => 'Humbug', 'whitelist' => [], 'whitelist-global-constants' => true, 'whitelist-global-classes' => false, 'whitelist-global-functions' => true, 'registered-classes' => [], 'registered-functions' => [], ], 'Constant call on a namespaced class' => [ 'payload' => <<<'PHP' [ 'payload' => <<<'PHP' [ 'whitelist' => ['X\PHPUnit\Command'], 'registered-classes' => [ ['X\PHPUnit\Command', 'Humbug\X\PHPUnit\Command'], ], 'payload' => <<<'PHP' [ 'whitelist' => ['X\PHPUnit\*'], 'payload' => <<<'PHP' [ 'whitelist' => ['\*'], 'payload' => <<<'PHP' [ 'whitelist' => ['PHPUnit\Command'], 'registered-classes' => [ ['PHPUnit\Command', 'Humbug\PHPUnit\Command'], ], 'payload' => <<<'PHP'