mirror of
https://github.com/nikic/PHP-Parser.git
synced 2025-01-17 23:28:15 +01:00
run tests with all errors enabled
This commit is contained in:
parent
3233fdd24d
commit
d9b5814074
@ -1,5 +1,8 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
error_reporting(E_ALL | E_STRICT);
|
||||||
|
ini_set('short_open_tag', false);
|
||||||
|
|
||||||
if ('cli' !== php_sapi_name()) {
|
if ('cli' !== php_sapi_name()) {
|
||||||
die('This script is designed for running on the command line.');
|
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".');
|
die('The test type must be either "Symfony" or "PHP".');
|
||||||
}
|
}
|
||||||
|
|
||||||
ini_set('short_open_tag', false);
|
|
||||||
|
|
||||||
require_once dirname(__FILE__) . '/../lib/PHPParser/Autoloader.php';
|
require_once dirname(__FILE__) . '/../lib/PHPParser/Autoloader.php';
|
||||||
PHPParser_Autoloader::register();
|
PHPParser_Autoloader::register();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user