, * 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' => 'Interface 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'], ['C', 'Humbug\C'], ['D', 'Humbug\D'], ], 'payload' => <<<'PHP' <<<'PHP' [ 'whitelist-global-classes' => true, 'payload' => <<<'PHP' [ 'whitelist' => ['Foo\A'], 'registered-classes' => [ ['Foo\A', 'Humbug\Foo\A'], ], 'payload' => <<<'PHP' [ 'whitelist' => ['Foo\A*'], 'registered-classes' => [ ['Foo\A', 'Humbug\Foo\A'], ['Foo\AA', 'Humbug\Foo\AA'], ['Foo\A\B', 'Humbug\Foo\A\B'], ], 'payload' => <<<'PHP' <<<'PHP'