setRules( [ 'php_unit_test_case_static_method_calls' => ['call_type' => 'self', 'methods' => ['createStub' => 'this']], ] ); // @TODO 4.0 no need to call this manually $config->setParallelConfig(ParallelConfigFactory::detect()); $config->getFinder()->in('Classes')->in('Configuration')->in('Tests'); return $config;