Change-Id: Ic4efeca82762b3c50cd2e1b45e43a6f1ef0f5710
$maintClass = 'PHPUnitMaintClass';
require RUN_MAINTENANCE_IF_MAIN;
$maintClass = 'PHPUnitMaintClass';
require RUN_MAINTENANCE_IF_MAIN;
-// Prevent segfault when we have lots of unit tests (bug 62623)
-if ( version_compare( PHP_VERSION, '5.4.0', '<' ) ) {
- register_shutdown_function( function () {
- gc_collect_cycles();
- gc_disable();
- } );
-}
-
$ok = false;
if ( class_exists( 'PHPUnit_TextUI_Command' ) ) {
$ok = false;
if ( class_exists( 'PHPUnit_TextUI_Command' ) ) {