Skip to content

Commit

Permalink
[PhpUnitBridge] Re-enable the garbage collector
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolas-grekas committed Jan 6, 2016
1 parent fff265d commit 478710f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
1 change: 0 additions & 1 deletion src/Symfony/Bridge/PhpUnit/README.md
Expand Up @@ -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.
Expand Down
6 changes: 0 additions & 6 deletions src/Symfony/Bridge/PhpUnit/bootstrap.php
Expand Up @@ -17,12 +17,6 @@
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');

Expand Down

0 comments on commit 478710f

Please sign in to comment.