Skip to content

Can't specify a report file path using the tilde shortcut #2802

@ghost

Description

When I use the following command

mkdir ~/foo && vendor/bin/phpcs --report=junit --report-junit="~/foo/phpcs.xml"

I get the error

ERROR: The specified junit report file path "~/foo/phpcs.xml" points to a non-existent directory

But the directory exists when I check using ls -l ~/

What am I doing wrong?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions