[PhpUnitBridge] Re-enable the garbage collector

This commit is contained in:
Nicolas Grekas 2016-01-06 07:53:30 +01:00
parent fff265d451
commit 478710f984
2 changed files with 0 additions and 7 deletions

View File

@ -5,7 +5,6 @@ Provides utilities for PHPUnit, especially user deprecation notices management.
It comes with the following features:
* disable the garbage collector;
* enforce a consistent `C` locale;
* auto-register `class_exists` to load Doctrine annotations;
* print a user deprecation notices summary at the end of the test suite.

View File

@ -17,12 +17,6 @@ if (!defined('PHPUNIT_COMPOSER_INSTALL') && !class_exists('PHPUnit_TextUI_Comman
return;
}
if (PHP_VERSION_ID >= 50400 && gc_enabled()) {
// Disabling Zend Garbage Collection to prevent segfaults with PHP5.4+
// https://bugs.php.net/bug.php?id=53976
gc_disable();
}
// Enforce a consistent locale
setlocale(LC_ALL, 'C');