why is phpstan so stupid about this constant?

This commit is contained in:
DubbleClick 2025-08-28 12:14:26 +07:00
parent 866ca264d9
commit 39a9840d49

View File

@ -52,7 +52,7 @@ class opcache extends Extension
if ((SPCTarget::getTargetOS() === 'Linux' &&
SPCTarget::getLibc() === 'musl' &&
$this->builder->getOption('enable-zts') &&
GNU_ARCH === 'x86_64' &&
arch2gnu(php_uname('m')) === 'x86_64' &&
$phpVersionID < 80500) ||
$this->builder->getOption('disable-opcache-jit')
) {