X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=src%2Fpharext%2FSourceDir%2FPecl.php;h=9ca97264c480923817c1b5e1f808954888c8cf33;hb=34284101c2aa60ec1e824a54de543148aaa28b58;hp=0b7055a99da64e0afb162490a18944bbeffd030c;hpb=861260c111bff72f60665393660b6f5375559510;p=pharext%2Fpharext diff --git a/src/pharext/SourceDir/Pecl.php b/src/pharext/SourceDir/Pecl.php index 0b7055a..9ca9726 100644 --- a/src/pharext/SourceDir/Pecl.php +++ b/src/pharext/SourceDir/Pecl.php @@ -57,6 +57,13 @@ class Pecl implements \IteratorAggregate, SourceDir $cmd->warn("%s\n", $error); } } + if (!isset($args->zend)) { + if ($sxe->xpath("/pecl:package/pecl:zendextsrcrelease")) { + foreach ($args->parse(1, ["--zend"]) as $error) { + $cmd->warn("%s\n", $error); + } + } + } $this->cmd = $cmd; $this->sxe = $sxe;