, * 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' => 'String literal used as a method argument', // 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' => [], ], 'FQCN string argument' => <<<'PHP' foo('Humbug\\Symfony\\Component\\Yaml\\Ya_1', $y = 'Foo'); $x = new X(); $x->foo()('Humbug\\Symfony\\Component\\Yaml\\Ya_1', $y = 'Foo'); ---- foo('Humbug\\Symfony\\Component\\Yaml\\Ya_1', $y = 'Foo'); $x = new \Humbug\X(); $x->foo()('Humbug\\Symfony\\Component\\Yaml\\Ya_1', $y = 'Foo'); PHP , 'FQCN string argument with a static method' => <<<'PHP'