, * 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' => 'Date related functions/calls', // 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' => [], ], 'date values' => <<<'PHP' format('d\H\Z'); date_format(new DateTime('now'), 'd\H\Z'); ---- format('Humbug\\d\\H\\Z'); \date_format(new \DateTime('now'), 'Humbug\\d\\H\\Z'); PHP , 'date values in a namespace' => <<<'PHP' format('d\H\Z'); date_format(new DateTime('now'), 'd\H\Z'); ---- format('Humbug\\d\\H\\Z'); \date_format(new \DateTime('now'), 'Humbug\\d\\H\\Z'); PHP , ];