This is a known bug when running from .phar files, because in this case the function that does "highlighting" does not get a filename, but the content of the phar, hence the unexpected input.
Some background: your test may be triggering an exception which gets handled by internal symfony ErrorHandler which displays nicely formatted stack traces, this formatting is what triggers this warning.
It has been fixed in this PR: https://github.com/symfony/symfony/pull/8721/files
And details are in this Issue: https://github.com/symfony/symfony/issues/7798