src/Behat/Behat/Output/Node/Printer/Pretty/PrettyPathPrinter.php
private function relativizePaths($path)
    {
        if (!$this->basePath) {
            return $path;
        }

        return str_replace($this->basePath . DIRECTORY_SEPARATOR, '', $path);
    }
private function relativizePaths($path)
    {
        if (!$this->basePath) {
            return $path;
        }

        return str_replace($this->basePath . DIRECTORY_SEPARATOR, '', $path);
    }
private function relativizePaths ( $ path ) { if ( ! $ this -> basePath ) { return $ path ; } return str_replace ( $ this -> basePath . DIRECTORY_SEPARATOR , '' , $ path ) ; }
Transforms path to relative.

@param string $path

@return string
Transforms path to relative .