src/Adapter/Phpunit/ConfigurationLocator.php
public function locate($configurationDir)
    {
        $conf = $configurationDir . '/phpunit.xml';

        if (file_exists($conf)) {
            return realpath($conf);
        }

        if (file_exists($conf . '.dist')) {
            return realpath($conf . '.dist');
        }

        throw new RuntimeException('Unable to locate phpunit.xml(.dist) file. This is required by Humbug.');
    }
public function locate($configurationDir)
    {
        $conf = $configurationDir . '/phpunit.xml';

        if (file_exists($conf)) {
            return realpath($conf);
        }

        if (file_exists($conf . '.dist')) {
            return realpath($conf . '.dist');
        }

        throw new RuntimeException('Unable to locate phpunit.xml(.dist) file. This is required by Humbug.');
    }
@param $configurationDir
@return string