Owen Conti

How to Fix PHPUnit Splitting Dots onto New Lines

Posted on under PHP by Owen Conti.

If you see your PHPUnit outputting the test dots onto new lines like so:

1PHPUnit 8.5.3 by Sebastian Bergmann and contributors.
2 
3..
4.
5.
6.
7. 6 / 6 (100%)

It usually means you have a line break before an opening PHP tag: <?php or after an ending PHP tag (if you use those): ?>


Thanks for reading this article!

Hopefully you found this article useful! If you did, share it on Twitter!

Found an issue with the article? Submit your edits against the repository.