Skip to content

Commit 0af081b

Browse files
[PhpUnitBridge] Re-enable the garbage collector
1 parent 83840c5 commit 0af081b

File tree

2 files changed

+0
-7
lines changed

2 files changed

+0
-7
lines changed

README.md

-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ Provides utilities for PHPUnit, especially user deprecation notices management.
55

66
It comes with the following features:
77

8-
* disable the garbage collector;
98
* enforce a consistent `C` locale;
109
* auto-register `class_exists` to load Doctrine annotations;
1110
* print a user deprecation notices summary at the end of the test suite.

bootstrap.php

-6
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,6 @@
1717
return;
1818
}
1919

20-
if (PHP_VERSION_ID >= 50400 && gc_enabled()) {
21-
// Disabling Zend Garbage Collection to prevent segfaults with PHP5.4+
22-
// https://bugs.php.net/bug.php?id=53976
23-
gc_disable();
24-
}
25-
2620
// Enforce a consistent locale
2721
setlocale(LC_ALL, 'C');
2822

0 commit comments

Comments
 (0)