Skip to content

Conversation

ruudk
Copy link
Member

@ruudk ruudk commented Sep 23, 2024

When the output is not decorated (--no-ansi), we can skip highlighting the error, as it won't have any effect anyway.

The filenames will not be clickable and therefore we don't have to trim them.

Since Output::isDecorated was recently introduced in PHPStan we need to bump the minimum requirement to 1.12.4

Fixes #8

When the output is not decorated (`--no-ansi`), we can skip highlighting the error,
as it won't have any effect anyway.

The filenames will not be clickable and therefore we don't have to trim them.

Since `Output::isDecorated` was recently introduced in PHPStan we need to bump the minimum
requirement to `1.12.4`
@ruudk ruudk merged commit f93b096 into main Sep 23, 2024
1 check passed
@ruudk ruudk deleted the is-decorated branch September 23, 2024 08:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Show absolute file links when output is not decorated

1 participant