Rey Libutan
Rey Libutan

Reputation: 5314

PHPUnit output text is messed up

I don't know if I should be asking this here since this is not entirely programming-related but please pardon me in advance.

How do I correct the highlighted text in the screenshot below?

The "<-[" texts.

Also, how do I run PHPUnit in Windows that will show show the usual green/red bar when passing/failing tests? I tried Git Bash console but it also displays messed up output and no bar.

messed up display text

Upvotes: 0

Views: 194

Answers (1)

Chris
Chris

Reputation: 136910

You're looking at ANSI colour codes, which don't work in cmd.exe.

The configuration file can be used to set the colors directive to false. Alternatively, you should be able to use the --colors command line option.

Upvotes: 1

Related Questions