We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8925e97 commit 99be7b0Copy full SHA for 99be7b0
src/SPC/builder/extension/protobuf.php
@@ -15,5 +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
+ // protobuf conflicts with grpc
19
+ if ($this->builder->getExt('grpc') !== null) {
20
+ throw new \RuntimeException('protobuf conflicts with grpc, please remove grpc or protobuf extension');
21
+ }
22
23
0 commit comments