com web/rmtools: don't pass through exts without vendor: client/include/PickleExt.php

From: Date: Mon, 11 May 2015 08:38:40 +0000
Subject: com web/rmtools: don't pass through exts without vendor: client/include/PickleExt.php
Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-25984@lists.php.net to get a copy of this message
Commit: 9e34b0ec278b28055e164eb9afd2cd00da3f6ace Author: Anatol Belski <ab@php.net> Mon, 11 May 2015 10:38:40 +0200 Parents: ad1e69a7ed591ce01020f25b2642d9720229afc2 Branches: master pecl_legacy Link: http://git.php.net/?p=web/rmtools.git;a=commitdiff;h=9e34b0ec278b28055e164eb9afd2cd00da3f6ace Log: don't pass through exts without vendor Changed paths: M client/include/PickleExt.php Diff: diff --git a/client/include/PickleExt.php b/client/include/PickleExt.php index 684b7c4..1c1f894 100644 --- a/client/include/PickleExt.php +++ b/client/include/PickleExt.php @@ -313,8 +313,7 @@ if (!function_exists('rmtools\combinations')) { $this->name = $m[2]; $this->vendor = $m[1]; } else { - $this->name = $full_name; - $this->vendor = "novendor"; + throw new \Exception("Couldn't parse vendor from '$full_name'"); } } }

« previous php.webmaster (#25984) next »