public static function getTestSecurePort() { if (getenv('PB_INTERFACE')) { $port = static::getTestPort(); } else { $port = getenv('RIAK_HTTPS_PORT') ? getenv('RIAK_HTTPS_PORT') : static::TEST_NODE_SECURE_PORT; } return $port; }