Skip to content

Commit 2f0fd85

Browse files
authored
Remove dead code
1 parent 87b0dcc commit 2f0fd85

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

bin/phpstan

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,6 @@ use Symfony\Component\Console\Helper\ProgressBar;
1313
(function () {
1414
error_reporting(E_ALL);
1515
ini_set('display_errors', 'stderr');
16-
if (version_compare(PHP_VERSION, '7.4.0', '<')) {
17-
// PHP earlier than 7.4.x with OpCache triggers a bug when we intercept
18-
// custom autoloaders' reads to discover file paths. See PHPStan #4881.
19-
ini_set('opcache.enable', 'Off');
20-
}
21-
22-
if (PHP_VERSION_ID < 70300) {
23-
gc_disable(); // performance boost
24-
}
2516

2617
define('__PHPSTAN_RUNNING__', true);
2718

0 commit comments

Comments
 (0)