We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a2f0640 + ba26359 commit 056971fCopy full SHA for 056971f
src/SPC/builder/extension/protobuf.php
@@ -15,8 +15,9 @@ public function validate(): void
15
if ($this->builder->getPHPVersionID() < 80000 && getenv('SPC_SKIP_PHP_VERSION_CHECK') !== 'yes') {
16
throw new \RuntimeException('The latest protobuf extension requires PHP 8.0 or later');
17
}
18
+ $grpc = $this->builder->getExt('grpc');
19
// protobuf conflicts with grpc
- if ($this->builder->getExt('grpc') !== null) {
20
+ if ($grpc?->isBuildStatic()) {
21
throw new \RuntimeException('protobuf conflicts with grpc, please remove grpc or protobuf extension');
22
23
0 commit comments