run tests with all errors enabled

This commit is contained in:
nikic 2011-10-20 22:36:10 +02:00
parent 3233fdd24d
commit d9b5814074

View File

@ -1,5 +1,8 @@
<?php
error_reporting(E_ALL | E_STRICT);
ini_set('short_open_tag', false);
if ('cli' !== php_sapi_name()) {
die('This script is designed for running on the command line.');
}
@ -25,8 +28,6 @@ if ('Symfony' === $TEST_TYPE) {
die('The test type must be either "Symfony" or "PHP".');
}
ini_set('short_open_tag', false);
require_once dirname(__FILE__) . '/../lib/PHPParser/Autoloader.php';
PHPParser_Autoloader::register();