, * 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' => 'Whitelist case sensitiveness', // Default values. If not specified will be the one used 'prefix' => 'Humbug', 'whitelist' => [], 'whitelist-global-constants' => false, 'whitelist-global-classes' => false, 'whitelist-global-functions' => true, 'registered-classes' => [], 'registered-functions' => [], ], 'Class whitelists are case insensitive' => [ 'whitelist' => ['acme\foo'], 'registered-classes' => [ ['Acme\Foo', 'Humbug\Acme\Foo'], ], 'payload' => <<<'PHP' [ 'whitelist' => ['Acme\Foo', 'Acme\Bar'], 'payload' => <<<'PHP' [ 'whitelist' => ['acme\FOO', 'acme\BAR'], 'payload' => <<<'PHP' [ 'whitelist' => ['acme\*'], 'payload' => <<<'PHP' [ 'whitelist' => ['acme\*'], 'payload' => <<<'PHP'