Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I hide '#StandWithUkraine' in PHPUnit 9.5.20?

Tags:

php

phpunit

I have recently upgraded to PHPUnit 9.5.20 and noticed that it is printing #StandWithUkraine for every test run. Eg.

Testing started at 10:01 am ...
Running in local mode
PHPUnit 9.5.20 #StandWithUkraine


Time: 00:01.141, Memory: 24.00 MB

OK (1 test, 4 assertions)
like image 331
Frappuccino Avatar asked Dec 19 '25 14:12

Frappuccino


1 Answers

I guess you would have to edit actual source code of the package, and that seems not recommended.

But the banner is located in phpunit / src / TextUI / TestRunner.php on line 322 - 331

I guess removing it would do the trick, however I haven't tried it and don't recommend. The banner is also mentioned in a few other files. I've tracked down a commit made by the package author so you can see where the banner is mentioned. Commit by author

like image 122
geertjanknapen Avatar answered Dec 21 '25 04:12

geertjanknapen



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!