Skip to content

File path and line nr does not get stripped when passing relative path with Windows slashes #94

Closed
@jrfnl

Description

@jrfnl

Command

parallel-lint .\tests\file-with-parse-error.php

Expected output

Syntax error found in 1 file

------------------------------------------------------------
Parse error: .\tests\file-with-parse-error.php:6
    5|
  > 6| echo . $text;
    7|
Unexpected token "."

Actual output

Syntax error found in 1 file

------------------------------------------------------------
Parse error: .\tests\file-with-parse-error.php:6
    5|
  > 6| echo . $text;
    7|
Unexpected token "." in .\tests\file-with-parse-error.php on line 6

Take note of the difference in the last line of the output.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions