Skip to content

Commit 8acd93b

Browse files
committed
Do gc_disable() in bin/phpstan for speedup
1 parent 47aa39d commit 8acd93b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

bin/phpstan

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ use Symfony\Component\Console\Helper\ProgressBar;
1515
error_reporting(E_ALL & ~E_DEPRECATED);
1616
ini_set('display_errors', 'stderr');
1717

18+
gc_disable();
19+
1820
define('__PHPSTAN_RUNNING__', true);
1921

2022
require_once __DIR__ . '/../src/Turbo/TurboExtensionEnabler.php';

0 commit comments

Comments
 (0)