, * 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' => 'Anonymous class declaration', // 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' => [], ], 'Declaration in the global namespace' => <<<'PHP' [ 'whitelist-global-classes' => true, 'registered-classes' => [ ['A', 'Humbug\A'], ['B', 'Humbug\B'], ['C', 'Humbug\C'], ], 'payload' => <<<'PHP' [ 'whitelist' => ['\*'], 'payload' => <<<'PHP' [ 'whitelist' => ['A', 'C'], 'registered-classes' => [ ['A', 'Humbug\A'], ['C', 'Humbug\C'], ], 'payload' => <<<'PHP' <<<'PHP' <<<'PHP'