Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 0 additions & 9 deletions bin/phpstan
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,6 @@ use Symfony\Component\Console\Helper\ProgressBar;
(function () {
error_reporting(E_ALL);
ini_set('display_errors', 'stderr');
if (version_compare(PHP_VERSION, '7.4.0', '<')) {
// PHP earlier than 7.4.x with OpCache triggers a bug when we intercept
// custom autoloaders' reads to discover file paths. See PHPStan #4881.
ini_set('opcache.enable', 'Off');
}

if (PHP_VERSION_ID < 70300) {
gc_disable(); // performance boost
}

define('__PHPSTAN_RUNNING__', true);

Expand Down
Loading