protected function getLocation(Operation $operation) { $isFullPath = $this->fullPath; if ($isFullPath) { $location = $operation->getLocation(); } else { $location = str_replace($this->cwd . DIRECTORY_SEPARATOR, '', $operation->getLocation()); } return $location . ':' . $operation->getLine(); }