If you have an error like:
Warning: Declaration of PhpStorm_Codeception_ReportPrinter::writeProgress($progress): void should be compatible with PHPUnit\TextUI\ResultPrinter::writeProgress(string $progress): void in /private/var/folders/tk/bzhc9dbn5wn4nb_v8kznlwh40000gn/T/ide-codeception
while running PHPUnit test in PHPStorm, just check CLI Interpreter version. Latest version of PHPUnit require
I hope it will save a small piece of your time.