builder->getOption('enable-zts')) { throw new WrongUsageException('ext-parallel must be built with ZTS builds. Use "--enable-zts" option!'); } } public function patchBeforeBuildconf(): bool { FileSystem::replaceFileRegex(SOURCE_PATH . '/php-src/ext/parallel/config.m4', '/PHP_VERSION=.*/m', ''); return true; } }