My PHPUnit tests keep failing when trying to tests any .php files in my (legacy code) application that begin with the short open tag (<?
instead of <?php
).
But in my php.ini
file, the short_open_tag
is set to On
.
The application runs fine. Why is PHPUnit getting upset over the short open tag? I've looked for other php.ini
files, and could only find the one at /etc/php.ini
. My .htaccess
file doesn't affect this setting either. What else could be causing this?