Skip to content

Reporter outputs an empty location if file was removed #56

@tomzx

Description

@tomzx

This is due to realpath($missing_path) returning the current working directory, which is then stripped if we have set the reporter not to output full paths.

$fullPath = realpath($operation->getLocation());
$location = str_replace($this->cwd . DIRECTORY_SEPARATOR, '', $fullPath);

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions