Page MenuHomePhabricator (Chris)

No OneTemporary

Authored By
Unknown
Size
175 KB
Referenced Files
None
Subscribers
None
diff --git a/amqp-2.1.1/CREDITS b/amqp-2.1.2/CREDITS
similarity index 100%
rename from amqp-2.1.1/CREDITS
rename to amqp-2.1.2/CREDITS
diff --git a/amqp-2.1.1/LICENSE b/amqp-2.1.2/LICENSE
similarity index 100%
rename from amqp-2.1.1/LICENSE
rename to amqp-2.1.2/LICENSE
diff --git a/amqp-2.1.1/amqp.c b/amqp-2.1.2/amqp.c
similarity index 100%
rename from amqp-2.1.1/amqp.c
rename to amqp-2.1.2/amqp.c
diff --git a/amqp-2.1.1/amqp_basic_properties.c b/amqp-2.1.2/amqp_basic_properties.c
similarity index 91%
rename from amqp-2.1.1/amqp_basic_properties.c
rename to amqp-2.1.2/amqp_basic_properties.c
index 85cb77a..1edd696 100644
--- a/amqp-2.1.1/amqp_basic_properties.c
+++ b/amqp-2.1.2/amqp_basic_properties.c
@@ -1,904 +1,943 @@
/*
+----------------------------------------------------------------------+
| PHP Version 5 |
+----------------------------------------------------------------------+
| Copyright (c) 1997-2007 The PHP Group |
+----------------------------------------------------------------------+
| This source file is subject to version 3.01 of the PHP license, |
| that is bundled with this package in the file LICENSE, and is |
| available through the world-wide-web at the following url: |
| http://www.php.net/license/3_01.txt |
| If you did not receive a copy of the PHP license and are unable to |
| obtain it through the world-wide-web, please send a note to |
| license@php.net so we can mail you a copy immediately. |
+----------------------------------------------------------------------+
| Author: Alexandre Kalendarev akalend@mail.ru Copyright (c) 2009-2010 |
| Lead: |
| - Pieter de Zwart |
| Maintainers: |
| - Brad Rodriguez |
| - Jonathan Tansavatdi |
+----------------------------------------------------------------------+
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "php.h"
#include "zend_exceptions.h"
#include "Zend/zend_interfaces.h"
#if HAVE_LIBRABBITMQ_NEW_LAYOUT
#include <rabbitmq-c/amqp.h>
#include <rabbitmq-c/framing.h>
#else
#include <amqp.h>
#include <amqp_framing.h>
#endif
#ifdef PHP_WIN32
#include "win32/unistd.h"
#if PHP_VERSION_ID >= 80000
#include <stdint.h>
#else
#include "win32/php_stdint.h"
#endif
#include "win32/signal.h"
#else
#include <signal.h>
#include <stdint.h>
#include <unistd.h>
#endif
#if HAVE_INTTYPES_H
#include <inttypes.h>
#endif
#include "amqp_basic_properties.h"
#include "php_amqp.h"
#include "amqp_timestamp.h"
#include "amqp_decimal.h"
void php_amqp_basic_properties_table_to_zval_internal(amqp_table_t *table, zval *result, zend_ulong depth);
void php_amqp_basic_properties_array_to_zval_internal(amqp_array_t *array, zval *result, zend_ulong depth);
bool php_amqp_basic_properties_value_to_zval_internal(amqp_field_value_t *value, zval *result, zend_ulong depth);
zend_class_entry *amqp_basic_properties_class_entry;
#define this_ce amqp_basic_properties_class_entry
void php_amqp_basic_properties_to_zval(amqp_basic_properties_t *props, zval *obj)
{
object_init_ex(obj, this_ce);
php_amqp_basic_properties_extract(props, obj);
}
void php_amqp_basic_properties_set_empty_headers(zval *obj)
{
zval headers;
ZVAL_UNDEF(&headers);
array_init(&headers);
zend_update_property(this_ce, PHP_AMQP_COMPAT_OBJ_P(obj), ZEND_STRL("headers"), &headers);
zval_ptr_dtor(&headers);
}
/* {{{ proto AMQPBasicProperties::__construct() */
static PHP_METHOD(AMQPBasicProperties, __construct)
{
char *content_type = NULL;
size_t content_type_len = 0;
char *content_encoding = NULL;
size_t content_encoding_len = 0;
zval *headers = NULL;
zend_long delivery_mode = AMQP_DELIVERY_NONPERSISTENT;
zend_long priority = 0;
char *correlation_id = NULL;
size_t correlation_id_len = 0;
char *reply_to = NULL;
size_t reply_to_len = 0;
char *expiration = NULL;
size_t expiration_len = 0;
char *message_id = NULL;
size_t message_id_len = 0;
zend_long timestamp = 0;
+ bool timestamp_is_null = 1;
char *type = NULL;
size_t type_len = 0;
char *user_id = NULL;
size_t user_id_len = 0;
char *app_id = NULL;
size_t app_id_len = 0;
char *cluster_id = NULL;
size_t cluster_id_len = 0;
if (zend_parse_parameters(
ZEND_NUM_ARGS(),
- "|ssallsssslssss",
+ "|s!s!alls!s!s!s!l!s!s!s!s!",
/* s */ &content_type,
&content_type_len,
/* s */ &content_encoding,
&content_encoding_len,
/* a */ &headers,
/* l */ &delivery_mode,
/* l */ &priority,
/* s */ &correlation_id,
&correlation_id_len,
/* s */ &reply_to,
&reply_to_len,
/* s */ &expiration,
&expiration_len,
/* s */ &message_id,
&message_id_len,
/* l */ &timestamp,
+ &timestamp_is_null,
/* s */ &type,
&type_len,
/* s */ &user_id,
&user_id_len,
/* s */ &app_id,
&app_id_len,
/* s */ &cluster_id,
&cluster_id_len
) == FAILURE) {
RETURN_THROWS();
}
- zend_update_property_stringl(
- this_ce,
- PHP_AMQP_COMPAT_OBJ_P(getThis()),
- ZEND_STRL("contentType"),
- content_type,
- content_type_len
- );
- zend_update_property_stringl(
- this_ce,
- PHP_AMQP_COMPAT_OBJ_P(getThis()),
- ZEND_STRL("contentEncoding"),
- content_encoding,
- content_encoding_len
- );
+
+ if (content_type != NULL) {
+ zend_update_property_stringl(
+ this_ce,
+ PHP_AMQP_COMPAT_OBJ_P(getThis()),
+ ZEND_STRL("contentType"),
+ content_type,
+ content_type_len
+ );
+ }
+
+ if (content_encoding != NULL) {
+ zend_update_property_stringl(
+ this_ce,
+ PHP_AMQP_COMPAT_OBJ_P(getThis()),
+ ZEND_STRL("contentEncoding"),
+ content_encoding,
+ content_encoding_len
+ );
+ }
if (headers != NULL) {
zend_update_property(this_ce, PHP_AMQP_COMPAT_OBJ_P(getThis()), ZEND_STRL("headers"), headers);
} else {
php_amqp_basic_properties_set_empty_headers(getThis());
}
zend_update_property_long(this_ce, PHP_AMQP_COMPAT_OBJ_P(getThis()), ZEND_STRL("deliveryMode"), delivery_mode);
zend_update_property_long(this_ce, PHP_AMQP_COMPAT_OBJ_P(getThis()), ZEND_STRL("priority"), priority);
- zend_update_property_stringl(
- this_ce,
- PHP_AMQP_COMPAT_OBJ_P(getThis()),
- ZEND_STRL("correlationId"),
- correlation_id,
- correlation_id_len
- );
- zend_update_property_stringl(
- this_ce,
- PHP_AMQP_COMPAT_OBJ_P(getThis()),
- ZEND_STRL("replyTo"),
- reply_to,
- reply_to_len
- );
- zend_update_property_stringl(
- this_ce,
- PHP_AMQP_COMPAT_OBJ_P(getThis()),
- ZEND_STRL("expiration"),
- expiration,
- expiration_len
- );
- zend_update_property_stringl(
- this_ce,
- PHP_AMQP_COMPAT_OBJ_P(getThis()),
- ZEND_STRL("messageId"),
- message_id,
- message_id_len
- );
+ if (correlation_id != NULL) {
+ zend_update_property_stringl(
+ this_ce,
+ PHP_AMQP_COMPAT_OBJ_P(getThis()),
+ ZEND_STRL("correlationId"),
+ correlation_id,
+ correlation_id_len
+ );
+ }
- zend_update_property_long(this_ce, PHP_AMQP_COMPAT_OBJ_P(getThis()), ZEND_STRL("timestamp"), timestamp);
+ if (reply_to != NULL) {
+ zend_update_property_stringl(
+ this_ce,
+ PHP_AMQP_COMPAT_OBJ_P(getThis()),
+ ZEND_STRL("replyTo"),
+ reply_to,
+ reply_to_len
+ );
+ }
- zend_update_property_stringl(this_ce, PHP_AMQP_COMPAT_OBJ_P(getThis()), ZEND_STRL("type"), type, type_len);
- zend_update_property_stringl(this_ce, PHP_AMQP_COMPAT_OBJ_P(getThis()), ZEND_STRL("userId"), user_id, user_id_len);
- zend_update_property_stringl(this_ce, PHP_AMQP_COMPAT_OBJ_P(getThis()), ZEND_STRL("appId"), app_id, app_id_len);
- zend_update_property_stringl(
- this_ce,
- PHP_AMQP_COMPAT_OBJ_P(getThis()),
- ZEND_STRL("clusterId"),
- cluster_id,
- cluster_id_len
- );
+ if (expiration != NULL) {
+ zend_update_property_stringl(
+ this_ce,
+ PHP_AMQP_COMPAT_OBJ_P(getThis()),
+ ZEND_STRL("expiration"),
+ expiration,
+ expiration_len
+ );
+ }
+
+ if (message_id != NULL) {
+ zend_update_property_stringl(
+ this_ce,
+ PHP_AMQP_COMPAT_OBJ_P(getThis()),
+ ZEND_STRL("messageId"),
+ message_id,
+ message_id_len
+ );
+ }
+
+ if (!timestamp_is_null) {
+ zend_update_property_long(this_ce, PHP_AMQP_COMPAT_OBJ_P(getThis()), ZEND_STRL("timestamp"), timestamp);
+ }
+
+
+ if (type != NULL) {
+ zend_update_property_stringl(this_ce, PHP_AMQP_COMPAT_OBJ_P(getThis()), ZEND_STRL("type"), type, type_len);
+ }
+
+ if (user_id != NULL) {
+ zend_update_property_stringl(
+ this_ce,
+ PHP_AMQP_COMPAT_OBJ_P(getThis()),
+ ZEND_STRL("userId"),
+ user_id,
+ user_id_len
+ );
+ }
+
+ if (app_id != NULL) {
+ zend_update_property_stringl(this_ce, PHP_AMQP_COMPAT_OBJ_P(getThis()), ZEND_STRL("appId"), app_id, app_id_len);
+ }
+
+ if (cluster_id != NULL) {
+ zend_update_property_stringl(
+ this_ce,
+ PHP_AMQP_COMPAT_OBJ_P(getThis()),
+ ZEND_STRL("clusterId"),
+ cluster_id,
+ cluster_id_len
+ );
+ }
}
/* }}} */
/* {{{ proto AMQPBasicProperties::getContentType() */
static PHP_METHOD(AMQPBasicProperties, getContentType)
{
zval rv;
PHP_AMQP_NOPARAMS()
PHP_AMQP_RETURN_THIS_PROP("contentType");
}
/* }}} */
/* {{{ proto AMQPBasicProperties::getContentEncoding() */
static PHP_METHOD(AMQPBasicProperties, getContentEncoding)
{
zval rv;
PHP_AMQP_NOPARAMS()
PHP_AMQP_RETURN_THIS_PROP("contentEncoding");
}
/* }}} */
/* {{{ proto AMQPBasicProperties::getHeaders() */
static PHP_METHOD(AMQPBasicProperties, getHeaders)
{
zval rv;
PHP_AMQP_NOPARAMS()
PHP_AMQP_RETURN_THIS_PROP("headers");
}
/* }}} */
/* {{{ proto AMQPBasicProperties::getDeliveryMode() */
static PHP_METHOD(AMQPBasicProperties, getDeliveryMode)
{
zval rv;
PHP_AMQP_NOPARAMS()
PHP_AMQP_RETURN_THIS_PROP("deliveryMode");
}
/* }}} */
/* {{{ proto AMQPBasicProperties::getPriority() */
static PHP_METHOD(AMQPBasicProperties, getPriority)
{
zval rv;
PHP_AMQP_NOPARAMS()
PHP_AMQP_RETURN_THIS_PROP("priority");
}
/* }}} */
/* {{{ proto AMQPBasicProperties::getCorrelationId() */
static PHP_METHOD(AMQPBasicProperties, getCorrelationId)
{
zval rv;
PHP_AMQP_NOPARAMS()
PHP_AMQP_RETURN_THIS_PROP("correlationId");
}
/* }}} */
/* {{{ proto AMQPBasicProperties::getReplyTo() */
static PHP_METHOD(AMQPBasicProperties, getReplyTo)
{
zval rv;
PHP_AMQP_NOPARAMS()
PHP_AMQP_RETURN_THIS_PROP("replyTo");
}
/* }}} */
/* {{{ proto AMQPBasicProperties::getExpiration()
check amqp envelope */
static PHP_METHOD(AMQPBasicProperties, getExpiration)
{
zval rv;
PHP_AMQP_NOPARAMS()
PHP_AMQP_RETURN_THIS_PROP("expiration");
}
/* }}} */
/* {{{ proto AMQPBasicProperties::getMessageId() */
static PHP_METHOD(AMQPBasicProperties, getMessageId)
{
zval rv;
PHP_AMQP_NOPARAMS()
PHP_AMQP_RETURN_THIS_PROP("messageId");
}
/* }}} */
/* {{{ proto AMQPBasicProperties::getTimestamp() */
static PHP_METHOD(AMQPBasicProperties, getTimestamp)
{
zval rv;
PHP_AMQP_NOPARAMS()
PHP_AMQP_RETURN_THIS_PROP("timestamp");
}
/* }}} */
/* {{{ proto AMQPBasicProperties::getType() */
static PHP_METHOD(AMQPBasicProperties, getType)
{
zval rv;
PHP_AMQP_NOPARAMS()
PHP_AMQP_RETURN_THIS_PROP("type");
}
/* }}} */
/* {{{ proto AMQPBasicProperties::getUserId() */
static PHP_METHOD(AMQPBasicProperties, getUserId)
{
zval rv;
PHP_AMQP_NOPARAMS()
PHP_AMQP_RETURN_THIS_PROP("userId");
}
/* }}} */
/* {{{ proto AMQPBasicProperties::getAppId() */
static PHP_METHOD(AMQPBasicProperties, getAppId)
{
zval rv;
PHP_AMQP_NOPARAMS()
PHP_AMQP_RETURN_THIS_PROP("appId");
}
/* }}} */
/* {{{ proto AMQPBasicProperties::getClusterId() */
static PHP_METHOD(AMQPBasicProperties, getClusterId)
{
zval rv;
PHP_AMQP_NOPARAMS()
PHP_AMQP_RETURN_THIS_PROP("clusterId");
}
/* }}} */
ZEND_BEGIN_ARG_INFO_EX(arginfo_amqp_basic_properties_class__construct, ZEND_SEND_BY_VAL, ZEND_RETURN_VALUE, 0)
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, contentType, IS_STRING, 1, "null")
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, contentEncoding, IS_STRING, 1, "null")
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, headers, IS_ARRAY, 0, "[]")
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, deliveryMode, IS_LONG, 0, "AMQP_DELIVERY_MODE_TRANSIENT")
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, priority, IS_LONG, 0, "0")
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, correlationId, IS_STRING, 1, "null")
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, replyTo, IS_STRING, 1, "null")
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, expiration, IS_STRING, 1, "null")
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, messageId, IS_STRING, 1, "null")
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, timestamp, IS_LONG, 1, "null")
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, type, IS_STRING, 1, "null")
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, userId, IS_STRING, 1, "null")
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, appId, IS_STRING, 1, "null")
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, clusterId, IS_STRING, 1, "null")
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(
arginfo_amqp_basic_properties_class_getContentType,
ZEND_SEND_BY_VAL,
0,
IS_STRING,
1
)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(
arginfo_amqp_basic_properties_class_getContentEncoding,
ZEND_SEND_BY_VAL,
0,
IS_STRING,
1
)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(
arginfo_amqp_basic_properties_class_getHeaders,
ZEND_SEND_BY_VAL,
0,
IS_ARRAY,
0
)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(
arginfo_amqp_basic_properties_class_getDeliveryMode,
ZEND_SEND_BY_VAL,
0,
IS_LONG,
0
)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(
arginfo_amqp_basic_properties_class_getPriority,
ZEND_SEND_BY_VAL,
0,
IS_LONG,
0
)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(
arginfo_amqp_basic_properties_class_getCorrelationId,
ZEND_SEND_BY_VAL,
0,
IS_STRING,
1
)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(
arginfo_amqp_basic_properties_class_getReplyTo,
ZEND_SEND_BY_VAL,
0,
IS_STRING,
1
)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(
arginfo_amqp_basic_properties_class_getExpiration,
ZEND_SEND_BY_VAL,
0,
IS_STRING,
1
)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(
arginfo_amqp_basic_properties_class_getMessageId,
ZEND_SEND_BY_VAL,
0,
IS_STRING,
1
)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(
arginfo_amqp_basic_properties_class_getTimestamp,
ZEND_SEND_BY_VAL,
0,
IS_LONG,
1
)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_amqp_basic_properties_class_getType, ZEND_SEND_BY_VAL, 0, IS_STRING, 1)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(
arginfo_amqp_basic_properties_class_getUserId,
ZEND_SEND_BY_VAL,
0,
IS_STRING,
1
)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_amqp_basic_properties_class_getAppId, ZEND_SEND_BY_VAL, 0, IS_STRING, 1)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(
arginfo_amqp_basic_properties_class_getClusterId,
ZEND_SEND_BY_VAL,
0,
IS_STRING,
1
)
ZEND_END_ARG_INFO()
zend_function_entry amqp_basic_properties_class_functions[] = {
PHP_ME(AMQPBasicProperties, __construct, arginfo_amqp_basic_properties_class__construct, ZEND_ACC_PUBLIC | ZEND_ACC_CTOR)
PHP_ME(AMQPBasicProperties, getContentType, arginfo_amqp_basic_properties_class_getContentType, ZEND_ACC_PUBLIC)
PHP_ME(AMQPBasicProperties, getContentEncoding, arginfo_amqp_basic_properties_class_getContentEncoding, ZEND_ACC_PUBLIC)
PHP_ME(AMQPBasicProperties, getHeaders, arginfo_amqp_basic_properties_class_getHeaders, ZEND_ACC_PUBLIC)
PHP_ME(AMQPBasicProperties, getDeliveryMode, arginfo_amqp_basic_properties_class_getDeliveryMode, ZEND_ACC_PUBLIC)
PHP_ME(AMQPBasicProperties, getPriority, arginfo_amqp_basic_properties_class_getPriority, ZEND_ACC_PUBLIC)
PHP_ME(AMQPBasicProperties, getCorrelationId, arginfo_amqp_basic_properties_class_getCorrelationId, ZEND_ACC_PUBLIC)
PHP_ME(AMQPBasicProperties, getReplyTo, arginfo_amqp_basic_properties_class_getReplyTo, ZEND_ACC_PUBLIC)
PHP_ME(AMQPBasicProperties, getExpiration, arginfo_amqp_basic_properties_class_getExpiration, ZEND_ACC_PUBLIC)
PHP_ME(AMQPBasicProperties, getMessageId, arginfo_amqp_basic_properties_class_getMessageId, ZEND_ACC_PUBLIC)
PHP_ME(AMQPBasicProperties, getTimestamp, arginfo_amqp_basic_properties_class_getTimestamp, ZEND_ACC_PUBLIC)
PHP_ME(AMQPBasicProperties, getType, arginfo_amqp_basic_properties_class_getType, ZEND_ACC_PUBLIC)
PHP_ME(AMQPBasicProperties, getUserId, arginfo_amqp_basic_properties_class_getUserId, ZEND_ACC_PUBLIC)
PHP_ME(AMQPBasicProperties, getAppId, arginfo_amqp_basic_properties_class_getAppId, ZEND_ACC_PUBLIC)
PHP_ME(AMQPBasicProperties, getClusterId, arginfo_amqp_basic_properties_class_getClusterId, ZEND_ACC_PUBLIC)
{NULL, NULL, NULL}
};
#define PHP_AMQP_ZVAL_AMQP_DELIVERY_NONPERSISTENT(v) ZVAL_LONG(v, AMQP_DELIVERY_NONPERSISTENT)
PHP_MINIT_FUNCTION(amqp_basic_properties)
{
zend_class_entry ce;
INIT_CLASS_ENTRY(ce, "AMQPBasicProperties", amqp_basic_properties_class_functions);
this_ce = zend_register_internal_class(&ce);
PHP_AMQP_DECLARE_TYPED_PROPERTY(this_ce, "contentType", ZEND_ACC_PRIVATE, IS_STRING, 1);
PHP_AMQP_DECLARE_TYPED_PROPERTY(this_ce, "contentEncoding", ZEND_ACC_PRIVATE, IS_STRING, 1);
#if PHP_VERSION_ID >= 80000
PHP_AMQP_DECLARE_TYPED_PROPERTY_WITH_DEFAULT(this_ce, "headers", ZEND_ACC_PRIVATE, IS_ARRAY, 0, ZVAL_EMPTY_ARRAY);
#else
PHP_AMQP_DECLARE_TYPED_PROPERTY_WITH_DEFAULT(this_ce, "headers", ZEND_ACC_PRIVATE, IS_ARRAY, 0, ZVAL_NULL);
#endif
PHP_AMQP_DECLARE_TYPED_PROPERTY_WITH_DEFAULT(
this_ce,
"deliveryMode",
ZEND_ACC_PRIVATE,
IS_LONG,
0,
PHP_AMQP_ZVAL_AMQP_DELIVERY_NONPERSISTENT
);
zval default_priority;
ZVAL_LONG(&default_priority, 0);
PHP_AMQP_DECLARE_TYPED_PROPERTY_ZVAL(
this_ce,
"priority",
ZEND_ACC_PRIVATE,
PHP_AMQP_DECLARE_PROPERTY_TYPE(IS_LONG, 0),
default_priority
);
PHP_AMQP_DECLARE_TYPED_PROPERTY(this_ce, "correlationId", ZEND_ACC_PRIVATE, IS_STRING, 1);
PHP_AMQP_DECLARE_TYPED_PROPERTY(this_ce, "replyTo", ZEND_ACC_PRIVATE, IS_STRING, 1);
PHP_AMQP_DECLARE_TYPED_PROPERTY(this_ce, "expiration", ZEND_ACC_PRIVATE, IS_STRING, 1);
PHP_AMQP_DECLARE_TYPED_PROPERTY(this_ce, "messageId", ZEND_ACC_PRIVATE, IS_STRING, 1);
PHP_AMQP_DECLARE_TYPED_PROPERTY(this_ce, "timestamp", ZEND_ACC_PRIVATE, IS_LONG, 1);
PHP_AMQP_DECLARE_TYPED_PROPERTY(this_ce, "type", ZEND_ACC_PRIVATE, IS_STRING, 1);
PHP_AMQP_DECLARE_TYPED_PROPERTY(this_ce, "userId", ZEND_ACC_PRIVATE, IS_STRING, 1);
PHP_AMQP_DECLARE_TYPED_PROPERTY(this_ce, "appId", ZEND_ACC_PRIVATE, IS_STRING, 1);
PHP_AMQP_DECLARE_TYPED_PROPERTY(this_ce, "clusterId", ZEND_ACC_PRIVATE, IS_STRING, 1);
return SUCCESS;
}
bool php_amqp_basic_properties_value_to_zval_internal(amqp_field_value_t *value, zval *result, zend_ulong depth)
{
if (depth > PHP_AMQP_G(deserialization_depth)) {
zend_throw_exception_ex(
amqp_exception_class_entry,
0,
"Maximum deserialization depth limit of %ld reached while deserializing value",
PHP_AMQP_G(deserialization_depth)
);
return 0;
}
switch (value->kind) {
case AMQP_FIELD_KIND_BOOLEAN:
ZVAL_BOOL(result, value->value.boolean);
break;
case AMQP_FIELD_KIND_I8:
ZVAL_LONG(result, value->value.i8);
break;
case AMQP_FIELD_KIND_U8:
ZVAL_LONG(result, value->value.u8);
break;
case AMQP_FIELD_KIND_I16:
ZVAL_LONG(result, value->value.i16);
break;
case AMQP_FIELD_KIND_U16:
ZVAL_LONG(result, value->value.u16);
break;
case AMQP_FIELD_KIND_I32:
ZVAL_LONG(result, value->value.i32);
break;
case AMQP_FIELD_KIND_U32:
ZVAL_LONG(result, value->value.u32);
break;
case AMQP_FIELD_KIND_I64:
ZVAL_LONG(result, value->value.i64);
break;
case AMQP_FIELD_KIND_U64:
if (value->value.u64 > LONG_MAX) {
ZVAL_DOUBLE(result, value->value.u64);
} else {
ZVAL_LONG(result, value->value.u64);
}
break;
case AMQP_FIELD_KIND_F32:
ZVAL_DOUBLE(result, value->value.f32);
break;
case AMQP_FIELD_KIND_F64:
ZVAL_DOUBLE(result, value->value.f64);
break;
case AMQP_FIELD_KIND_UTF8:
case AMQP_FIELD_KIND_BYTES:
ZVAL_STRINGL(result, value->value.bytes.bytes, value->value.bytes.len);
break;
case AMQP_FIELD_KIND_VOID:
ZVAL_NULL(result);
break;
case AMQP_FIELD_KIND_ARRAY:
array_init(result);
php_amqp_basic_properties_array_to_zval_internal(&(value->value.array), result, depth);
break;
case AMQP_FIELD_KIND_TABLE:
array_init(result);
php_amqp_basic_properties_table_to_zval_internal(&(value->value.table), result, depth);
break;
case AMQP_FIELD_KIND_TIMESTAMP: {
zval timestamp;
ZVAL_UNDEF(&timestamp);
ZVAL_DOUBLE(&timestamp, value->value.u64);
object_init_ex(result, amqp_timestamp_class_entry);
zend_call_method_with_1_params(
PHP_AMQP_COMPAT_OBJ_P(result),
amqp_timestamp_class_entry,
NULL,
"__construct",
NULL,
&timestamp
);
break;
}
case AMQP_FIELD_KIND_DECIMAL: {
zval e;
zval n;
ZVAL_UNDEF(&e);
ZVAL_UNDEF(&n);
ZVAL_LONG(&e, value->value.decimal.decimals);
ZVAL_LONG(&n, value->value.decimal.value);
object_init_ex(result, amqp_decimal_class_entry);
zend_call_method_with_2_params(
PHP_AMQP_COMPAT_OBJ_P(result),
amqp_decimal_class_entry,
NULL,
"__construct",
NULL,
&e,
&n
);
zval_ptr_dtor(&e);
zval_ptr_dtor(&n);
break;
}
default:
return 0;
}
return 1;
}
void php_amqp_basic_properties_array_to_zval_internal(amqp_array_t *array, zval *result, zend_ulong depth)
{
assert(Z_TYPE_P(result) == IS_ARRAY);
int i;
for (i = 0; i < array->num_entries; ++i) {
zval result_nested;
ZVAL_UNDEF(&result_nested);
if (php_amqp_basic_properties_value_to_zval_internal(&(array->entries[i]), &result_nested, depth + 1)) {
add_next_index_zval(result, &result_nested);
} else if (!Z_ISUNDEF(result_nested)) {
zval_ptr_dtor(&result_nested);
}
}
}
void php_amqp_basic_properties_table_to_zval_internal(amqp_table_t *table, zval *result, zend_ulong depth)
{
int i;
zval result_nested;
assert(Z_TYPE_P(result) == IS_ARRAY);
for (i = 0; i < table->num_entries; ++i) {
amqp_table_entry_t *entry = &(table->entries[i]);
ZVAL_UNDEF(&result_nested);
if (php_amqp_basic_properties_value_to_zval_internal(&(entry->value), &result_nested, depth + 1)) {
char *key = estrndup(entry->key.bytes, (unsigned) entry->key.len);
add_assoc_zval(result, key, &result_nested);
efree(key);
} else if (!Z_ISUNDEF(result_nested)) {
zval_ptr_dtor(&result_nested);
}
}
}
void php_amqp_basic_properties_extract(amqp_basic_properties_t *props, zval *obj)
{
zval headers;
ZVAL_UNDEF(&headers);
array_init(&headers);
if (props->_flags & AMQP_BASIC_CONTENT_TYPE_FLAG) {
zend_update_property_stringl(
this_ce,
PHP_AMQP_COMPAT_OBJ_P(obj),
ZEND_STRL("contentType"),
(const char *) props->content_type.bytes,
(size_t) props->content_type.len
);
} else {
/* BC */
zend_update_property_null(this_ce, PHP_AMQP_COMPAT_OBJ_P(obj), ZEND_STRL("contentType"));
}
if (props->_flags & AMQP_BASIC_CONTENT_ENCODING_FLAG) {
zend_update_property_stringl(
this_ce,
PHP_AMQP_COMPAT_OBJ_P(obj),
ZEND_STRL("contentEncoding"),
(const char *) props->content_encoding.bytes,
(size_t) props->content_encoding.len
);
} else {
/* BC */
zend_update_property_null(this_ce, PHP_AMQP_COMPAT_OBJ_P(obj), ZEND_STRL("contentEncoding"));
}
if (props->_flags & AMQP_BASIC_HEADERS_FLAG) {
php_amqp_basic_properties_table_to_zval_internal(&(props->headers), &headers, 0);
}
zend_update_property(this_ce, PHP_AMQP_COMPAT_OBJ_P(obj), ZEND_STRL("headers"), &headers);
if (props->_flags & AMQP_BASIC_DELIVERY_MODE_FLAG) {
zend_update_property_long(
this_ce,
PHP_AMQP_COMPAT_OBJ_P(obj),
ZEND_STRL("deliveryMode"),
(zend_long) props->delivery_mode
);
} else {
/* BC */
zend_update_property_long(
this_ce,
PHP_AMQP_COMPAT_OBJ_P(obj),
ZEND_STRL("deliveryMode"),
AMQP_DELIVERY_NONPERSISTENT
);
}
if (props->_flags & AMQP_BASIC_PRIORITY_FLAG) {
zend_update_property_long(
this_ce,
PHP_AMQP_COMPAT_OBJ_P(obj),
ZEND_STRL("priority"),
(zend_long) props->priority
);
} else {
/* BC */
zend_update_property_long(this_ce, PHP_AMQP_COMPAT_OBJ_P(obj), ZEND_STRL("priority"), 0);
}
if (props->_flags & AMQP_BASIC_CORRELATION_ID_FLAG) {
zend_update_property_stringl(
this_ce,
PHP_AMQP_COMPAT_OBJ_P(obj),
ZEND_STRL("correlationId"),
(const char *) props->correlation_id.bytes,
(size_t) props->correlation_id.len
);
} else {
/* BC */
zend_update_property_null(this_ce, PHP_AMQP_COMPAT_OBJ_P(obj), ZEND_STRL("correlationId"));
}
if (props->_flags & AMQP_BASIC_REPLY_TO_FLAG) {
zend_update_property_stringl(
this_ce,
PHP_AMQP_COMPAT_OBJ_P(obj),
ZEND_STRL("replyTo"),
(const char *) props->reply_to.bytes,
(size_t) props->reply_to.len
);
} else {
/* BC */
zend_update_property_null(this_ce, PHP_AMQP_COMPAT_OBJ_P(obj), ZEND_STRL("replyTo"));
}
if (props->_flags & AMQP_BASIC_EXPIRATION_FLAG) {
zend_update_property_stringl(
this_ce,
PHP_AMQP_COMPAT_OBJ_P(obj),
ZEND_STRL("expiration"),
(const char *) props->expiration.bytes,
(size_t) props->expiration.len
);
} else {
/* BC */
zend_update_property_null(this_ce, PHP_AMQP_COMPAT_OBJ_P(obj), ZEND_STRL("expiration"));
}
if (props->_flags & AMQP_BASIC_MESSAGE_ID_FLAG) {
zend_update_property_stringl(
this_ce,
PHP_AMQP_COMPAT_OBJ_P(obj),
ZEND_STRL("messageId"),
(const char *) props->message_id.bytes,
(size_t) props->message_id.len
);
} else {
/* BC */
zend_update_property_null(this_ce, PHP_AMQP_COMPAT_OBJ_P(obj), ZEND_STRL("messageId"));
}
if (props->_flags & AMQP_BASIC_TIMESTAMP_FLAG) {
zend_update_property_long(
this_ce,
PHP_AMQP_COMPAT_OBJ_P(obj),
ZEND_STRL("timestamp"),
(zend_long) props->timestamp
);
} else {
/* BC */
zend_update_property_long(this_ce, PHP_AMQP_COMPAT_OBJ_P(obj), ZEND_STRL("timestamp"), 0);
}
if (props->_flags & AMQP_BASIC_TYPE_FLAG) {
zend_update_property_stringl(
this_ce,
PHP_AMQP_COMPAT_OBJ_P(obj),
ZEND_STRL("type"),
(const char *) props->type.bytes,
(size_t) props->type.len
);
} else {
/* BC */
zend_update_property_null(this_ce, PHP_AMQP_COMPAT_OBJ_P(obj), ZEND_STRL("type"));
}
if (props->_flags & AMQP_BASIC_USER_ID_FLAG) {
zend_update_property_stringl(
this_ce,
PHP_AMQP_COMPAT_OBJ_P(obj),
ZEND_STRL("userId"),
(const char *) props->user_id.bytes,
(size_t) props->user_id.len
);
} else {
/* BC */
zend_update_property_null(this_ce, PHP_AMQP_COMPAT_OBJ_P(obj), ZEND_STRL("userId"));
}
if (props->_flags & AMQP_BASIC_APP_ID_FLAG) {
zend_update_property_stringl(
this_ce,
PHP_AMQP_COMPAT_OBJ_P(obj),
ZEND_STRL("appId"),
(const char *) props->app_id.bytes,
(size_t) props->app_id.len
);
} else {
/* BC */
zend_update_property_null(this_ce, PHP_AMQP_COMPAT_OBJ_P(obj), ZEND_STRL("appId"));
}
zval_ptr_dtor(&headers);
}
diff --git a/amqp-2.1.1/amqp_basic_properties.h b/amqp-2.1.2/amqp_basic_properties.h
similarity index 100%
rename from amqp-2.1.1/amqp_basic_properties.h
rename to amqp-2.1.2/amqp_basic_properties.h
diff --git a/amqp-2.1.1/amqp_channel.c b/amqp-2.1.2/amqp_channel.c
similarity index 100%
rename from amqp-2.1.1/amqp_channel.c
rename to amqp-2.1.2/amqp_channel.c
diff --git a/amqp-2.1.1/amqp_channel.h b/amqp-2.1.2/amqp_channel.h
similarity index 100%
rename from amqp-2.1.1/amqp_channel.h
rename to amqp-2.1.2/amqp_channel.h
diff --git a/amqp-2.1.1/amqp_connection.c b/amqp-2.1.2/amqp_connection.c
similarity index 100%
rename from amqp-2.1.1/amqp_connection.c
rename to amqp-2.1.2/amqp_connection.c
diff --git a/amqp-2.1.1/amqp_connection.h b/amqp-2.1.2/amqp_connection.h
similarity index 100%
rename from amqp-2.1.1/amqp_connection.h
rename to amqp-2.1.2/amqp_connection.h
diff --git a/amqp-2.1.1/amqp_connection_resource.c b/amqp-2.1.2/amqp_connection_resource.c
similarity index 100%
rename from amqp-2.1.1/amqp_connection_resource.c
rename to amqp-2.1.2/amqp_connection_resource.c
diff --git a/amqp-2.1.1/amqp_connection_resource.h b/amqp-2.1.2/amqp_connection_resource.h
similarity index 100%
rename from amqp-2.1.1/amqp_connection_resource.h
rename to amqp-2.1.2/amqp_connection_resource.h
diff --git a/amqp-2.1.1/amqp_decimal.c b/amqp-2.1.2/amqp_decimal.c
similarity index 100%
rename from amqp-2.1.1/amqp_decimal.c
rename to amqp-2.1.2/amqp_decimal.c
diff --git a/amqp-2.1.1/amqp_decimal.h b/amqp-2.1.2/amqp_decimal.h
similarity index 100%
rename from amqp-2.1.1/amqp_decimal.h
rename to amqp-2.1.2/amqp_decimal.h
diff --git a/amqp-2.1.1/amqp_envelope.c b/amqp-2.1.2/amqp_envelope.c
similarity index 100%
rename from amqp-2.1.1/amqp_envelope.c
rename to amqp-2.1.2/amqp_envelope.c
diff --git a/amqp-2.1.1/amqp_envelope.h b/amqp-2.1.2/amqp_envelope.h
similarity index 100%
rename from amqp-2.1.1/amqp_envelope.h
rename to amqp-2.1.2/amqp_envelope.h
diff --git a/amqp-2.1.1/amqp_envelope_exception.c b/amqp-2.1.2/amqp_envelope_exception.c
similarity index 100%
rename from amqp-2.1.1/amqp_envelope_exception.c
rename to amqp-2.1.2/amqp_envelope_exception.c
diff --git a/amqp-2.1.1/amqp_envelope_exception.h b/amqp-2.1.2/amqp_envelope_exception.h
similarity index 100%
rename from amqp-2.1.1/amqp_envelope_exception.h
rename to amqp-2.1.2/amqp_envelope_exception.h
diff --git a/amqp-2.1.1/amqp_exchange.c b/amqp-2.1.2/amqp_exchange.c
similarity index 100%
rename from amqp-2.1.1/amqp_exchange.c
rename to amqp-2.1.2/amqp_exchange.c
diff --git a/amqp-2.1.1/amqp_exchange.h b/amqp-2.1.2/amqp_exchange.h
similarity index 100%
rename from amqp-2.1.1/amqp_exchange.h
rename to amqp-2.1.2/amqp_exchange.h
diff --git a/amqp-2.1.1/amqp_methods_handling.c b/amqp-2.1.2/amqp_methods_handling.c
similarity index 100%
rename from amqp-2.1.1/amqp_methods_handling.c
rename to amqp-2.1.2/amqp_methods_handling.c
diff --git a/amqp-2.1.1/amqp_methods_handling.h b/amqp-2.1.2/amqp_methods_handling.h
similarity index 100%
rename from amqp-2.1.1/amqp_methods_handling.h
rename to amqp-2.1.2/amqp_methods_handling.h
diff --git a/amqp-2.1.1/amqp_queue.c b/amqp-2.1.2/amqp_queue.c
similarity index 100%
rename from amqp-2.1.1/amqp_queue.c
rename to amqp-2.1.2/amqp_queue.c
diff --git a/amqp-2.1.1/amqp_queue.h b/amqp-2.1.2/amqp_queue.h
similarity index 100%
rename from amqp-2.1.1/amqp_queue.h
rename to amqp-2.1.2/amqp_queue.h
diff --git a/amqp-2.1.1/amqp_timestamp.c b/amqp-2.1.2/amqp_timestamp.c
similarity index 100%
rename from amqp-2.1.1/amqp_timestamp.c
rename to amqp-2.1.2/amqp_timestamp.c
diff --git a/amqp-2.1.1/amqp_timestamp.h b/amqp-2.1.2/amqp_timestamp.h
similarity index 100%
rename from amqp-2.1.1/amqp_timestamp.h
rename to amqp-2.1.2/amqp_timestamp.h
diff --git a/amqp-2.1.1/amqp_type.c b/amqp-2.1.2/amqp_type.c
similarity index 100%
rename from amqp-2.1.1/amqp_type.c
rename to amqp-2.1.2/amqp_type.c
diff --git a/amqp-2.1.1/amqp_type.h b/amqp-2.1.2/amqp_type.h
similarity index 100%
rename from amqp-2.1.1/amqp_type.h
rename to amqp-2.1.2/amqp_type.h
diff --git a/amqp-2.1.1/amqp_value.c b/amqp-2.1.2/amqp_value.c
similarity index 100%
rename from amqp-2.1.1/amqp_value.c
rename to amqp-2.1.2/amqp_value.c
diff --git a/amqp-2.1.1/amqp_value.h b/amqp-2.1.2/amqp_value.h
similarity index 100%
rename from amqp-2.1.1/amqp_value.h
rename to amqp-2.1.2/amqp_value.h
diff --git a/amqp-2.1.1/benchmark.php b/amqp-2.1.2/benchmark.php
similarity index 100%
rename from amqp-2.1.1/benchmark.php
rename to amqp-2.1.2/benchmark.php
diff --git a/amqp-2.1.1/config.m4 b/amqp-2.1.2/config.m4
similarity index 100%
rename from amqp-2.1.1/config.m4
rename to amqp-2.1.2/config.m4
diff --git a/amqp-2.1.1/config.w32 b/amqp-2.1.2/config.w32
similarity index 100%
rename from amqp-2.1.1/config.w32
rename to amqp-2.1.2/config.w32
diff --git a/amqp-2.1.1/php_amqp.h b/amqp-2.1.2/php_amqp.h
similarity index 100%
rename from amqp-2.1.1/php_amqp.h
rename to amqp-2.1.2/php_amqp.h
diff --git a/amqp-2.1.1/php_amqp_version.h b/amqp-2.1.2/php_amqp_version.h
similarity index 50%
rename from amqp-2.1.1/php_amqp_version.h
rename to amqp-2.1.2/php_amqp_version.h
index 1358f86..249d436 100644
--- a/amqp-2.1.1/php_amqp_version.h
+++ b/amqp-2.1.2/php_amqp_version.h
@@ -1,6 +1,6 @@
#define PHP_AMQP_VERSION_MAJOR 2
#define PHP_AMQP_VERSION_MINOR 1
-#define PHP_AMQP_VERSION_PATCH 1
+#define PHP_AMQP_VERSION_PATCH 2
#define PHP_AMQP_VERSION_EXTRA ""
-#define PHP_AMQP_VERSION "2.1.1"
-#define PHP_AMQP_VERSION_ID 20101
+#define PHP_AMQP_VERSION "2.1.2"
+#define PHP_AMQP_VERSION_ID 20102
diff --git a/amqp-2.1.1/stubs/AMQP.php b/amqp-2.1.2/stubs/AMQP.php
similarity index 100%
rename from amqp-2.1.1/stubs/AMQP.php
rename to amqp-2.1.2/stubs/AMQP.php
diff --git a/amqp-2.1.1/stubs/AMQPBasicProperties.php b/amqp-2.1.2/stubs/AMQPBasicProperties.php
similarity index 100%
rename from amqp-2.1.1/stubs/AMQPBasicProperties.php
rename to amqp-2.1.2/stubs/AMQPBasicProperties.php
diff --git a/amqp-2.1.1/stubs/AMQPChannel.php b/amqp-2.1.2/stubs/AMQPChannel.php
similarity index 100%
rename from amqp-2.1.1/stubs/AMQPChannel.php
rename to amqp-2.1.2/stubs/AMQPChannel.php
diff --git a/amqp-2.1.1/stubs/AMQPChannelException.php b/amqp-2.1.2/stubs/AMQPChannelException.php
similarity index 100%
rename from amqp-2.1.1/stubs/AMQPChannelException.php
rename to amqp-2.1.2/stubs/AMQPChannelException.php
diff --git a/amqp-2.1.1/stubs/AMQPConnection.php b/amqp-2.1.2/stubs/AMQPConnection.php
similarity index 100%
rename from amqp-2.1.1/stubs/AMQPConnection.php
rename to amqp-2.1.2/stubs/AMQPConnection.php
diff --git a/amqp-2.1.1/stubs/AMQPConnectionException.php b/amqp-2.1.2/stubs/AMQPConnectionException.php
similarity index 100%
rename from amqp-2.1.1/stubs/AMQPConnectionException.php
rename to amqp-2.1.2/stubs/AMQPConnectionException.php
diff --git a/amqp-2.1.1/stubs/AMQPDecimal.php b/amqp-2.1.2/stubs/AMQPDecimal.php
similarity index 100%
rename from amqp-2.1.1/stubs/AMQPDecimal.php
rename to amqp-2.1.2/stubs/AMQPDecimal.php
diff --git a/amqp-2.1.1/stubs/AMQPEnvelope.php b/amqp-2.1.2/stubs/AMQPEnvelope.php
similarity index 100%
rename from amqp-2.1.1/stubs/AMQPEnvelope.php
rename to amqp-2.1.2/stubs/AMQPEnvelope.php
diff --git a/amqp-2.1.1/stubs/AMQPEnvelopeException.php b/amqp-2.1.2/stubs/AMQPEnvelopeException.php
similarity index 100%
rename from amqp-2.1.1/stubs/AMQPEnvelopeException.php
rename to amqp-2.1.2/stubs/AMQPEnvelopeException.php
diff --git a/amqp-2.1.1/stubs/AMQPException.php b/amqp-2.1.2/stubs/AMQPException.php
similarity index 100%
rename from amqp-2.1.1/stubs/AMQPException.php
rename to amqp-2.1.2/stubs/AMQPException.php
diff --git a/amqp-2.1.1/stubs/AMQPExchange.php b/amqp-2.1.2/stubs/AMQPExchange.php
similarity index 100%
rename from amqp-2.1.1/stubs/AMQPExchange.php
rename to amqp-2.1.2/stubs/AMQPExchange.php
diff --git a/amqp-2.1.1/stubs/AMQPExchangeException.php b/amqp-2.1.2/stubs/AMQPExchangeException.php
similarity index 100%
rename from amqp-2.1.1/stubs/AMQPExchangeException.php
rename to amqp-2.1.2/stubs/AMQPExchangeException.php
diff --git a/amqp-2.1.1/stubs/AMQPQueue.php b/amqp-2.1.2/stubs/AMQPQueue.php
similarity index 100%
rename from amqp-2.1.1/stubs/AMQPQueue.php
rename to amqp-2.1.2/stubs/AMQPQueue.php
diff --git a/amqp-2.1.1/stubs/AMQPQueueException.php b/amqp-2.1.2/stubs/AMQPQueueException.php
similarity index 100%
rename from amqp-2.1.1/stubs/AMQPQueueException.php
rename to amqp-2.1.2/stubs/AMQPQueueException.php
diff --git a/amqp-2.1.1/stubs/AMQPTimestamp.php b/amqp-2.1.2/stubs/AMQPTimestamp.php
similarity index 100%
rename from amqp-2.1.1/stubs/AMQPTimestamp.php
rename to amqp-2.1.2/stubs/AMQPTimestamp.php
diff --git a/amqp-2.1.1/stubs/AMQPValue.php b/amqp-2.1.2/stubs/AMQPValue.php
similarity index 100%
rename from amqp-2.1.1/stubs/AMQPValue.php
rename to amqp-2.1.2/stubs/AMQPValue.php
diff --git a/amqp-2.1.1/stubs/AMQPValueException.php b/amqp-2.1.2/stubs/AMQPValueException.php
similarity index 100%
rename from amqp-2.1.1/stubs/AMQPValueException.php
rename to amqp-2.1.2/stubs/AMQPValueException.php
diff --git a/amqp-2.1.1/tests/003-channel-consumers.phpt b/amqp-2.1.2/tests/003-channel-consumers.phpt
similarity index 100%
rename from amqp-2.1.1/tests/003-channel-consumers.phpt
rename to amqp-2.1.2/tests/003-channel-consumers.phpt
diff --git a/amqp-2.1.1/tests/004-queue-consume-nested.phpt b/amqp-2.1.2/tests/004-queue-consume-nested.phpt
similarity index 100%
rename from amqp-2.1.1/tests/004-queue-consume-nested.phpt
rename to amqp-2.1.2/tests/004-queue-consume-nested.phpt
diff --git a/amqp-2.1.1/tests/004-queue-consume-orphaned.phpt b/amqp-2.1.2/tests/004-queue-consume-orphaned.phpt
similarity index 100%
rename from amqp-2.1.1/tests/004-queue-consume-orphaned.phpt
rename to amqp-2.1.2/tests/004-queue-consume-orphaned.phpt
diff --git a/amqp-2.1.1/tests/_test_helpers.php.inc b/amqp-2.1.2/tests/_test_helpers.php.inc
similarity index 100%
rename from amqp-2.1.1/tests/_test_helpers.php.inc
rename to amqp-2.1.2/tests/_test_helpers.php.inc
diff --git a/amqp-2.1.1/tests/amqp_version.phpt b/amqp-2.1.2/tests/amqp_version.phpt
similarity index 100%
rename from amqp-2.1.1/tests/amqp_version.phpt
rename to amqp-2.1.2/tests/amqp_version.phpt
diff --git a/amqp-2.1.1/tests/amqpbasicproperties.phpt b/amqp-2.1.2/tests/amqpbasicproperties.phpt
similarity index 90%
rename from amqp-2.1.1/tests/amqpbasicproperties.phpt
rename to amqp-2.1.2/tests/amqpbasicproperties.phpt
index ac9bc38..35d4c12 100644
--- a/amqp-2.1.1/tests/amqpbasicproperties.phpt
+++ b/amqp-2.1.2/tests/amqpbasicproperties.phpt
@@ -1,165 +1,165 @@
--TEST--
AMQPBasicProperties
--SKIPIF--
<?php
if (!extension_loaded("amqp")) print "skip AMQP extension is not loaded";
?>
--FILE--
<?php
require '_test_helpers.php.inc';
$props = new AMQPBasicProperties();
var_dump($props);
dump_methods($props);
echo PHP_EOL;
$props = new AMQPBasicProperties(
"content_type",
"content_encoding",
array('test' => 'headers'),
42,
24,
"correlation_id",
"reply_to",
"expiration",
"message_id",
99999,
"type",
"user_id",
"app_id",
"cluster_id"
);
var_dump($props);
dump_methods($props);
?>
--EXPECT--
object(AMQPBasicProperties)#1 (14) {
["contentType":"AMQPBasicProperties":private]=>
- string(0) ""
+ NULL
["contentEncoding":"AMQPBasicProperties":private]=>
- string(0) ""
+ NULL
["headers":"AMQPBasicProperties":private]=>
array(0) {
}
["deliveryMode":"AMQPBasicProperties":private]=>
int(1)
["priority":"AMQPBasicProperties":private]=>
int(0)
["correlationId":"AMQPBasicProperties":private]=>
- string(0) ""
+ NULL
["replyTo":"AMQPBasicProperties":private]=>
- string(0) ""
+ NULL
["expiration":"AMQPBasicProperties":private]=>
- string(0) ""
+ NULL
["messageId":"AMQPBasicProperties":private]=>
- string(0) ""
+ NULL
["timestamp":"AMQPBasicProperties":private]=>
- int(0)
+ NULL
["type":"AMQPBasicProperties":private]=>
- string(0) ""
+ NULL
["userId":"AMQPBasicProperties":private]=>
- string(0) ""
+ NULL
["appId":"AMQPBasicProperties":private]=>
- string(0) ""
+ NULL
["clusterId":"AMQPBasicProperties":private]=>
- string(0) ""
+ NULL
}
AMQPBasicProperties
getContentType():
- string(0) ""
+ NULL
getContentEncoding():
- string(0) ""
+ NULL
getHeaders():
array(0) {
}
getDeliveryMode():
int(1)
getPriority():
int(0)
getCorrelationId():
- string(0) ""
+ NULL
getReplyTo():
- string(0) ""
+ NULL
getExpiration():
- string(0) ""
+ NULL
getMessageId():
- string(0) ""
+ NULL
getTimestamp():
- int(0)
+ NULL
getType():
- string(0) ""
+ NULL
getUserId():
- string(0) ""
+ NULL
getAppId():
- string(0) ""
+ NULL
getClusterId():
- string(0) ""
+ NULL
object(AMQPBasicProperties)#2 (14) {
["contentType":"AMQPBasicProperties":private]=>
string(12) "content_type"
["contentEncoding":"AMQPBasicProperties":private]=>
string(16) "content_encoding"
["headers":"AMQPBasicProperties":private]=>
array(1) {
["test"]=>
string(7) "headers"
}
["deliveryMode":"AMQPBasicProperties":private]=>
int(42)
["priority":"AMQPBasicProperties":private]=>
int(24)
["correlationId":"AMQPBasicProperties":private]=>
string(14) "correlation_id"
["replyTo":"AMQPBasicProperties":private]=>
string(8) "reply_to"
["expiration":"AMQPBasicProperties":private]=>
string(10) "expiration"
["messageId":"AMQPBasicProperties":private]=>
string(10) "message_id"
["timestamp":"AMQPBasicProperties":private]=>
int(99999)
["type":"AMQPBasicProperties":private]=>
string(4) "type"
["userId":"AMQPBasicProperties":private]=>
string(7) "user_id"
["appId":"AMQPBasicProperties":private]=>
string(6) "app_id"
["clusterId":"AMQPBasicProperties":private]=>
string(10) "cluster_id"
}
AMQPBasicProperties
getContentType():
string(12) "content_type"
getContentEncoding():
string(16) "content_encoding"
getHeaders():
array(1) {
["test"]=>
string(7) "headers"
}
getDeliveryMode():
int(42)
getPriority():
int(24)
getCorrelationId():
string(14) "correlation_id"
getReplyTo():
string(8) "reply_to"
getExpiration():
string(10) "expiration"
getMessageId():
string(10) "message_id"
getTimestamp():
int(99999)
getType():
string(4) "type"
getUserId():
string(7) "user_id"
getAppId():
string(6) "app_id"
getClusterId():
string(10) "cluster_id"
diff --git a/amqp-2.1.2/tests/amqpbasicproperties_nullability.phpt b/amqp-2.1.2/tests/amqpbasicproperties_nullability.phpt
new file mode 100644
index 0000000..8a172ca
--- /dev/null
+++ b/amqp-2.1.2/tests/amqpbasicproperties_nullability.phpt
@@ -0,0 +1,97 @@
+--TEST--
+AMQPBasicProperties - explicit nullability
+--SKIPIF--
+<?php
+if (!extension_loaded("amqp")) print "skip AMQP extension is not loaded";
+?>
+--FILE--
+<?php
+require '_test_helpers.php.inc';
+
+$props = new AMQPBasicProperties(
+ null,
+ null,
+ array('test' => 'headers'),
+ 42,
+ 24,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null
+);
+var_dump($props);
+dump_methods($props);
+
+
+?>
+--EXPECT--
+object(AMQPBasicProperties)#1 (14) {
+ ["contentType":"AMQPBasicProperties":private]=>
+ NULL
+ ["contentEncoding":"AMQPBasicProperties":private]=>
+ NULL
+ ["headers":"AMQPBasicProperties":private]=>
+ array(1) {
+ ["test"]=>
+ string(7) "headers"
+ }
+ ["deliveryMode":"AMQPBasicProperties":private]=>
+ int(42)
+ ["priority":"AMQPBasicProperties":private]=>
+ int(24)
+ ["correlationId":"AMQPBasicProperties":private]=>
+ NULL
+ ["replyTo":"AMQPBasicProperties":private]=>
+ NULL
+ ["expiration":"AMQPBasicProperties":private]=>
+ NULL
+ ["messageId":"AMQPBasicProperties":private]=>
+ NULL
+ ["timestamp":"AMQPBasicProperties":private]=>
+ NULL
+ ["type":"AMQPBasicProperties":private]=>
+ NULL
+ ["userId":"AMQPBasicProperties":private]=>
+ NULL
+ ["appId":"AMQPBasicProperties":private]=>
+ NULL
+ ["clusterId":"AMQPBasicProperties":private]=>
+ NULL
+}
+AMQPBasicProperties
+ getContentType():
+ NULL
+ getContentEncoding():
+ NULL
+ getHeaders():
+ array(1) {
+ ["test"]=>
+ string(7) "headers"
+}
+ getDeliveryMode():
+ int(42)
+ getPriority():
+ int(24)
+ getCorrelationId():
+ NULL
+ getReplyTo():
+ NULL
+ getExpiration():
+ NULL
+ getMessageId():
+ NULL
+ getTimestamp():
+ NULL
+ getType():
+ NULL
+ getUserId():
+ NULL
+ getAppId():
+ NULL
+ getClusterId():
+ NULL
diff --git a/amqp-2.1.1/tests/amqpchannel_basicRecover.phpt b/amqp-2.1.2/tests/amqpchannel_basicRecover.phpt
similarity index 100%
rename from amqp-2.1.1/tests/amqpchannel_basicRecover.phpt
rename to amqp-2.1.2/tests/amqpchannel_basicRecover.phpt
diff --git a/amqp-2.1.1/tests/amqpchannel_close.phpt b/amqp-2.1.2/tests/amqpchannel_close.phpt
similarity index 100%
rename from amqp-2.1.1/tests/amqpchannel_close.phpt
rename to amqp-2.1.2/tests/amqpchannel_close.phpt
diff --git a/amqp-2.1.1/tests/amqpchannel_confirmSelect.phpt b/amqp-2.1.2/tests/amqpchannel_confirmSelect.phpt
similarity index 100%
rename from amqp-2.1.1/tests/amqpchannel_confirmSelect.phpt
rename to amqp-2.1.2/tests/amqpchannel_confirmSelect.phpt
diff --git a/amqp-2.1.1/tests/amqpchannel_construct_basic.phpt b/amqp-2.1.2/tests/amqpchannel_construct_basic.phpt
similarity index 100%
rename from amqp-2.1.1/tests/amqpchannel_construct_basic.phpt
rename to amqp-2.1.2/tests/amqpchannel_construct_basic.phpt
diff --git a/amqp-2.1.1/tests/amqpchannel_construct_ini_global_prefetch_count.phpt b/amqp-2.1.2/tests/amqpchannel_construct_ini_global_prefetch_count.phpt
similarity index 100%
rename from amqp-2.1.1/tests/amqpchannel_construct_ini_global_prefetch_count.phpt
rename to amqp-2.1.2/tests/amqpchannel_construct_ini_global_prefetch_count.phpt
diff --git a/amqp-2.1.1/tests/amqpchannel_construct_ini_global_prefetch_size.phpt b/amqp-2.1.2/tests/amqpchannel_construct_ini_global_prefetch_size.phpt
similarity index 100%
rename from amqp-2.1.1/tests/amqpchannel_construct_ini_global_prefetch_size.phpt
rename to amqp-2.1.2/tests/amqpchannel_construct_ini_global_prefetch_size.phpt
diff --git a/amqp-2.1.1/tests/amqpchannel_construct_ini_prefetch_count.phpt b/amqp-2.1.2/tests/amqpchannel_construct_ini_prefetch_count.phpt
similarity index 100%
rename from amqp-2.1.1/tests/amqpchannel_construct_ini_prefetch_count.phpt
rename to amqp-2.1.2/tests/amqpchannel_construct_ini_prefetch_count.phpt
diff --git a/amqp-2.1.1/tests/amqpchannel_construct_ini_prefetch_size.phpt b/amqp-2.1.2/tests/amqpchannel_construct_ini_prefetch_size.phpt
similarity index 100%
rename from amqp-2.1.1/tests/amqpchannel_construct_ini_prefetch_size.phpt
rename to amqp-2.1.2/tests/amqpchannel_construct_ini_prefetch_size.phpt
diff --git a/amqp-2.1.1/tests/amqpchannel_getChannelId.phpt b/amqp-2.1.2/tests/amqpchannel_getChannelId.phpt
similarity index 100%
rename from amqp-2.1.1/tests/amqpchannel_getChannelId.phpt
rename to amqp-2.1.2/tests/amqpchannel_getChannelId.phpt
diff --git a/amqp-2.1.1/tests/amqpchannel_get_connection.phpt b/amqp-2.1.2/tests/amqpchannel_get_connection.phpt
similarity index 100%
rename from amqp-2.1.1/tests/amqpchannel_get_connection.phpt
rename to amqp-2.1.2/tests/amqpchannel_get_connection.phpt
diff --git a/amqp-2.1.1/tests/amqpchannel_multi_channel_connection.phpt b/amqp-2.1.2/tests/amqpchannel_multi_channel_connection.phpt
similarity index 100%
rename from amqp-2.1.1/tests/amqpchannel_multi_channel_connection.phpt
rename to amqp-2.1.2/tests/amqpchannel_multi_channel_connection.phpt
diff --git a/amqp-2.1.1/tests/amqpchannel_set_global_prefetch_count.phpt b/amqp-2.1.2/tests/amqpchannel_set_global_prefetch_count.phpt
similarity index 100%
rename from amqp-2.1.1/tests/amqpchannel_set_global_prefetch_count.phpt
rename to amqp-2.1.2/tests/amqpchannel_set_global_prefetch_count.phpt
diff --git a/amqp-2.1.1/tests/amqpchannel_set_global_prefetch_size.phpt b/amqp-2.1.2/tests/amqpchannel_set_global_prefetch_size.phpt
similarity index 100%
rename from amqp-2.1.1/tests/amqpchannel_set_global_prefetch_size.phpt
rename to amqp-2.1.2/tests/amqpchannel_set_global_prefetch_size.phpt
diff --git a/amqp-2.1.1/tests/amqpchannel_set_prefetch_and_global_prefetch_count.phpt b/amqp-2.1.2/tests/amqpchannel_set_prefetch_and_global_prefetch_count.phpt
similarity index 100%
rename from amqp-2.1.1/tests/amqpchannel_set_prefetch_and_global_prefetch_count.phpt
rename to amqp-2.1.2/tests/amqpchannel_set_prefetch_and_global_prefetch_count.phpt
diff --git a/amqp-2.1.1/tests/amqpchannel_set_prefetch_and_global_prefetch_size.phpt b/amqp-2.1.2/tests/amqpchannel_set_prefetch_and_global_prefetch_size.phpt
similarity index 100%
rename from amqp-2.1.1/tests/amqpchannel_set_prefetch_and_global_prefetch_size.phpt
rename to amqp-2.1.2/tests/amqpchannel_set_prefetch_and_global_prefetch_size.phpt
diff --git a/amqp-2.1.1/tests/amqpchannel_set_prefetch_count.phpt b/amqp-2.1.2/tests/amqpchannel_set_prefetch_count.phpt
similarity index 100%
rename from amqp-2.1.1/tests/amqpchannel_set_prefetch_count.phpt
rename to amqp-2.1.2/tests/amqpchannel_set_prefetch_count.phpt
diff --git a/amqp-2.1.1/tests/amqpchannel_set_prefetch_size.phpt b/amqp-2.1.2/tests/amqpchannel_set_prefetch_size.phpt
similarity index 100%
rename from amqp-2.1.1/tests/amqpchannel_set_prefetch_size.phpt
rename to amqp-2.1.2/tests/amqpchannel_set_prefetch_size.phpt
diff --git a/amqp-2.1.1/tests/amqpchannel_slots_usage.phpt b/amqp-2.1.2/tests/amqpchannel_slots_usage.phpt
similarity index 100%
rename from amqp-2.1.1/tests/amqpchannel_slots_usage.phpt
rename to amqp-2.1.2/tests/amqpchannel_slots_usage.phpt
diff --git a/amqp-2.1.1/tests/amqpchannel_validation.phpt b/amqp-2.1.2/tests/amqpchannel_validation.phpt
similarity index 100%
rename from amqp-2.1.1/tests/amqpchannel_validation.phpt
rename to amqp-2.1.2/tests/amqpchannel_validation.phpt
diff --git a/amqp-2.1.1/tests/amqpchannel_var_dump.phpt b/amqp-2.1.2/tests/amqpchannel_var_dump.phpt
similarity index 100%
rename from amqp-2.1.1/tests/amqpchannel_var_dump.phpt
rename to amqp-2.1.2/tests/amqpchannel_var_dump.phpt
diff --git a/amqp-2.1.1/tests/amqpconnection_connect_login_failure.phpt b/amqp-2.1.2/tests/amqpconnection_connect_login_failure.phpt
similarity index 100%
rename from amqp-2.1.1/tests/amqpconnection_connect_login_failure.phpt
rename to amqp-2.1.2/tests/amqpconnection_connect_login_failure.phpt
diff --git a/amqp-2.1.1/tests/amqpconnection_connection_getters.phpt b/amqp-2.1.2/tests/amqpconnection_connection_getters.phpt
similarity index 100%
rename from amqp-2.1.1/tests/amqpconnection_connection_getters.phpt
rename to amqp-2.1.2/tests/amqpconnection_connection_getters.phpt
diff --git a/amqp-2.1.1/tests/amqpconnection_construct_basic.phpt b/amqp-2.1.2/tests/amqpconnection_construct_basic.phpt
similarity index 100%
rename from amqp-2.1.1/tests/amqpconnection_construct_basic.phpt
rename to amqp-2.1.2/tests/amqpconnection_construct_basic.phpt
diff --git a/amqp-2.1.1/tests/amqpconnection_construct_ini_read_timeout.phpt b/amqp-2.1.2/tests/amqpconnection_construct_ini_read_timeout.phpt
similarity index 100%
rename from amqp-2.1.1/tests/amqpconnection_construct_ini_read_timeout.phpt
rename to amqp-2.1.2/tests/amqpconnection_construct_ini_read_timeout.phpt
diff --git a/amqp-2.1.1/tests/amqpconnection_construct_ini_timeout.phpt b/amqp-2.1.2/tests/amqpconnection_construct_ini_timeout.phpt
similarity index 100%
rename from amqp-2.1.1/tests/amqpconnection_construct_ini_timeout.phpt
rename to amqp-2.1.2/tests/amqpconnection_construct_ini_timeout.phpt
diff --git a/amqp-2.1.1/tests/amqpconnection_construct_ini_timeout_and_read_timeout.phpt b/amqp-2.1.2/tests/amqpconnection_construct_ini_timeout_and_read_timeout.phpt
similarity index 100%
rename from amqp-2.1.1/tests/amqpconnection_construct_ini_timeout_and_read_timeout.phpt
rename to amqp-2.1.2/tests/amqpconnection_construct_ini_timeout_and_read_timeout.phpt
diff --git a/amqp-2.1.1/tests/amqpconnection_construct_ini_timeout_default.phpt b/amqp-2.1.2/tests/amqpconnection_construct_ini_timeout_default.phpt
similarity index 100%
rename from amqp-2.1.1/tests/amqpconnection_construct_ini_timeout_default.phpt
rename to amqp-2.1.2/tests/amqpconnection_construct_ini_timeout_default.phpt
diff --git a/amqp-2.1.1/tests/amqpconnection_construct_params_by_value.phpt b/amqp-2.1.2/tests/amqpconnection_construct_params_by_value.phpt
similarity index 100%
rename from amqp-2.1.1/tests/amqpconnection_construct_params_by_value.phpt
rename to amqp-2.1.2/tests/amqpconnection_construct_params_by_value.phpt
diff --git a/amqp-2.1.1/tests/amqpconnection_construct_with_connect_timeout.phpt b/amqp-2.1.2/tests/amqpconnection_construct_with_connect_timeout.phpt
similarity index 100%
rename from amqp-2.1.1/tests/amqpconnection_construct_with_connect_timeout.phpt
rename to amqp-2.1.2/tests/amqpconnection_construct_with_connect_timeout.phpt
diff --git a/amqp-2.1.1/tests/amqpconnection_construct_with_connection_name.phpt b/amqp-2.1.2/tests/amqpconnection_construct_with_connection_name.phpt
similarity index 100%
rename from amqp-2.1.1/tests/amqpconnection_construct_with_connection_name.phpt
rename to amqp-2.1.2/tests/amqpconnection_construct_with_connection_name.phpt
diff --git a/amqp-2.1.1/tests/amqpconnection_construct_with_limits.phpt b/amqp-2.1.2/tests/amqpconnection_construct_with_limits.phpt
similarity index 100%
rename from amqp-2.1.1/tests/amqpconnection_construct_with_limits.phpt
rename to amqp-2.1.2/tests/amqpconnection_construct_with_limits.phpt
diff --git a/amqp-2.1.1/tests/amqpconnection_construct_with_rpc_timeout.phpt b/amqp-2.1.2/tests/amqpconnection_construct_with_rpc_timeout.phpt
similarity index 100%
rename from amqp-2.1.1/tests/amqpconnection_construct_with_rpc_timeout.phpt
rename to amqp-2.1.2/tests/amqpconnection_construct_with_rpc_timeout.phpt
diff --git a/amqp-2.1.1/tests/amqpconnection_construct_with_timeout.phpt b/amqp-2.1.2/tests/amqpconnection_construct_with_timeout.phpt
similarity index 100%
rename from amqp-2.1.1/tests/amqpconnection_construct_with_timeout.phpt
rename to amqp-2.1.2/tests/amqpconnection_construct_with_timeout.phpt
diff --git a/amqp-2.1.1/tests/amqpconnection_construct_with_timeout_and_read_timeout.phpt b/amqp-2.1.2/tests/amqpconnection_construct_with_timeout_and_read_timeout.phpt
similarity index 100%
rename from amqp-2.1.1/tests/amqpconnection_construct_with_timeout_and_read_timeout.phpt
rename to amqp-2.1.2/tests/amqpconnection_construct_with_timeout_and_read_timeout.phpt
diff --git a/amqp-2.1.1/tests/amqpconnection_construct_with_verify_false.phpt b/amqp-2.1.2/tests/amqpconnection_construct_with_verify_false.phpt
similarity index 100%
rename from amqp-2.1.1/tests/amqpconnection_construct_with_verify_false.phpt
rename to amqp-2.1.2/tests/amqpconnection_construct_with_verify_false.phpt
diff --git a/amqp-2.1.1/tests/amqpconnection_construct_with_write_timeout.phpt b/amqp-2.1.2/tests/amqpconnection_construct_with_write_timeout.phpt
similarity index 100%
rename from amqp-2.1.1/tests/amqpconnection_construct_with_write_timeout.phpt
rename to amqp-2.1.2/tests/amqpconnection_construct_with_write_timeout.phpt
diff --git a/amqp-2.1.1/tests/amqpconnection_getUsedChannels.phpt b/amqp-2.1.2/tests/amqpconnection_getUsedChannels.phpt
similarity index 100%
rename from amqp-2.1.1/tests/amqpconnection_getUsedChannels.phpt
rename to amqp-2.1.2/tests/amqpconnection_getUsedChannels.phpt
diff --git a/amqp-2.1.1/tests/amqpconnection_heartbeat.phpt b/amqp-2.1.2/tests/amqpconnection_heartbeat.phpt
similarity index 100%
rename from amqp-2.1.1/tests/amqpconnection_heartbeat.phpt
rename to amqp-2.1.2/tests/amqpconnection_heartbeat.phpt
diff --git a/amqp-2.1.1/tests/amqpconnection_heartbeat_with_consumer.phpt b/amqp-2.1.2/tests/amqpconnection_heartbeat_with_consumer.phpt
similarity index 100%
rename from amqp-2.1.1/tests/amqpconnection_heartbeat_with_consumer.phpt
rename to amqp-2.1.2/tests/amqpconnection_heartbeat_with_consumer.phpt
diff --git a/amqp-2.1.1/tests/amqpconnection_heartbeat_with_persistent.phpt b/amqp-2.1.2/tests/amqpconnection_heartbeat_with_persistent.phpt
similarity index 100%
rename from amqp-2.1.1/tests/amqpconnection_heartbeat_with_persistent.phpt
rename to amqp-2.1.2/tests/amqpconnection_heartbeat_with_persistent.phpt
diff --git a/amqp-2.1.1/tests/amqpconnection_nullable_setters.phpt b/amqp-2.1.2/tests/amqpconnection_nullable_setters.phpt
similarity index 100%
rename from amqp-2.1.1/tests/amqpconnection_nullable_setters.phpt
rename to amqp-2.1.2/tests/amqpconnection_nullable_setters.phpt
diff --git a/amqp-2.1.1/tests/amqpconnection_persistent_construct_basic.phpt b/amqp-2.1.2/tests/amqpconnection_persistent_construct_basic.phpt
similarity index 100%
rename from amqp-2.1.1/tests/amqpconnection_persistent_construct_basic.phpt
rename to amqp-2.1.2/tests/amqpconnection_persistent_construct_basic.phpt
diff --git a/amqp-2.1.1/tests/amqpconnection_persistent_in_use.phpt b/amqp-2.1.2/tests/amqpconnection_persistent_in_use.phpt
similarity index 100%
rename from amqp-2.1.1/tests/amqpconnection_persistent_in_use.phpt
rename to amqp-2.1.2/tests/amqpconnection_persistent_in_use.phpt
diff --git a/amqp-2.1.1/tests/amqpconnection_persistent_reusable.phpt b/amqp-2.1.2/tests/amqpconnection_persistent_reusable.phpt
similarity index 100%
rename from amqp-2.1.1/tests/amqpconnection_persistent_reusable.phpt
rename to amqp-2.1.2/tests/amqpconnection_persistent_reusable.phpt
diff --git a/amqp-2.1.1/tests/amqpconnection_setConnectionName.phpt b/amqp-2.1.2/tests/amqpconnection_setConnectionName.phpt
similarity index 100%
rename from amqp-2.1.1/tests/amqpconnection_setConnectionName.phpt
rename to amqp-2.1.2/tests/amqpconnection_setConnectionName.phpt
diff --git a/amqp-2.1.1/tests/amqpconnection_setHost.phpt b/amqp-2.1.2/tests/amqpconnection_setHost.phpt
similarity index 100%
rename from amqp-2.1.1/tests/amqpconnection_setHost.phpt
rename to amqp-2.1.2/tests/amqpconnection_setHost.phpt
diff --git a/amqp-2.1.1/tests/amqpconnection_setLogin.phpt b/amqp-2.1.2/tests/amqpconnection_setLogin.phpt
similarity index 100%
rename from amqp-2.1.1/tests/amqpconnection_setLogin.phpt
rename to amqp-2.1.2/tests/amqpconnection_setLogin.phpt
diff --git a/amqp-2.1.1/tests/amqpconnection_setPassword.phpt b/amqp-2.1.2/tests/amqpconnection_setPassword.phpt
similarity index 100%
rename from amqp-2.1.1/tests/amqpconnection_setPassword.phpt
rename to amqp-2.1.2/tests/amqpconnection_setPassword.phpt
diff --git a/amqp-2.1.1/tests/amqpconnection_setPort_int.phpt b/amqp-2.1.2/tests/amqpconnection_setPort_int.phpt
similarity index 100%
rename from amqp-2.1.1/tests/amqpconnection_setPort_int.phpt
rename to amqp-2.1.2/tests/amqpconnection_setPort_int.phpt
diff --git a/amqp-2.1.1/tests/amqpconnection_setPort_out_of_range.phpt b/amqp-2.1.2/tests/amqpconnection_setPort_out_of_range.phpt
similarity index 100%
rename from amqp-2.1.1/tests/amqpconnection_setPort_out_of_range.phpt
rename to amqp-2.1.2/tests/amqpconnection_setPort_out_of_range.phpt
diff --git a/amqp-2.1.1/tests/amqpconnection_setPort_string.phpt b/amqp-2.1.2/tests/amqpconnection_setPort_string.phpt
similarity index 100%
rename from amqp-2.1.1/tests/amqpconnection_setPort_string.phpt
rename to amqp-2.1.2/tests/amqpconnection_setPort_string.phpt
diff --git a/amqp-2.1.1/tests/amqpconnection_setReadTimeout_float.phpt b/amqp-2.1.2/tests/amqpconnection_setReadTimeout_float.phpt
similarity index 100%
rename from amqp-2.1.1/tests/amqpconnection_setReadTimeout_float.phpt
rename to amqp-2.1.2/tests/amqpconnection_setReadTimeout_float.phpt
diff --git a/amqp-2.1.1/tests/amqpconnection_setReadTimeout_int.phpt b/amqp-2.1.2/tests/amqpconnection_setReadTimeout_int.phpt
similarity index 100%
rename from amqp-2.1.1/tests/amqpconnection_setReadTimeout_int.phpt
rename to amqp-2.1.2/tests/amqpconnection_setReadTimeout_int.phpt
diff --git a/amqp-2.1.1/tests/amqpconnection_setReadTimeout_out_of_range.phpt b/amqp-2.1.2/tests/amqpconnection_setReadTimeout_out_of_range.phpt
similarity index 100%
rename from amqp-2.1.1/tests/amqpconnection_setReadTimeout_out_of_range.phpt
rename to amqp-2.1.2/tests/amqpconnection_setReadTimeout_out_of_range.phpt
diff --git a/amqp-2.1.1/tests/amqpconnection_setReadTimeout_string.phpt b/amqp-2.1.2/tests/amqpconnection_setReadTimeout_string.phpt
similarity index 100%
rename from amqp-2.1.1/tests/amqpconnection_setReadTimeout_string.phpt
rename to amqp-2.1.2/tests/amqpconnection_setReadTimeout_string.phpt
diff --git a/amqp-2.1.1/tests/amqpconnection_setRpcTimeout_float.phpt b/amqp-2.1.2/tests/amqpconnection_setRpcTimeout_float.phpt
similarity index 100%
rename from amqp-2.1.1/tests/amqpconnection_setRpcTimeout_float.phpt
rename to amqp-2.1.2/tests/amqpconnection_setRpcTimeout_float.phpt
diff --git a/amqp-2.1.1/tests/amqpconnection_setRpcTimeout_int.phpt b/amqp-2.1.2/tests/amqpconnection_setRpcTimeout_int.phpt
similarity index 100%
rename from amqp-2.1.1/tests/amqpconnection_setRpcTimeout_int.phpt
rename to amqp-2.1.2/tests/amqpconnection_setRpcTimeout_int.phpt
diff --git a/amqp-2.1.1/tests/amqpconnection_setRpcTimeout_out_of_range.phpt b/amqp-2.1.2/tests/amqpconnection_setRpcTimeout_out_of_range.phpt
similarity index 100%
rename from amqp-2.1.1/tests/amqpconnection_setRpcTimeout_out_of_range.phpt
rename to amqp-2.1.2/tests/amqpconnection_setRpcTimeout_out_of_range.phpt
diff --git a/amqp-2.1.1/tests/amqpconnection_setRpcTimeout_string.phpt b/amqp-2.1.2/tests/amqpconnection_setRpcTimeout_string.phpt
similarity index 100%
rename from amqp-2.1.1/tests/amqpconnection_setRpcTimeout_string.phpt
rename to amqp-2.1.2/tests/amqpconnection_setRpcTimeout_string.phpt
diff --git a/amqp-2.1.1/tests/amqpconnection_setSaslMethod.phpt b/amqp-2.1.2/tests/amqpconnection_setSaslMethod.phpt
similarity index 100%
rename from amqp-2.1.1/tests/amqpconnection_setSaslMethod.phpt
rename to amqp-2.1.2/tests/amqpconnection_setSaslMethod.phpt
diff --git a/amqp-2.1.1/tests/amqpconnection_setSaslMethod_invalid.phpt b/amqp-2.1.2/tests/amqpconnection_setSaslMethod_invalid.phpt
similarity index 100%
rename from amqp-2.1.1/tests/amqpconnection_setSaslMethod_invalid.phpt
rename to amqp-2.1.2/tests/amqpconnection_setSaslMethod_invalid.phpt
diff --git a/amqp-2.1.1/tests/amqpconnection_setTimeout_deprecated.phpt b/amqp-2.1.2/tests/amqpconnection_setTimeout_deprecated.phpt
similarity index 100%
rename from amqp-2.1.1/tests/amqpconnection_setTimeout_deprecated.phpt
rename to amqp-2.1.2/tests/amqpconnection_setTimeout_deprecated.phpt
diff --git a/amqp-2.1.1/tests/amqpconnection_setTimeout_float.phpt b/amqp-2.1.2/tests/amqpconnection_setTimeout_float.phpt
similarity index 100%
rename from amqp-2.1.1/tests/amqpconnection_setTimeout_float.phpt
rename to amqp-2.1.2/tests/amqpconnection_setTimeout_float.phpt
diff --git a/amqp-2.1.1/tests/amqpconnection_setTimeout_int.phpt b/amqp-2.1.2/tests/amqpconnection_setTimeout_int.phpt
similarity index 100%
rename from amqp-2.1.1/tests/amqpconnection_setTimeout_int.phpt
rename to amqp-2.1.2/tests/amqpconnection_setTimeout_int.phpt
diff --git a/amqp-2.1.1/tests/amqpconnection_setTimeout_out_of_range.phpt b/amqp-2.1.2/tests/amqpconnection_setTimeout_out_of_range.phpt
similarity index 100%
rename from amqp-2.1.1/tests/amqpconnection_setTimeout_out_of_range.phpt
rename to amqp-2.1.2/tests/amqpconnection_setTimeout_out_of_range.phpt
diff --git a/amqp-2.1.1/tests/amqpconnection_setTimeout_string.phpt b/amqp-2.1.2/tests/amqpconnection_setTimeout_string.phpt
similarity index 100%
rename from amqp-2.1.1/tests/amqpconnection_setTimeout_string.phpt
rename to amqp-2.1.2/tests/amqpconnection_setTimeout_string.phpt
diff --git a/amqp-2.1.1/tests/amqpconnection_setVhost.phpt b/amqp-2.1.2/tests/amqpconnection_setVhost.phpt
similarity index 100%
rename from amqp-2.1.1/tests/amqpconnection_setVhost.phpt
rename to amqp-2.1.2/tests/amqpconnection_setVhost.phpt
diff --git a/amqp-2.1.1/tests/amqpconnection_setWriteTimeout_float.phpt b/amqp-2.1.2/tests/amqpconnection_setWriteTimeout_float.phpt
similarity index 100%
rename from amqp-2.1.1/tests/amqpconnection_setWriteTimeout_float.phpt
rename to amqp-2.1.2/tests/amqpconnection_setWriteTimeout_float.phpt
diff --git a/amqp-2.1.1/tests/amqpconnection_setWriteTimeout_int.phpt b/amqp-2.1.2/tests/amqpconnection_setWriteTimeout_int.phpt
similarity index 100%
rename from amqp-2.1.1/tests/amqpconnection_setWriteTimeout_int.phpt
rename to amqp-2.1.2/tests/amqpconnection_setWriteTimeout_int.phpt
diff --git a/amqp-2.1.1/tests/amqpconnection_setWriteTimeout_out_of_range.phpt b/amqp-2.1.2/tests/amqpconnection_setWriteTimeout_out_of_range.phpt
similarity index 100%
rename from amqp-2.1.1/tests/amqpconnection_setWriteTimeout_out_of_range.phpt
rename to amqp-2.1.2/tests/amqpconnection_setWriteTimeout_out_of_range.phpt
diff --git a/amqp-2.1.1/tests/amqpconnection_setWriteTimeout_string.phpt b/amqp-2.1.2/tests/amqpconnection_setWriteTimeout_string.phpt
similarity index 100%
rename from amqp-2.1.1/tests/amqpconnection_setWriteTimeout_string.phpt
rename to amqp-2.1.2/tests/amqpconnection_setWriteTimeout_string.phpt
diff --git a/amqp-2.1.1/tests/amqpconnection_tls_basic.phpt b/amqp-2.1.2/tests/amqpconnection_tls_basic.phpt
similarity index 100%
rename from amqp-2.1.1/tests/amqpconnection_tls_basic.phpt
rename to amqp-2.1.2/tests/amqpconnection_tls_basic.phpt
diff --git a/amqp-2.1.1/tests/amqpconnection_tls_mtls.phpt b/amqp-2.1.2/tests/amqpconnection_tls_mtls.phpt
similarity index 100%
rename from amqp-2.1.1/tests/amqpconnection_tls_mtls.phpt
rename to amqp-2.1.2/tests/amqpconnection_tls_mtls.phpt
diff --git a/amqp-2.1.1/tests/amqpconnection_tls_sasl.phpt b/amqp-2.1.2/tests/amqpconnection_tls_sasl.phpt
similarity index 100%
rename from amqp-2.1.1/tests/amqpconnection_tls_sasl.phpt
rename to amqp-2.1.2/tests/amqpconnection_tls_sasl.phpt
diff --git a/amqp-2.1.1/tests/amqpconnection_toomanychannels.phpt b/amqp-2.1.2/tests/amqpconnection_toomanychannels.phpt
similarity index 100%
rename from amqp-2.1.1/tests/amqpconnection_toomanychannels.phpt
rename to amqp-2.1.2/tests/amqpconnection_toomanychannels.phpt
diff --git a/amqp-2.1.1/tests/amqpconnection_validation.phpt b/amqp-2.1.2/tests/amqpconnection_validation.phpt
similarity index 100%
rename from amqp-2.1.1/tests/amqpconnection_validation.phpt
rename to amqp-2.1.2/tests/amqpconnection_validation.phpt
diff --git a/amqp-2.1.1/tests/amqpconnection_var_dump.phpt b/amqp-2.1.2/tests/amqpconnection_var_dump.phpt
similarity index 100%
rename from amqp-2.1.1/tests/amqpconnection_var_dump.phpt
rename to amqp-2.1.2/tests/amqpconnection_var_dump.phpt
diff --git a/amqp-2.1.1/tests/amqpdecimal.phpt b/amqp-2.1.2/tests/amqpdecimal.phpt
similarity index 100%
rename from amqp-2.1.1/tests/amqpdecimal.phpt
rename to amqp-2.1.2/tests/amqpdecimal.phpt
diff --git a/amqp-2.1.1/tests/amqpenvelope_construct.phpt b/amqp-2.1.2/tests/amqpenvelope_construct.phpt
similarity index 100%
rename from amqp-2.1.1/tests/amqpenvelope_construct.phpt
rename to amqp-2.1.2/tests/amqpenvelope_construct.phpt
diff --git a/amqp-2.1.1/tests/amqpenvelope_get_accessors.phpt b/amqp-2.1.2/tests/amqpenvelope_get_accessors.phpt
similarity index 100%
rename from amqp-2.1.1/tests/amqpenvelope_get_accessors.phpt
rename to amqp-2.1.2/tests/amqpenvelope_get_accessors.phpt
diff --git a/amqp-2.1.1/tests/amqpenvelope_var_dump.phpt b/amqp-2.1.2/tests/amqpenvelope_var_dump.phpt
similarity index 100%
rename from amqp-2.1.1/tests/amqpenvelope_var_dump.phpt
rename to amqp-2.1.2/tests/amqpenvelope_var_dump.phpt
diff --git a/amqp-2.1.1/tests/amqpexchange-declare-segfault.phpt b/amqp-2.1.2/tests/amqpexchange-declare-segfault.phpt
similarity index 100%
rename from amqp-2.1.1/tests/amqpexchange-declare-segfault.phpt
rename to amqp-2.1.2/tests/amqpexchange-declare-segfault.phpt
diff --git a/amqp-2.1.1/tests/amqpexchange_attributes.phpt b/amqp-2.1.2/tests/amqpexchange_attributes.phpt
similarity index 100%
rename from amqp-2.1.1/tests/amqpexchange_attributes.phpt
rename to amqp-2.1.2/tests/amqpexchange_attributes.phpt
diff --git a/amqp-2.1.1/tests/amqpexchange_bind.phpt b/amqp-2.1.2/tests/amqpexchange_bind.phpt
similarity index 100%
rename from amqp-2.1.1/tests/amqpexchange_bind.phpt
rename to amqp-2.1.2/tests/amqpexchange_bind.phpt
diff --git a/amqp-2.1.1/tests/amqpexchange_bind_with_arguments.phpt b/amqp-2.1.2/tests/amqpexchange_bind_with_arguments.phpt
similarity index 100%
rename from amqp-2.1.1/tests/amqpexchange_bind_with_arguments.phpt
rename to amqp-2.1.2/tests/amqpexchange_bind_with_arguments.phpt
diff --git a/amqp-2.1.1/tests/amqpexchange_bind_without_key.phpt b/amqp-2.1.2/tests/amqpexchange_bind_without_key.phpt
similarity index 100%
rename from amqp-2.1.1/tests/amqpexchange_bind_without_key.phpt
rename to amqp-2.1.2/tests/amqpexchange_bind_without_key.phpt
diff --git a/amqp-2.1.1/tests/amqpexchange_bind_without_key_with_arguments.phpt b/amqp-2.1.2/tests/amqpexchange_bind_without_key_with_arguments.phpt
similarity index 100%
rename from amqp-2.1.1/tests/amqpexchange_bind_without_key_with_arguments.phpt
rename to amqp-2.1.2/tests/amqpexchange_bind_without_key_with_arguments.phpt
diff --git a/amqp-2.1.1/tests/amqpexchange_channel_refcount.phpt b/amqp-2.1.2/tests/amqpexchange_channel_refcount.phpt
similarity index 100%
rename from amqp-2.1.1/tests/amqpexchange_channel_refcount.phpt
rename to amqp-2.1.2/tests/amqpexchange_channel_refcount.phpt
diff --git a/amqp-2.1.1/tests/amqpexchange_construct_basic.phpt b/amqp-2.1.2/tests/amqpexchange_construct_basic.phpt
similarity index 100%
rename from amqp-2.1.1/tests/amqpexchange_construct_basic.phpt
rename to amqp-2.1.2/tests/amqpexchange_construct_basic.phpt
diff --git a/amqp-2.1.1/tests/amqpexchange_declare_basic.phpt b/amqp-2.1.2/tests/amqpexchange_declare_basic.phpt
similarity index 100%
rename from amqp-2.1.1/tests/amqpexchange_declare_basic.phpt
rename to amqp-2.1.2/tests/amqpexchange_declare_basic.phpt
diff --git a/amqp-2.1.1/tests/amqpexchange_declare_existent.phpt b/amqp-2.1.2/tests/amqpexchange_declare_existent.phpt
similarity index 100%
rename from amqp-2.1.1/tests/amqpexchange_declare_existent.phpt
rename to amqp-2.1.2/tests/amqpexchange_declare_existent.phpt
diff --git a/amqp-2.1.1/tests/amqpexchange_declare_with_stalled_reference.phpt b/amqp-2.1.2/tests/amqpexchange_declare_with_stalled_reference.phpt
similarity index 100%
rename from amqp-2.1.1/tests/amqpexchange_declare_with_stalled_reference.phpt
rename to amqp-2.1.2/tests/amqpexchange_declare_with_stalled_reference.phpt
diff --git a/amqp-2.1.1/tests/amqpexchange_declare_without_name.phpt b/amqp-2.1.2/tests/amqpexchange_declare_without_name.phpt
similarity index 100%
rename from amqp-2.1.1/tests/amqpexchange_declare_without_name.phpt
rename to amqp-2.1.2/tests/amqpexchange_declare_without_name.phpt
diff --git a/amqp-2.1.1/tests/amqpexchange_declare_without_type.phpt b/amqp-2.1.2/tests/amqpexchange_declare_without_type.phpt
similarity index 100%
rename from amqp-2.1.1/tests/amqpexchange_declare_without_type.phpt
rename to amqp-2.1.2/tests/amqpexchange_declare_without_type.phpt
diff --git a/amqp-2.1.1/tests/amqpexchange_delete_default_exchange.phpt b/amqp-2.1.2/tests/amqpexchange_delete_default_exchange.phpt
similarity index 100%
rename from amqp-2.1.1/tests/amqpexchange_delete_default_exchange.phpt
rename to amqp-2.1.2/tests/amqpexchange_delete_default_exchange.phpt
diff --git a/amqp-2.1.1/tests/amqpexchange_delete_null_name.phpt b/amqp-2.1.2/tests/amqpexchange_delete_null_name.phpt
similarity index 100%
rename from amqp-2.1.1/tests/amqpexchange_delete_null_name.phpt
rename to amqp-2.1.2/tests/amqpexchange_delete_null_name.phpt
diff --git a/amqp-2.1.1/tests/amqpexchange_get_channel.phpt b/amqp-2.1.2/tests/amqpexchange_get_channel.phpt
similarity index 100%
rename from amqp-2.1.1/tests/amqpexchange_get_channel.phpt
rename to amqp-2.1.2/tests/amqpexchange_get_channel.phpt
diff --git a/amqp-2.1.1/tests/amqpexchange_get_connection.phpt b/amqp-2.1.2/tests/amqpexchange_get_connection.phpt
similarity index 100%
rename from amqp-2.1.1/tests/amqpexchange_get_connection.phpt
rename to amqp-2.1.2/tests/amqpexchange_get_connection.phpt
diff --git a/amqp-2.1.1/tests/amqpexchange_invalid_type.phpt b/amqp-2.1.2/tests/amqpexchange_invalid_type.phpt
similarity index 100%
rename from amqp-2.1.1/tests/amqpexchange_invalid_type.phpt
rename to amqp-2.1.2/tests/amqpexchange_invalid_type.phpt
diff --git a/amqp-2.1.1/tests/amqpexchange_name.phpt b/amqp-2.1.2/tests/amqpexchange_name.phpt
similarity index 100%
rename from amqp-2.1.1/tests/amqpexchange_name.phpt
rename to amqp-2.1.2/tests/amqpexchange_name.phpt
diff --git a/amqp-2.1.1/tests/amqpexchange_publish_basic.phpt b/amqp-2.1.2/tests/amqpexchange_publish_basic.phpt
similarity index 100%
rename from amqp-2.1.1/tests/amqpexchange_publish_basic.phpt
rename to amqp-2.1.2/tests/amqpexchange_publish_basic.phpt
diff --git a/amqp-2.1.1/tests/amqpexchange_publish_confirms.phpt b/amqp-2.1.2/tests/amqpexchange_publish_confirms.phpt
similarity index 100%
rename from amqp-2.1.1/tests/amqpexchange_publish_confirms.phpt
rename to amqp-2.1.2/tests/amqpexchange_publish_confirms.phpt
diff --git a/amqp-2.1.1/tests/amqpexchange_publish_confirms_consume.phpt b/amqp-2.1.2/tests/amqpexchange_publish_confirms_consume.phpt
similarity index 100%
rename from amqp-2.1.1/tests/amqpexchange_publish_confirms_consume.phpt
rename to amqp-2.1.2/tests/amqpexchange_publish_confirms_consume.phpt
diff --git a/amqp-2.1.1/tests/amqpexchange_publish_empty_routing_key.phpt b/amqp-2.1.2/tests/amqpexchange_publish_empty_routing_key.phpt
similarity index 100%
rename from amqp-2.1.1/tests/amqpexchange_publish_empty_routing_key.phpt
rename to amqp-2.1.2/tests/amqpexchange_publish_empty_routing_key.phpt
diff --git a/amqp-2.1.1/tests/amqpexchange_publish_mandatory.phpt b/amqp-2.1.2/tests/amqpexchange_publish_mandatory.phpt
similarity index 100%
rename from amqp-2.1.1/tests/amqpexchange_publish_mandatory.phpt
rename to amqp-2.1.2/tests/amqpexchange_publish_mandatory.phpt
diff --git a/amqp-2.1.1/tests/amqpexchange_publish_mandatory_consume.phpt b/amqp-2.1.2/tests/amqpexchange_publish_mandatory_consume.phpt
similarity index 100%
rename from amqp-2.1.1/tests/amqpexchange_publish_mandatory_consume.phpt
rename to amqp-2.1.2/tests/amqpexchange_publish_mandatory_consume.phpt
diff --git a/amqp-2.1.1/tests/amqpexchange_publish_mandatory_multiple_channels_pitfall.phpt b/amqp-2.1.2/tests/amqpexchange_publish_mandatory_multiple_channels_pitfall.phpt
similarity index 100%
rename from amqp-2.1.1/tests/amqpexchange_publish_mandatory_multiple_channels_pitfall.phpt
rename to amqp-2.1.2/tests/amqpexchange_publish_mandatory_multiple_channels_pitfall.phpt
diff --git a/amqp-2.1.1/tests/amqpexchange_publish_null_routing_key.phpt b/amqp-2.1.2/tests/amqpexchange_publish_null_routing_key.phpt
similarity index 100%
rename from amqp-2.1.1/tests/amqpexchange_publish_null_routing_key.phpt
rename to amqp-2.1.2/tests/amqpexchange_publish_null_routing_key.phpt
diff --git a/amqp-2.1.1/tests/amqpexchange_publish_with_decimal_header.phpt b/amqp-2.1.2/tests/amqpexchange_publish_with_decimal_header.phpt
similarity index 100%
rename from amqp-2.1.1/tests/amqpexchange_publish_with_decimal_header.phpt
rename to amqp-2.1.2/tests/amqpexchange_publish_with_decimal_header.phpt
diff --git a/amqp-2.1.1/tests/amqpexchange_publish_with_null.phpt b/amqp-2.1.2/tests/amqpexchange_publish_with_null.phpt
similarity index 100%
rename from amqp-2.1.1/tests/amqpexchange_publish_with_null.phpt
rename to amqp-2.1.2/tests/amqpexchange_publish_with_null.phpt
diff --git a/amqp-2.1.1/tests/amqpexchange_publish_with_properties.phpt b/amqp-2.1.2/tests/amqpexchange_publish_with_properties.phpt
similarity index 100%
rename from amqp-2.1.1/tests/amqpexchange_publish_with_properties.phpt
rename to amqp-2.1.2/tests/amqpexchange_publish_with_properties.phpt
diff --git a/amqp-2.1.1/tests/amqpexchange_publish_with_properties_ignore_num_header.phpt b/amqp-2.1.2/tests/amqpexchange_publish_with_properties_ignore_num_header.phpt
similarity index 100%
rename from amqp-2.1.1/tests/amqpexchange_publish_with_properties_ignore_num_header.phpt
rename to amqp-2.1.2/tests/amqpexchange_publish_with_properties_ignore_num_header.phpt
diff --git a/amqp-2.1.1/tests/amqpexchange_publish_with_properties_ignore_unsupported_header_values.phpt b/amqp-2.1.2/tests/amqpexchange_publish_with_properties_ignore_unsupported_header_values.phpt
similarity index 100%
rename from amqp-2.1.1/tests/amqpexchange_publish_with_properties_ignore_unsupported_header_values.phpt
rename to amqp-2.1.2/tests/amqpexchange_publish_with_properties_ignore_unsupported_header_values.phpt
diff --git a/amqp-2.1.1/tests/amqpexchange_publish_with_properties_nested_header.phpt b/amqp-2.1.2/tests/amqpexchange_publish_with_properties_nested_header.phpt
similarity index 100%
rename from amqp-2.1.1/tests/amqpexchange_publish_with_properties_nested_header.phpt
rename to amqp-2.1.2/tests/amqpexchange_publish_with_properties_nested_header.phpt
diff --git a/amqp-2.1.1/tests/amqpexchange_publish_with_properties_user_id_failure.phpt b/amqp-2.1.2/tests/amqpexchange_publish_with_properties_user_id_failure.phpt
similarity index 100%
rename from amqp-2.1.1/tests/amqpexchange_publish_with_properties_user_id_failure.phpt
rename to amqp-2.1.2/tests/amqpexchange_publish_with_properties_user_id_failure.phpt
diff --git a/amqp-2.1.1/tests/amqpexchange_publish_with_timestamp_header.phpt b/amqp-2.1.2/tests/amqpexchange_publish_with_timestamp_header.phpt
similarity index 100%
rename from amqp-2.1.1/tests/amqpexchange_publish_with_timestamp_header.phpt
rename to amqp-2.1.2/tests/amqpexchange_publish_with_timestamp_header.phpt
diff --git a/amqp-2.1.1/tests/amqpexchange_publish_xdeath.phpt b/amqp-2.1.2/tests/amqpexchange_publish_xdeath.phpt
similarity index 100%
rename from amqp-2.1.1/tests/amqpexchange_publish_xdeath.phpt
rename to amqp-2.1.2/tests/amqpexchange_publish_xdeath.phpt
diff --git a/amqp-2.1.1/tests/amqpexchange_setArgument.phpt b/amqp-2.1.2/tests/amqpexchange_setArgument.phpt
similarity index 100%
rename from amqp-2.1.1/tests/amqpexchange_setArgument.phpt
rename to amqp-2.1.2/tests/amqpexchange_setArgument.phpt
diff --git a/amqp-2.1.1/tests/amqpexchange_set_flag.phpt b/amqp-2.1.2/tests/amqpexchange_set_flag.phpt
similarity index 100%
rename from amqp-2.1.1/tests/amqpexchange_set_flag.phpt
rename to amqp-2.1.2/tests/amqpexchange_set_flag.phpt
diff --git a/amqp-2.1.1/tests/amqpexchange_set_flags.phpt b/amqp-2.1.2/tests/amqpexchange_set_flags.phpt
similarity index 100%
rename from amqp-2.1.1/tests/amqpexchange_set_flags.phpt
rename to amqp-2.1.2/tests/amqpexchange_set_flags.phpt
diff --git a/amqp-2.1.1/tests/amqpexchange_type.phpt b/amqp-2.1.2/tests/amqpexchange_type.phpt
similarity index 100%
rename from amqp-2.1.1/tests/amqpexchange_type.phpt
rename to amqp-2.1.2/tests/amqpexchange_type.phpt
diff --git a/amqp-2.1.1/tests/amqpexchange_unbind.phpt b/amqp-2.1.2/tests/amqpexchange_unbind.phpt
similarity index 100%
rename from amqp-2.1.1/tests/amqpexchange_unbind.phpt
rename to amqp-2.1.2/tests/amqpexchange_unbind.phpt
diff --git a/amqp-2.1.1/tests/amqpexchange_unbind_with_arguments.phpt b/amqp-2.1.2/tests/amqpexchange_unbind_with_arguments.phpt
similarity index 100%
rename from amqp-2.1.1/tests/amqpexchange_unbind_with_arguments.phpt
rename to amqp-2.1.2/tests/amqpexchange_unbind_with_arguments.phpt
diff --git a/amqp-2.1.1/tests/amqpexchange_unbind_without_key.phpt b/amqp-2.1.2/tests/amqpexchange_unbind_without_key.phpt
similarity index 100%
rename from amqp-2.1.1/tests/amqpexchange_unbind_without_key.phpt
rename to amqp-2.1.2/tests/amqpexchange_unbind_without_key.phpt
diff --git a/amqp-2.1.1/tests/amqpexchange_unbind_without_key_with_arguments.phpt b/amqp-2.1.2/tests/amqpexchange_unbind_without_key_with_arguments.phpt
similarity index 100%
rename from amqp-2.1.1/tests/amqpexchange_unbind_without_key_with_arguments.phpt
rename to amqp-2.1.2/tests/amqpexchange_unbind_without_key_with_arguments.phpt
diff --git a/amqp-2.1.1/tests/amqpexchange_var_dump.phpt b/amqp-2.1.2/tests/amqpexchange_var_dump.phpt
similarity index 100%
rename from amqp-2.1.1/tests/amqpexchange_var_dump.phpt
rename to amqp-2.1.2/tests/amqpexchange_var_dump.phpt
diff --git a/amqp-2.1.1/tests/amqpqueue-cancel-no-consumers.phpt b/amqp-2.1.2/tests/amqpqueue-cancel-no-consumers.phpt
similarity index 100%
rename from amqp-2.1.1/tests/amqpqueue-cancel-no-consumers.phpt
rename to amqp-2.1.2/tests/amqpqueue-cancel-no-consumers.phpt
diff --git a/amqp-2.1.1/tests/amqpqueue_attributes.phpt b/amqp-2.1.2/tests/amqpqueue_attributes.phpt
similarity index 100%
rename from amqp-2.1.1/tests/amqpqueue_attributes.phpt
rename to amqp-2.1.2/tests/amqpqueue_attributes.phpt
diff --git a/amqp-2.1.1/tests/amqpqueue_bind_basic.phpt b/amqp-2.1.2/tests/amqpqueue_bind_basic.phpt
similarity index 100%
rename from amqp-2.1.1/tests/amqpqueue_bind_basic.phpt
rename to amqp-2.1.2/tests/amqpqueue_bind_basic.phpt
diff --git a/amqp-2.1.1/tests/amqpqueue_bind_basic_empty_routing_key.phpt b/amqp-2.1.2/tests/amqpqueue_bind_basic_empty_routing_key.phpt
similarity index 100%
rename from amqp-2.1.1/tests/amqpqueue_bind_basic_empty_routing_key.phpt
rename to amqp-2.1.2/tests/amqpqueue_bind_basic_empty_routing_key.phpt
diff --git a/amqp-2.1.1/tests/amqpqueue_bind_basic_headers_arguments.phpt b/amqp-2.1.2/tests/amqpqueue_bind_basic_headers_arguments.phpt
similarity index 100%
rename from amqp-2.1.1/tests/amqpqueue_bind_basic_headers_arguments.phpt
rename to amqp-2.1.2/tests/amqpqueue_bind_basic_headers_arguments.phpt
diff --git a/amqp-2.1.1/tests/amqpqueue_bind_null_routing_key.phpt b/amqp-2.1.2/tests/amqpqueue_bind_null_routing_key.phpt
similarity index 100%
rename from amqp-2.1.1/tests/amqpqueue_bind_null_routing_key.phpt
rename to amqp-2.1.2/tests/amqpqueue_bind_null_routing_key.phpt
diff --git a/amqp-2.1.1/tests/amqpqueue_cancel.phpt b/amqp-2.1.2/tests/amqpqueue_cancel.phpt
similarity index 100%
rename from amqp-2.1.1/tests/amqpqueue_cancel.phpt
rename to amqp-2.1.2/tests/amqpqueue_cancel.phpt
diff --git a/amqp-2.1.1/tests/amqpqueue_construct_basic.phpt b/amqp-2.1.2/tests/amqpqueue_construct_basic.phpt
similarity index 100%
rename from amqp-2.1.1/tests/amqpqueue_construct_basic.phpt
rename to amqp-2.1.2/tests/amqpqueue_construct_basic.phpt
diff --git a/amqp-2.1.1/tests/amqpqueue_consume_basic.phpt b/amqp-2.1.2/tests/amqpqueue_consume_basic.phpt
similarity index 100%
rename from amqp-2.1.1/tests/amqpqueue_consume_basic.phpt
rename to amqp-2.1.2/tests/amqpqueue_consume_basic.phpt
diff --git a/amqp-2.1.1/tests/amqpqueue_consume_multiple.phpt b/amqp-2.1.2/tests/amqpqueue_consume_multiple.phpt
similarity index 100%
rename from amqp-2.1.1/tests/amqpqueue_consume_multiple.phpt
rename to amqp-2.1.2/tests/amqpqueue_consume_multiple.phpt
diff --git a/amqp-2.1.1/tests/amqpqueue_consume_multiple_no_doubles.phpt b/amqp-2.1.2/tests/amqpqueue_consume_multiple_no_doubles.phpt
similarity index 100%
rename from amqp-2.1.1/tests/amqpqueue_consume_multiple_no_doubles.phpt
rename to amqp-2.1.2/tests/amqpqueue_consume_multiple_no_doubles.phpt
diff --git a/amqp-2.1.1/tests/amqpqueue_consume_nonexistent.phpt b/amqp-2.1.2/tests/amqpqueue_consume_nonexistent.phpt
similarity index 100%
rename from amqp-2.1.1/tests/amqpqueue_consume_nonexistent.phpt
rename to amqp-2.1.2/tests/amqpqueue_consume_nonexistent.phpt
diff --git a/amqp-2.1.1/tests/amqpqueue_consume_null_consumer_key.phpt b/amqp-2.1.2/tests/amqpqueue_consume_null_consumer_key.phpt
similarity index 100%
rename from amqp-2.1.1/tests/amqpqueue_consume_null_consumer_key.phpt
rename to amqp-2.1.2/tests/amqpqueue_consume_null_consumer_key.phpt
diff --git a/amqp-2.1.1/tests/amqpqueue_consume_timeout.phpt b/amqp-2.1.2/tests/amqpqueue_consume_timeout.phpt
similarity index 100%
rename from amqp-2.1.1/tests/amqpqueue_consume_timeout.phpt
rename to amqp-2.1.2/tests/amqpqueue_consume_timeout.phpt
diff --git a/amqp-2.1.1/tests/amqpqueue_declare_basic.phpt b/amqp-2.1.2/tests/amqpqueue_declare_basic.phpt
similarity index 100%
rename from amqp-2.1.1/tests/amqpqueue_declare_basic.phpt
rename to amqp-2.1.2/tests/amqpqueue_declare_basic.phpt
diff --git a/amqp-2.1.1/tests/amqpqueue_declare_with_arguments.phpt b/amqp-2.1.2/tests/amqpqueue_declare_with_arguments.phpt
similarity index 100%
rename from amqp-2.1.1/tests/amqpqueue_declare_with_arguments.phpt
rename to amqp-2.1.2/tests/amqpqueue_declare_with_arguments.phpt
diff --git a/amqp-2.1.1/tests/amqpqueue_declare_with_stalled_reference.phpt b/amqp-2.1.2/tests/amqpqueue_declare_with_stalled_reference.phpt
similarity index 100%
rename from amqp-2.1.1/tests/amqpqueue_declare_with_stalled_reference.phpt
rename to amqp-2.1.2/tests/amqpqueue_declare_with_stalled_reference.phpt
diff --git a/amqp-2.1.1/tests/amqpqueue_delete_basic.phpt b/amqp-2.1.2/tests/amqpqueue_delete_basic.phpt
similarity index 100%
rename from amqp-2.1.1/tests/amqpqueue_delete_basic.phpt
rename to amqp-2.1.2/tests/amqpqueue_delete_basic.phpt
diff --git a/amqp-2.1.1/tests/amqpqueue_empty_name.phpt b/amqp-2.1.2/tests/amqpqueue_empty_name.phpt
similarity index 100%
rename from amqp-2.1.1/tests/amqpqueue_empty_name.phpt
rename to amqp-2.1.2/tests/amqpqueue_empty_name.phpt
diff --git a/amqp-2.1.1/tests/amqpqueue_get_basic.phpt b/amqp-2.1.2/tests/amqpqueue_get_basic.phpt
similarity index 100%
rename from amqp-2.1.1/tests/amqpqueue_get_basic.phpt
rename to amqp-2.1.2/tests/amqpqueue_get_basic.phpt
diff --git a/amqp-2.1.1/tests/amqpqueue_get_channel.phpt b/amqp-2.1.2/tests/amqpqueue_get_channel.phpt
similarity index 100%
rename from amqp-2.1.1/tests/amqpqueue_get_channel.phpt
rename to amqp-2.1.2/tests/amqpqueue_get_channel.phpt
diff --git a/amqp-2.1.1/tests/amqpqueue_get_connection.phpt b/amqp-2.1.2/tests/amqpqueue_get_connection.phpt
similarity index 100%
rename from amqp-2.1.1/tests/amqpqueue_get_connection.phpt
rename to amqp-2.1.2/tests/amqpqueue_get_connection.phpt
diff --git a/amqp-2.1.1/tests/amqpqueue_get_empty_body.phpt b/amqp-2.1.2/tests/amqpqueue_get_empty_body.phpt
similarity index 100%
rename from amqp-2.1.1/tests/amqpqueue_get_empty_body.phpt
rename to amqp-2.1.2/tests/amqpqueue_get_empty_body.phpt
diff --git a/amqp-2.1.1/tests/amqpqueue_get_headers.phpt b/amqp-2.1.2/tests/amqpqueue_get_headers.phpt
similarity index 100%
rename from amqp-2.1.1/tests/amqpqueue_get_headers.phpt
rename to amqp-2.1.2/tests/amqpqueue_get_headers.phpt
diff --git a/amqp-2.1.1/tests/amqpqueue_get_nonexistent.phpt b/amqp-2.1.2/tests/amqpqueue_get_nonexistent.phpt
similarity index 100%
rename from amqp-2.1.1/tests/amqpqueue_get_nonexistent.phpt
rename to amqp-2.1.2/tests/amqpqueue_get_nonexistent.phpt
diff --git a/amqp-2.1.1/tests/amqpqueue_headers_with_bool.phpt b/amqp-2.1.2/tests/amqpqueue_headers_with_bool.phpt
similarity index 100%
rename from amqp-2.1.1/tests/amqpqueue_headers_with_bool.phpt
rename to amqp-2.1.2/tests/amqpqueue_headers_with_bool.phpt
diff --git a/amqp-2.1.1/tests/amqpqueue_headers_with_float.phpt b/amqp-2.1.2/tests/amqpqueue_headers_with_float.phpt
similarity index 100%
rename from amqp-2.1.1/tests/amqpqueue_headers_with_float.phpt
rename to amqp-2.1.2/tests/amqpqueue_headers_with_float.phpt
diff --git a/amqp-2.1.1/tests/amqpqueue_headers_with_null.phpt b/amqp-2.1.2/tests/amqpqueue_headers_with_null.phpt
similarity index 100%
rename from amqp-2.1.1/tests/amqpqueue_headers_with_null.phpt
rename to amqp-2.1.2/tests/amqpqueue_headers_with_null.phpt
diff --git a/amqp-2.1.1/tests/amqpqueue_nack.phpt b/amqp-2.1.2/tests/amqpqueue_nack.phpt
similarity index 100%
rename from amqp-2.1.1/tests/amqpqueue_nack.phpt
rename to amqp-2.1.2/tests/amqpqueue_nack.phpt
diff --git a/amqp-2.1.1/tests/amqpqueue_nested_arrays.phpt b/amqp-2.1.2/tests/amqpqueue_nested_arrays.phpt
similarity index 100%
rename from amqp-2.1.1/tests/amqpqueue_nested_arrays.phpt
rename to amqp-2.1.2/tests/amqpqueue_nested_arrays.phpt
diff --git a/amqp-2.1.1/tests/amqpqueue_nested_headers.phpt b/amqp-2.1.2/tests/amqpqueue_nested_headers.phpt
similarity index 100%
rename from amqp-2.1.1/tests/amqpqueue_nested_headers.phpt
rename to amqp-2.1.2/tests/amqpqueue_nested_headers.phpt
diff --git a/amqp-2.1.1/tests/amqpqueue_purge_basic.phpt b/amqp-2.1.2/tests/amqpqueue_purge_basic.phpt
similarity index 100%
rename from amqp-2.1.1/tests/amqpqueue_purge_basic.phpt
rename to amqp-2.1.2/tests/amqpqueue_purge_basic.phpt
diff --git a/amqp-2.1.1/tests/amqpqueue_recover.phpt b/amqp-2.1.2/tests/amqpqueue_recover.phpt
similarity index 100%
rename from amqp-2.1.1/tests/amqpqueue_recover.phpt
rename to amqp-2.1.2/tests/amqpqueue_recover.phpt
diff --git a/amqp-2.1.1/tests/amqpqueue_setArgument.phpt b/amqp-2.1.2/tests/amqpqueue_setArgument.phpt
similarity index 100%
rename from amqp-2.1.1/tests/amqpqueue_setArgument.phpt
rename to amqp-2.1.2/tests/amqpqueue_setArgument.phpt
diff --git a/amqp-2.1.1/tests/amqpqueue_setFlags.phpt b/amqp-2.1.2/tests/amqpqueue_setFlags.phpt
similarity index 100%
rename from amqp-2.1.1/tests/amqpqueue_setFlags.phpt
rename to amqp-2.1.2/tests/amqpqueue_setFlags.phpt
diff --git a/amqp-2.1.1/tests/amqpqueue_unbind_basic_empty_routing_key.phpt b/amqp-2.1.2/tests/amqpqueue_unbind_basic_empty_routing_key.phpt
similarity index 100%
rename from amqp-2.1.1/tests/amqpqueue_unbind_basic_empty_routing_key.phpt
rename to amqp-2.1.2/tests/amqpqueue_unbind_basic_empty_routing_key.phpt
diff --git a/amqp-2.1.1/tests/amqpqueue_unbind_basic_headers_arguments.phpt b/amqp-2.1.2/tests/amqpqueue_unbind_basic_headers_arguments.phpt
similarity index 100%
rename from amqp-2.1.1/tests/amqpqueue_unbind_basic_headers_arguments.phpt
rename to amqp-2.1.2/tests/amqpqueue_unbind_basic_headers_arguments.phpt
diff --git a/amqp-2.1.1/tests/amqpqueue_var_dump.phpt b/amqp-2.1.2/tests/amqpqueue_var_dump.phpt
similarity index 100%
rename from amqp-2.1.1/tests/amqpqueue_var_dump.phpt
rename to amqp-2.1.2/tests/amqpqueue_var_dump.phpt
diff --git a/amqp-2.1.1/tests/amqptimestamp.phpt b/amqp-2.1.2/tests/amqptimestamp.phpt
similarity index 100%
rename from amqp-2.1.1/tests/amqptimestamp.phpt
rename to amqp-2.1.2/tests/amqptimestamp.phpt
diff --git a/amqp-2.1.1/tests/bug_17831.phpt b/amqp-2.1.2/tests/bug_17831.phpt
similarity index 100%
rename from amqp-2.1.1/tests/bug_17831.phpt
rename to amqp-2.1.2/tests/bug_17831.phpt
diff --git a/amqp-2.1.1/tests/bug_19707.phpt b/amqp-2.1.2/tests/bug_19707.phpt
similarity index 100%
rename from amqp-2.1.1/tests/bug_19707.phpt
rename to amqp-2.1.2/tests/bug_19707.phpt
diff --git a/amqp-2.1.1/tests/bug_19840.phpt b/amqp-2.1.2/tests/bug_19840.phpt
similarity index 100%
rename from amqp-2.1.1/tests/bug_19840.phpt
rename to amqp-2.1.2/tests/bug_19840.phpt
diff --git a/amqp-2.1.1/tests/bug_351.phpt b/amqp-2.1.2/tests/bug_351.phpt
similarity index 100%
rename from amqp-2.1.1/tests/bug_351.phpt
rename to amqp-2.1.2/tests/bug_351.phpt
diff --git a/amqp-2.1.1/tests/bug_385.phpt b/amqp-2.1.2/tests/bug_385.phpt
similarity index 100%
rename from amqp-2.1.1/tests/bug_385.phpt
rename to amqp-2.1.2/tests/bug_385.phpt
diff --git a/amqp-2.1.1/tests/bug_61533.phpt b/amqp-2.1.2/tests/bug_61533.phpt
similarity index 100%
rename from amqp-2.1.1/tests/bug_61533.phpt
rename to amqp-2.1.2/tests/bug_61533.phpt
diff --git a/amqp-2.1.1/tests/bug_62354.phpt b/amqp-2.1.2/tests/bug_62354.phpt
similarity index 100%
rename from amqp-2.1.1/tests/bug_62354.phpt
rename to amqp-2.1.2/tests/bug_62354.phpt
diff --git a/amqp-2.1.1/tests/bug_gh147.phpt b/amqp-2.1.2/tests/bug_gh147.phpt
similarity index 100%
rename from amqp-2.1.1/tests/bug_gh147.phpt
rename to amqp-2.1.2/tests/bug_gh147.phpt
diff --git a/amqp-2.1.1/tests/bug_gh155_direct_reply_to.phpt b/amqp-2.1.2/tests/bug_gh155_direct_reply_to.phpt
similarity index 100%
rename from amqp-2.1.1/tests/bug_gh155_direct_reply_to.phpt
rename to amqp-2.1.2/tests/bug_gh155_direct_reply_to.phpt
diff --git a/amqp-2.1.1/tests/bug_gh50-1.phpt b/amqp-2.1.2/tests/bug_gh50-1.phpt
similarity index 100%
rename from amqp-2.1.1/tests/bug_gh50-1.phpt
rename to amqp-2.1.2/tests/bug_gh50-1.phpt
diff --git a/amqp-2.1.1/tests/bug_gh50-2.phpt b/amqp-2.1.2/tests/bug_gh50-2.phpt
similarity index 100%
rename from amqp-2.1.1/tests/bug_gh50-2.phpt
rename to amqp-2.1.2/tests/bug_gh50-2.phpt
diff --git a/amqp-2.1.1/tests/bug_gh50-3.phpt b/amqp-2.1.2/tests/bug_gh50-3.phpt
similarity index 100%
rename from amqp-2.1.1/tests/bug_gh50-3.phpt
rename to amqp-2.1.2/tests/bug_gh50-3.phpt
diff --git a/amqp-2.1.1/tests/bug_gh50-4.phpt b/amqp-2.1.2/tests/bug_gh50-4.phpt
similarity index 100%
rename from amqp-2.1.1/tests/bug_gh50-4.phpt
rename to amqp-2.1.2/tests/bug_gh50-4.phpt
diff --git a/amqp-2.1.1/tests/bug_gh53-2.phpt b/amqp-2.1.2/tests/bug_gh53-2.phpt
similarity index 100%
rename from amqp-2.1.1/tests/bug_gh53-2.phpt
rename to amqp-2.1.2/tests/bug_gh53-2.phpt
diff --git a/amqp-2.1.1/tests/bug_gh53.phpt b/amqp-2.1.2/tests/bug_gh53.phpt
similarity index 100%
rename from amqp-2.1.1/tests/bug_gh53.phpt
rename to amqp-2.1.2/tests/bug_gh53.phpt
diff --git a/amqp-2.1.1/tests/bug_gh72-1.phpt b/amqp-2.1.2/tests/bug_gh72-1.phpt
similarity index 100%
rename from amqp-2.1.1/tests/bug_gh72-1.phpt
rename to amqp-2.1.2/tests/bug_gh72-1.phpt
diff --git a/amqp-2.1.1/tests/bug_gh72-2.phpt b/amqp-2.1.2/tests/bug_gh72-2.phpt
similarity index 100%
rename from amqp-2.1.1/tests/bug_gh72-2.phpt
rename to amqp-2.1.2/tests/bug_gh72-2.phpt
diff --git a/amqp-2.1.1/tests/ini_validation_failure.phpt b/amqp-2.1.2/tests/ini_validation_failure.phpt
similarity index 100%
rename from amqp-2.1.1/tests/ini_validation_failure.phpt
rename to amqp-2.1.2/tests/ini_validation_failure.phpt
diff --git a/amqp-2.1.1/tests/package-version.phpt b/amqp-2.1.2/tests/package-version.phpt
similarity index 100%
rename from amqp-2.1.1/tests/package-version.phpt
rename to amqp-2.1.2/tests/package-version.phpt
diff --git a/amqp-2.1.1/tests/serialize-custom-amqpvalue-errors.phpt b/amqp-2.1.2/tests/serialize-custom-amqpvalue-errors.phpt
similarity index 100%
rename from amqp-2.1.1/tests/serialize-custom-amqpvalue-errors.phpt
rename to amqp-2.1.2/tests/serialize-custom-amqpvalue-errors.phpt
diff --git a/amqp-2.1.1/tests/serialize-custom-amqpvalue.phpt b/amqp-2.1.2/tests/serialize-custom-amqpvalue.phpt
similarity index 100%
rename from amqp-2.1.1/tests/serialize-custom-amqpvalue.phpt
rename to amqp-2.1.2/tests/serialize-custom-amqpvalue.phpt
diff --git a/amqp-2.1.1/tests/testtest.phpt b/amqp-2.1.2/tests/testtest.phpt
similarity index 100%
rename from amqp-2.1.1/tests/testtest.phpt
rename to amqp-2.1.2/tests/testtest.phpt
diff --git a/package.xml b/package.xml
index 166ca95..6fb18bb 100644
--- a/package.xml
+++ b/package.xml
@@ -1,1166 +1,1177 @@
<?xml version="1.0" encoding="UTF-8"?>
<package packagerversion="1.10.13" version="2.0" xmlns="http://pear.php.net/dtd/package-2.0" xmlns:tasks="http://pear.php.net/dtd/tasks-1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://pear.php.net/dtd/tasks-1.0 http://pear.php.net/dtd/tasks-1.0.xsd http://pear.php.net/dtd/package-2.0 http://pear.php.net/dtd/package-2.0.xsd">
<name>amqp</name>
<channel>pecl.php.net</channel>
<summary>Communicate with any AMQP compliant server</summary>
<description>This extension can communicate with any AMQP spec 0-9-1 compatible server, such as RabbitMQ, OpenAMQP and Qpid, giving you the ability to create and delete exchanges and queues, as well as publish to any exchange and consume from any queue.</description>
<lead>
<name>Lars Strojny</name>
<user>lstrojny</user>
<email>lstrojny@php.net</email>
<active>yes</active>
</lead>
<lead>
<name>Pieter de Zwart</name>
<user>pdezwart</user>
<email>pdezwart@php.net</email>
<active>no</active>
</lead>
<developer>
<name>Bogdan Padalko</name>
<user>pinepain</user>
<email>pinepain@gmail.com</email>
<active>yes</active>
</developer>
- <date>2023-10-12</date>
- <time>13:06:43</time>
+ <date>2024-01-22</date>
+ <time>10:49:15</time>
<version>
- <release>2.1.1</release>
- <api>2.1.1</api>
+ <release>2.1.2</release>
+ <api>2.1.2</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="http://www.php.net/license">PHP License</license>
<notes>
-- Fixing debug mode errors (Lars Strojny &lt;lars@strojny.net&gt;) (https://github.com/php-amqp/php-amqp/issues/502)
- - FIX: #494 Param &quot;verify&quot; always true (Daniel Kozak &lt;kozzi11@gmail.com&gt;) (https://github.com/php-amqp/php-amqp/issues/497)
- - Remove assert on undefined variable (Remi Collet &lt;remi@remirepo.net&gt;) (https://github.com/php-amqp/php-amqp/issues/486)
- - Semantically sort changelog (Lars Strojny &lt;lars@strojny.net&gt;) (https://github.com/php-amqp/php-amqp/commit/e5bd909)
- - Set custom PHP executable dynamically (Lars Strojny &lt;lars@strojny.net&gt;) (https://github.com/php-amqp/php-amqp/issues/503)
- - Fixes in stub comments (Lars Strojny &lt;lars@strojny.net&gt;) (https://github.com/php-amqp/php-amqp/commit/6539de5)
- - Refactor test skipping (Lars Strojny &lt;lars@strojny.net&gt;) (https://github.com/php-amqp/php-amqp/issues/504)
- - Bump actions/checkout from 4.0.0 to 4.1.0 (dependabot[bot]) (https://github.com/php-amqp/php-amqp/issues/499)
- - Bump phpstan/phpdoc-parser from 1.23.1 to 1.24.0 (dependabot[bot]) (https://github.com/php-amqp/php-amqp/issues/491)
- - Bump phpstan/phpdoc-parser from 1.24.0 to 1.24.1 (dependabot[bot]) (https://github.com/php-amqp/php-amqp/issues/495)
- - Bump shivammathur/setup-php from 2.25.5 to 2.26.0 (dependabot[bot]) (https://github.com/php-amqp/php-amqp/issues/493)
- - Bump slevomat/coding-standard from 8.13.4 to 8.14.1 (dependabot[bot]) (https://github.com/php-amqp/php-amqp/issues/501)
- - Bump symplify/easy-coding-standard from 12.0.7 to 12.0.8 (dependabot[bot]) (https://github.com/php-amqp/php-amqp/issues/492)
+- Fix missing debug symbols for memory checks (Lars Strojny &lt;lars@strojny.net&gt;) (https://github.com/php-amqp/php-amqp/issues/531)
+ - Fix nullability issue in AMQPBasicProperties (Lars Strojny &lt;lars@strojny.net&gt;) (https://github.com/php-amqp/php-amqp/issues/532)
+ - Ignore setfacl errors (Lars Strojny &lt;lars@strojny.net&gt;) (https://github.com/php-amqp/php-amqp/commit/5548760)
+ - Only restart on failure (Lars Strojny &lt;lars@strojny.net&gt;) (https://github.com/php-amqp/php-amqp/commit/a37c5f1)
+ - Bump actions/checkout from 4.1.0 to 4.1.1 (dependabot[bot]) (https://github.com/php-amqp/php-amqp/issues/506)
+ - Bump awalsh128/cache-apt-pkgs-action from 1.3.0 to 1.3.1 (dependabot[bot]) (https://github.com/php-amqp/php-amqp/issues/509)
+ - Bump fkirc/skip-duplicate-actions from 5.3.0 to 5.3.1 (dependabot[bot]) (https://github.com/php-amqp/php-amqp/issues/507)
+ - Bump phpstan/phpdoc-parser from 1.24.2 to 1.24.3 (dependabot[bot]) (https://github.com/php-amqp/php-amqp/issues/513)
+ - Bump phpstan/phpdoc-parser from 1.24.3 to 1.24.4 (dependabot[bot]) (https://github.com/php-amqp/php-amqp/issues/516)
+ - Bump phpstan/phpdoc-parser from 1.24.4 to 1.24.5 (dependabot[bot]) (https://github.com/php-amqp/php-amqp/issues/521)
+ - Bump phpstan/phpdoc-parser from 1.24.5 to 1.25.0 (dependabot[bot]) (https://github.com/php-amqp/php-amqp/issues/524)
+ - Bump shivammathur/setup-php from 2.26.0 to 2.27.0 (dependabot[bot]) (https://github.com/php-amqp/php-amqp/issues/510)
+ - Bump shivammathur/setup-php from 2.27.0 to 2.27.1 (dependabot[bot]) (https://github.com/php-amqp/php-amqp/issues/512)
+ - Bump shivammathur/setup-php from 2.27.1 to 2.28.0 (dependabot[bot]) (https://github.com/php-amqp/php-amqp/issues/515)
+ - Bump shivammathur/setup-php from 2.28.0 to 2.29.0 (dependabot[bot]) (https://github.com/php-amqp/php-amqp/issues/528)
+ - Bump squizlabs/php_codesniffer from 3.7.2 to 3.8.0 (dependabot[bot]) (https://github.com/php-amqp/php-amqp/issues/520)
+ - Bump squizlabs/php_codesniffer from 3.8.0 to 3.8.1 (dependabot[bot]) (https://github.com/php-amqp/php-amqp/issues/527)
+ - Bump symplify/easy-coding-standard from 12.0.11 to 12.0.13 (dependabot[bot]) (https://github.com/php-amqp/php-amqp/issues/519)
+ - Bump symplify/easy-coding-standard from 12.0.13 to 12.1.3 (dependabot[bot]) (https://github.com/php-amqp/php-amqp/issues/526)
+ - Bump symplify/easy-coding-standard from 12.0.8 to 12.0.9 (dependabot[bot]) (https://github.com/php-amqp/php-amqp/issues/517)
+ - Bump symplify/easy-coding-standard from 12.0.9 to 12.0.11 (dependabot[bot]) (https://github.com/php-amqp/php-amqp/issues/518)
+ - Bump symplify/easy-coding-standard from 12.1.3 to 12.1.7 (dependabot[bot]) (https://github.com/php-amqp/php-amqp/issues/529)
+ - Bump symplify/easy-coding-standard from 12.1.7 to 12.1.8 (dependabot[bot]) (https://github.com/php-amqp/php-amqp/issues/530)
For a complete list of changes see:
-https://github.com/php-amqp/php-amqp/compare/v2.1.0...v2.1.1
+https://github.com/php-amqp/php-amqp/compare/v2.1.1...v2.1.2
</notes>
<contents>
<dir name="/">
<file md5sum="09d1fd922d8ceb5699eb1956a70b814b" name="config.m4" role="src" />
<file md5sum="452420b308cb275132426ffa65e4e0e1" name="config.w32" role="src" />
<file md5sum="4c72f68c150d26652ea4bf5d6aa3ac2a" name="benchmark.php" role="doc" />
<file md5sum="c2bc5a8aa3fb7f8d0c924f584e20809d" name="CREDITS" role="doc" />
<file md5sum="b3e70313289e3ea66cae3089b7e571b8" name="LICENSE" role="doc" />
<file md5sum="faaa7130786487ae7bfda8adaeea93c2" name="tests/_test_helpers.php.inc" role="test" />
<file md5sum="ff1f3c4f24def8d8260292a6d27b51d0" name="amqp.c" role="src" />
- <file md5sum="173a4a92fffa57165d94e4da7cd345d8" name="amqp_basic_properties.c" role="src" />
+ <file md5sum="e1874e61c1cc1602faf7cfdd4cf22345" name="amqp_basic_properties.c" role="src" />
<file md5sum="a0101537ab6d719db5bc1de3c780a7eb" name="amqp_basic_properties.h" role="src" />
<file md5sum="46f62b1e4db6d290ed159eb5c8c4e484" name="amqp_channel.c" role="src" />
<file md5sum="72eb05aaedd3ba4f3813906a224aec82" name="amqp_channel.h" role="src" />
<file md5sum="2e03cbb27a5c9c6dd6f8d85871fc9107" name="amqp_connection.c" role="src" />
<file md5sum="d15970adc8c79c8606bfb75ff12c81d4" name="amqp_connection.h" role="src" />
<file md5sum="ceb9a890b0f75ddb5e515137aeeb253b" name="amqp_connection_resource.c" role="src" />
<file md5sum="5593f3a805b5441a1ce1aa75d4794100" name="amqp_connection_resource.h" role="src" />
<file md5sum="01821f78be8c67802364ce264e0ea19f" name="amqp_decimal.c" role="src" />
<file md5sum="71d2f8c929bf674353ba2a6db828b00c" name="amqp_decimal.h" role="src" />
<file md5sum="657a19b93b0d2510d32e4f343473d17c" name="amqp_envelope.c" role="src" />
<file md5sum="8cad06b8f3f4c8ff2d7ab599636a16f1" name="amqp_envelope.h" role="src" />
<file md5sum="9712eafa8912a401a039557c3a05e891" name="amqp_envelope_exception.c" role="src" />
<file md5sum="5866896bd551b43905ec4ee1b85e656e" name="amqp_envelope_exception.h" role="src" />
<file md5sum="d84fa8843be9377f5a494d9ae3958a8e" name="amqp_exchange.c" role="src" />
<file md5sum="0ae7b70c8ee847cb1fc9ae6454577e2d" name="amqp_exchange.h" role="src" />
<file md5sum="3c4cf3f9c1811cfe913fdee13271e6f1" name="amqp_methods_handling.c" role="src" />
<file md5sum="4eee4ab6ea934324d616346f3eb6d25c" name="amqp_methods_handling.h" role="src" />
<file md5sum="25c953fc72a2bfad3284f5c2a6c45ade" name="amqp_queue.c" role="src" />
<file md5sum="ce5b701dd7954a841eaa6d4c8efe39af" name="amqp_queue.h" role="src" />
<file md5sum="1031538169e85da367ad28491491871c" name="amqp_timestamp.c" role="src" />
<file md5sum="4f802b5afd10f5827a652bd00ebdbe2d" name="amqp_timestamp.h" role="src" />
<file md5sum="856840ef5ea9c34a70173be821996fc9" name="amqp_type.c" role="src" />
<file md5sum="eea964bf578016436b14b6f0d73f5702" name="amqp_type.h" role="src" />
<file md5sum="ec765424c0512c67723f054cf6f52bb2" name="amqp_value.c" role="src" />
<file md5sum="7567db8c5cab2510808fb39963eb4338" name="amqp_value.h" role="src" />
<file md5sum="e733716ddaf955fbf55eb1d1f108d0ef" name="php_amqp.h" role="src" />
- <file md5sum="59363896174f831e1eb480db8036db36" name="php_amqp_version.h" role="src" />
+ <file md5sum="79d1a99bf96b7277c96d2d2c487755c8" name="php_amqp_version.h" role="src" />
<file md5sum="6c277ddea5f162593a350963525d045b" name="tests/003-channel-consumers.phpt" role="test" />
<file md5sum="e86c82e889aa89ba1c4d4764497d1320" name="tests/004-queue-consume-nested.phpt" role="test" />
<file md5sum="0f7e60d7b309f2d68934878c2151f827" name="tests/004-queue-consume-orphaned.phpt" role="test" />
<file md5sum="6b3e06309faac4c9b307db99418a1df0" name="tests/amqp_version.phpt" role="test" />
- <file md5sum="afa38eab8996dc51678a38905a1484ba" name="tests/amqpbasicproperties.phpt" role="test" />
+ <file md5sum="ea54fb7ffb292f49bbcd7afb8fd98f04" name="tests/amqpbasicproperties.phpt" role="test" />
+ <file md5sum="9a3121cab66f619689ef8cde825f244b" name="tests/amqpbasicproperties_nullability.phpt" role="test" />
<file md5sum="d9a20c6ff671cd59005e762203bcbed6" name="tests/amqpchannel_basicRecover.phpt" role="test" />
<file md5sum="d766344c7a60ed3b6e38564d961c9166" name="tests/amqpchannel_close.phpt" role="test" />
<file md5sum="616d8008fa9dc15ba58931eae9672be5" name="tests/amqpchannel_confirmSelect.phpt" role="test" />
<file md5sum="fa26ab175aa4a4d767037c26c31d5fd3" name="tests/amqpchannel_construct_basic.phpt" role="test" />
<file md5sum="7c72fc21c72394df5a170114b169d8c2" name="tests/amqpchannel_construct_ini_global_prefetch_count.phpt" role="test" />
<file md5sum="cbfd07f397262480c8ce4a517e636b04" name="tests/amqpchannel_construct_ini_global_prefetch_size.phpt" role="test" />
<file md5sum="9646eaeef91c73f5f5b671871f85aff2" name="tests/amqpchannel_construct_ini_prefetch_count.phpt" role="test" />
<file md5sum="663f2fde7fd30f5f32ada4ac2e41a34c" name="tests/amqpchannel_construct_ini_prefetch_size.phpt" role="test" />
<file md5sum="3259a24140aec691350b6a5197994ee0" name="tests/amqpchannel_getChannelId.phpt" role="test" />
<file md5sum="537155531eb43fc16d8982496aa9bcea" name="tests/amqpchannel_get_connection.phpt" role="test" />
<file md5sum="bcb0eb8885402d22d12ff3b2ad425182" name="tests/amqpchannel_multi_channel_connection.phpt" role="test" />
<file md5sum="3587efac214dd41df7d20c87493cfbdc" name="tests/amqpchannel_set_global_prefetch_count.phpt" role="test" />
<file md5sum="59db75737bbc0ef671d64763ae18dfbc" name="tests/amqpchannel_set_global_prefetch_size.phpt" role="test" />
<file md5sum="c964ac10884996081c59332458ab99f5" name="tests/amqpchannel_set_prefetch_and_global_prefetch_count.phpt" role="test" />
<file md5sum="ebc518c106177e6c89d53746aba96e76" name="tests/amqpchannel_set_prefetch_and_global_prefetch_size.phpt" role="test" />
<file md5sum="6b74d232b906d7b74d97a45def5ca197" name="tests/amqpchannel_set_prefetch_count.phpt" role="test" />
<file md5sum="8f193e1e322b0fba57fdacf52decb112" name="tests/amqpchannel_set_prefetch_size.phpt" role="test" />
<file md5sum="0c0b36cb9d223ebb968c833bd89d5e74" name="tests/amqpchannel_slots_usage.phpt" role="test" />
<file md5sum="a1e765ef7b003db5d6752ac8ff0f412a" name="tests/amqpchannel_validation.phpt" role="test" />
<file md5sum="9f03b8575d77127d863121d3b2ee8bbb" name="tests/amqpchannel_var_dump.phpt" role="test" />
<file md5sum="afb5fc2ce2f214256ea495397c672b6c" name="tests/amqpconnection_connect_login_failure.phpt" role="test" />
<file md5sum="b9f639c445d037396a505e7edb78b645" name="tests/amqpconnection_connection_getters.phpt" role="test" />
<file md5sum="858c904ca0d66c2f826dcdd4e27cd161" name="tests/amqpconnection_construct_basic.phpt" role="test" />
<file md5sum="21d9ac61888960b7c867d6b4c017ec42" name="tests/amqpconnection_construct_ini_read_timeout.phpt" role="test" />
<file md5sum="e8e5fa0b53702da8bfb1c477450fefb9" name="tests/amqpconnection_construct_ini_timeout.phpt" role="test" />
<file md5sum="60fa906606d023c77abba0e7c6a85abf" name="tests/amqpconnection_construct_ini_timeout_and_read_timeout.phpt" role="test" />
<file md5sum="2920938cdde6d5fdad97d5ea3053b6c8" name="tests/amqpconnection_construct_ini_timeout_default.phpt" role="test" />
<file md5sum="114b5fd372e6b12db3bbd457eb68863e" name="tests/amqpconnection_construct_params_by_value.phpt" role="test" />
<file md5sum="23c54a12d56410edc3b10926aa770ce3" name="tests/amqpconnection_construct_with_connect_timeout.phpt" role="test" />
<file md5sum="5c3558b851cf8939e83ec51522240220" name="tests/amqpconnection_construct_with_connection_name.phpt" role="test" />
<file md5sum="84bd93007fb6920b8ba58b85c8969398" name="tests/amqpconnection_construct_with_limits.phpt" role="test" />
<file md5sum="ca12a037ec9f64aa50d8936d2cb68a9f" name="tests/amqpconnection_construct_with_rpc_timeout.phpt" role="test" />
<file md5sum="892ff6de58bb78e38edcfaaaa5c32831" name="tests/amqpconnection_construct_with_timeout.phpt" role="test" />
<file md5sum="3121e4088ed39c014a8694e4bd9a3730" name="tests/amqpconnection_construct_with_timeout_and_read_timeout.phpt" role="test" />
<file md5sum="7aed13874bfdad0b02a0fd2af2d6ea93" name="tests/amqpconnection_construct_with_verify_false.phpt" role="test" />
<file md5sum="79e8dd91a18209d9f6c1cc34edad688d" name="tests/amqpconnection_construct_with_write_timeout.phpt" role="test" />
<file md5sum="866866de0c313fa1b0f85c88cdb714da" name="tests/amqpconnection_getUsedChannels.phpt" role="test" />
<file md5sum="0b49bc6ec7a572f6dfa78ef827ba7e4a" name="tests/amqpconnection_heartbeat.phpt" role="test" />
<file md5sum="919a51db8e84ee790ed0123355ca13c1" name="tests/amqpconnection_heartbeat_with_consumer.phpt" role="test" />
<file md5sum="67ce104d02087ffbfe479fbf5146674d" name="tests/amqpconnection_heartbeat_with_persistent.phpt" role="test" />
<file md5sum="c265035370858b18f008438b723ca26e" name="tests/amqpconnection_nullable_setters.phpt" role="test" />
<file md5sum="8535e486d750c1ed6368b9b116a640f6" name="tests/amqpconnection_persistent_construct_basic.phpt" role="test" />
<file md5sum="77b290e12c25fcfee99898794f3175a5" name="tests/amqpconnection_persistent_in_use.phpt" role="test" />
<file md5sum="876226fc55711234d9cfea80ea54f082" name="tests/amqpconnection_persistent_reusable.phpt" role="test" />
<file md5sum="95a6fa170bf1d989a5d95e0601a5f2af" name="tests/amqpconnection_setConnectionName.phpt" role="test" />
<file md5sum="c094b923113a70120d65d5c89421258b" name="tests/amqpconnection_setHost.phpt" role="test" />
<file md5sum="ac3e0cfef176906dec899b8a47badc01" name="tests/amqpconnection_setLogin.phpt" role="test" />
<file md5sum="3d81ab561f24acc63d31a13afc3cc2a6" name="tests/amqpconnection_setPassword.phpt" role="test" />
<file md5sum="674ec59e649ac7afd89716594df2d7d4" name="tests/amqpconnection_setPort_int.phpt" role="test" />
<file md5sum="b72b67649f568b206d0b9bf4cd8c6279" name="tests/amqpconnection_setPort_out_of_range.phpt" role="test" />
<file md5sum="84c946df0d6ba3b1c1bd090bd1eaa2c3" name="tests/amqpconnection_setPort_string.phpt" role="test" />
<file md5sum="2368298280d7f4c5a8f71803e08ee95d" name="tests/amqpconnection_setReadTimeout_float.phpt" role="test" />
<file md5sum="fb56a787339fe1ac52cd9f82bb306194" name="tests/amqpconnection_setReadTimeout_int.phpt" role="test" />
<file md5sum="72630c73b14fb80dbb037db568244582" name="tests/amqpconnection_setReadTimeout_out_of_range.phpt" role="test" />
<file md5sum="b527b55c90dbf806c7514c9a5ce21eee" name="tests/amqpconnection_setReadTimeout_string.phpt" role="test" />
<file md5sum="5db1d1d43369af74f98737d3507aa3bd" name="tests/amqpconnection_setRpcTimeout_float.phpt" role="test" />
<file md5sum="1cafca13078edd742db6a1fdeaf870ab" name="tests/amqpconnection_setRpcTimeout_int.phpt" role="test" />
<file md5sum="14fa872933c91f18144714ce7bbc90fa" name="tests/amqpconnection_setRpcTimeout_out_of_range.phpt" role="test" />
<file md5sum="79ea18bd82afa93815c093a72342ad56" name="tests/amqpconnection_setRpcTimeout_string.phpt" role="test" />
<file md5sum="cc6643c5becf45bf35a849097a299b21" name="tests/amqpconnection_setSaslMethod.phpt" role="test" />
<file md5sum="1a1b486a950a3fb82175f7214ae95869" name="tests/amqpconnection_setSaslMethod_invalid.phpt" role="test" />
<file md5sum="0d94e9c020626af9a4ff0f0fa624bc17" name="tests/amqpconnection_setTimeout_deprecated.phpt" role="test" />
<file md5sum="bbcda2416977ff40600aa69557304935" name="tests/amqpconnection_setTimeout_float.phpt" role="test" />
<file md5sum="a54f1f3388ec6d0f55643246db455fc1" name="tests/amqpconnection_setTimeout_int.phpt" role="test" />
<file md5sum="ac16b7c473684623b0bef6141af71e26" name="tests/amqpconnection_setTimeout_out_of_range.phpt" role="test" />
<file md5sum="3453d4b5fa3b396b6df85cf95ff764e7" name="tests/amqpconnection_setTimeout_string.phpt" role="test" />
<file md5sum="fca683df5845cb78fa58e4401a95c2e9" name="tests/amqpconnection_setVhost.phpt" role="test" />
<file md5sum="24b2f202025d0025194fc485036207d2" name="tests/amqpconnection_setWriteTimeout_float.phpt" role="test" />
<file md5sum="1a56d24ccbf075bce1b86d90920ecae9" name="tests/amqpconnection_setWriteTimeout_int.phpt" role="test" />
<file md5sum="fdc2f6ed57fd907f3a109926796c3a0d" name="tests/amqpconnection_setWriteTimeout_out_of_range.phpt" role="test" />
<file md5sum="11c0e0470ac178fadb84f27bcf555515" name="tests/amqpconnection_setWriteTimeout_string.phpt" role="test" />
<file md5sum="1656942fa353d9a37a6f6e45553ec74c" name="tests/amqpconnection_tls_basic.phpt" role="test" />
<file md5sum="26e10224e9935e50a1e59de8da73b834" name="tests/amqpconnection_tls_mtls.phpt" role="test" />
<file md5sum="a28561b635ad3d4981609326ba29e048" name="tests/amqpconnection_tls_sasl.phpt" role="test" />
<file md5sum="2691dac3f026888d39dfafc189539dda" name="tests/amqpconnection_toomanychannels.phpt" role="test" />
<file md5sum="03eae8ff9214952ce3961d146ef74fc9" name="tests/amqpconnection_validation.phpt" role="test" />
<file md5sum="6610444a11e540d37318bbf341bd331f" name="tests/amqpconnection_var_dump.phpt" role="test" />
<file md5sum="b9bf42bb79a0810154659db1f057790d" name="tests/amqpdecimal.phpt" role="test" />
<file md5sum="ebaa5f604af17ab4f664744a1ba272fe" name="tests/amqpenvelope_construct.phpt" role="test" />
<file md5sum="1feaeaaf2b11cd1d636d06e6c63041a4" name="tests/amqpenvelope_get_accessors.phpt" role="test" />
<file md5sum="4235c8b4f2a6f1d23d24f60ba8a0b4e8" name="tests/amqpenvelope_var_dump.phpt" role="test" />
<file md5sum="27bb21540283f7be9e5e6fff6f590b52" name="tests/amqpexchange-declare-segfault.phpt" role="test" />
<file md5sum="cb063241109e8dcc562da951af9b622e" name="tests/amqpexchange_attributes.phpt" role="test" />
<file md5sum="6c1e4f74211a4cc1ed62d5d9eca1cebf" name="tests/amqpexchange_bind.phpt" role="test" />
<file md5sum="7b62a2c67e616d87c4daadc93e52f620" name="tests/amqpexchange_bind_with_arguments.phpt" role="test" />
<file md5sum="e7818e63541a762bc28f7c59c129a121" name="tests/amqpexchange_bind_without_key.phpt" role="test" />
<file md5sum="c402e62a0b89f8e8018216cdba3b720d" name="tests/amqpexchange_bind_without_key_with_arguments.phpt" role="test" />
<file md5sum="3c90c41519baa40cda1df09415e7fb30" name="tests/amqpexchange_channel_refcount.phpt" role="test" />
<file md5sum="103a8844c0c971f1dbeab4f7d8d26f3c" name="tests/amqpexchange_construct_basic.phpt" role="test" />
<file md5sum="11f9b38a351a6f2c152a8e1979bf27fe" name="tests/amqpexchange_declare_basic.phpt" role="test" />
<file md5sum="548a2103b2280ea92e3c39e3688449aa" name="tests/amqpexchange_declare_existent.phpt" role="test" />
<file md5sum="03037735ed44042396c5307aa59ed718" name="tests/amqpexchange_declare_with_stalled_reference.phpt" role="test" />
<file md5sum="3a078f0482a03f49e43e38f9a886f409" name="tests/amqpexchange_declare_without_name.phpt" role="test" />
<file md5sum="2f1ed1bf1a611a17a0b37cd5131bb66c" name="tests/amqpexchange_declare_without_type.phpt" role="test" />
<file md5sum="74856c199cc860a445bcbdd709f5c63d" name="tests/amqpexchange_delete_default_exchange.phpt" role="test" />
<file md5sum="c93542b6402eeadb6bdc99620ce837e5" name="tests/amqpexchange_delete_null_name.phpt" role="test" />
<file md5sum="c195a0d9ae239b9e78601699492e2370" name="tests/amqpexchange_get_channel.phpt" role="test" />
<file md5sum="d4c2966458d35284265ba064bf1c88b2" name="tests/amqpexchange_get_connection.phpt" role="test" />
<file md5sum="8cc528eacb62759352b39fa0796300dc" name="tests/amqpexchange_invalid_type.phpt" role="test" />
<file md5sum="3da3ef1cf1987419928032b9b9848234" name="tests/amqpexchange_name.phpt" role="test" />
<file md5sum="6b1431b643d05188484240d9f0cee4b2" name="tests/amqpexchange_publish_basic.phpt" role="test" />
<file md5sum="3840ccb29762a15b533bbbea7c344ac4" name="tests/amqpexchange_publish_confirms.phpt" role="test" />
<file md5sum="853e270a1122ee2cc2ae80d05f559b4d" name="tests/amqpexchange_publish_confirms_consume.phpt" role="test" />
<file md5sum="b3f3d0ad39bb9d6ccb059e6ed5ffa82c" name="tests/amqpexchange_publish_empty_routing_key.phpt" role="test" />
<file md5sum="2ee55f56f7807a69bd55d340599cb03d" name="tests/amqpexchange_publish_mandatory.phpt" role="test" />
<file md5sum="d77cd35094fa55ef84ce765444138303" name="tests/amqpexchange_publish_mandatory_consume.phpt" role="test" />
<file md5sum="de2b0d656651dc45711499f49e65e642" name="tests/amqpexchange_publish_mandatory_multiple_channels_pitfall.phpt" role="test" />
<file md5sum="3620643e19558c67068a41a648623b7a" name="tests/amqpexchange_publish_null_routing_key.phpt" role="test" />
<file md5sum="5c2eb4a14c990fa9e8e90ac66b8a93aa" name="tests/amqpexchange_publish_with_decimal_header.phpt" role="test" />
<file md5sum="4ec4bb69dba1a85bc568278c6e399223" name="tests/amqpexchange_publish_with_null.phpt" role="test" />
<file md5sum="c11c3b9152796fd0303f52c02c2ee3fc" name="tests/amqpexchange_publish_with_properties.phpt" role="test" />
<file md5sum="374f8f720f0c75dd0dd6524e3fb3d08e" name="tests/amqpexchange_publish_with_properties_ignore_num_header.phpt" role="test" />
<file md5sum="466bbced80f8dc1197b346ffb9b0cf06" name="tests/amqpexchange_publish_with_properties_ignore_unsupported_header_values.phpt" role="test" />
<file md5sum="ebf14f2ec50e457bf321f69da3f6ada7" name="tests/amqpexchange_publish_with_properties_nested_header.phpt" role="test" />
<file md5sum="2b7f62472392e216e055f860b7c41c0a" name="tests/amqpexchange_publish_with_properties_user_id_failure.phpt" role="test" />
<file md5sum="47cc72b4ea100f46e090df837c520fe8" name="tests/amqpexchange_publish_with_timestamp_header.phpt" role="test" />
<file md5sum="d509d980da6233a48f601ff3105c801f" name="tests/amqpexchange_publish_xdeath.phpt" role="test" />
<file md5sum="33dd2c27df1b7ce42f8d32c5ad775094" name="tests/amqpexchange_setArgument.phpt" role="test" />
<file md5sum="693e2200a58dcba41931b892696aab1d" name="tests/amqpexchange_set_flag.phpt" role="test" />
<file md5sum="aa0ee96e29fabc843e2b4e0a771e04cb" name="tests/amqpexchange_set_flags.phpt" role="test" />
<file md5sum="a4b64f1594d674743e51b2465b5795cc" name="tests/amqpexchange_type.phpt" role="test" />
<file md5sum="f1a580d1c3729fcc1ded22e50296e1b2" name="tests/amqpexchange_unbind.phpt" role="test" />
<file md5sum="9619e95417f716214100068e4b2a01a6" name="tests/amqpexchange_unbind_with_arguments.phpt" role="test" />
<file md5sum="e02f0e1fa5062ca89c4cebd7ff952355" name="tests/amqpexchange_unbind_without_key.phpt" role="test" />
<file md5sum="56c45ddff3f5ff695e31b7797d676a35" name="tests/amqpexchange_unbind_without_key_with_arguments.phpt" role="test" />
<file md5sum="60a19dd3216847aa8a9c844656a6c583" name="tests/amqpexchange_var_dump.phpt" role="test" />
<file md5sum="1a9ff26be9a59b01af06c2891a891c89" name="tests/amqpqueue-cancel-no-consumers.phpt" role="test" />
<file md5sum="e93aec0c5fec6ff7a489414f52af7506" name="tests/amqpqueue_attributes.phpt" role="test" />
<file md5sum="3c57aec5a79b707cad455efe4bce5522" name="tests/amqpqueue_bind_basic.phpt" role="test" />
<file md5sum="907233092b7596e4602fb4649ba3dd39" name="tests/amqpqueue_bind_basic_empty_routing_key.phpt" role="test" />
<file md5sum="17ce421379646e4bfd9158d8ddf14ef3" name="tests/amqpqueue_bind_basic_headers_arguments.phpt" role="test" />
<file md5sum="27455490e5e82aae65797cff8f1ee2aa" name="tests/amqpqueue_bind_null_routing_key.phpt" role="test" />
<file md5sum="13422ed35375bb8e84075e70c091c524" name="tests/amqpqueue_cancel.phpt" role="test" />
<file md5sum="1828327be8d09c7a66b66287b6067d7d" name="tests/amqpqueue_construct_basic.phpt" role="test" />
<file md5sum="80359e190459349d56be711e507e3f3d" name="tests/amqpqueue_consume_basic.phpt" role="test" />
<file md5sum="c565c19f46ec82b76004898140fc1ead" name="tests/amqpqueue_consume_multiple.phpt" role="test" />
<file md5sum="4d990869c9d3eb150e5c46b8feef0639" name="tests/amqpqueue_consume_multiple_no_doubles.phpt" role="test" />
<file md5sum="4abbfa4ab2187e7b168d22b1ed35677b" name="tests/amqpqueue_consume_nonexistent.phpt" role="test" />
<file md5sum="02824f67895aef74e3a66bfb8723bc64" name="tests/amqpqueue_consume_null_consumer_key.phpt" role="test" />
<file md5sum="2a4db68504d43bac92c767a32662be89" name="tests/amqpqueue_consume_timeout.phpt" role="test" />
<file md5sum="f49f1657e47cf7e780695607ed2d1ebc" name="tests/amqpqueue_declare_basic.phpt" role="test" />
<file md5sum="dc7b7aec1898a80f61096dfe8c7942d3" name="tests/amqpqueue_declare_with_arguments.phpt" role="test" />
<file md5sum="a11610419ff5836ce3af3e3f7238f313" name="tests/amqpqueue_declare_with_stalled_reference.phpt" role="test" />
<file md5sum="10d102e165bb78164acce9c3eb6c78ec" name="tests/amqpqueue_delete_basic.phpt" role="test" />
<file md5sum="9f5bc4895f62187cc87307500a128588" name="tests/amqpqueue_empty_name.phpt" role="test" />
<file md5sum="badecc648953adede73f24cd9510d6df" name="tests/amqpqueue_get_basic.phpt" role="test" />
<file md5sum="fa7e42c8469a3e7884e2a6ea34038455" name="tests/amqpqueue_get_channel.phpt" role="test" />
<file md5sum="bd4e8af751597726407493f096277670" name="tests/amqpqueue_get_connection.phpt" role="test" />
<file md5sum="55eb10f36825d8e1a2318e5947ad0a44" name="tests/amqpqueue_get_empty_body.phpt" role="test" />
<file md5sum="dc377fb179917882e8c650b55d74a90e" name="tests/amqpqueue_get_headers.phpt" role="test" />
<file md5sum="5dac2a6fec6de0e56de1cfae1dc1e00f" name="tests/amqpqueue_get_nonexistent.phpt" role="test" />
<file md5sum="313e782fa436468b403a91cea888d25f" name="tests/amqpqueue_headers_with_bool.phpt" role="test" />
<file md5sum="33fc812a759d2ee49088e50cf579bd63" name="tests/amqpqueue_headers_with_float.phpt" role="test" />
<file md5sum="c72762903b159ddf4d957b6cf4042e11" name="tests/amqpqueue_headers_with_null.phpt" role="test" />
<file md5sum="632a6c6a0eeb7fa8d7b826bc38614234" name="tests/amqpqueue_nack.phpt" role="test" />
<file md5sum="732281bac91e4234c02bbec49761acb9" name="tests/amqpqueue_nested_arrays.phpt" role="test" />
<file md5sum="5bf75db6b18f96021606f9428ccd1027" name="tests/amqpqueue_nested_headers.phpt" role="test" />
<file md5sum="9c99bcf458569aad3674b7e57c26d28f" name="tests/amqpqueue_purge_basic.phpt" role="test" />
<file md5sum="af33bd6cf5edc7c521ef3149ec744395" name="tests/amqpqueue_recover.phpt" role="test" />
<file md5sum="f54f4db6b201747c298c10e59af83342" name="tests/amqpqueue_setArgument.phpt" role="test" />
<file md5sum="8d80247651e8c347da949f1af9790548" name="tests/amqpqueue_setFlags.phpt" role="test" />
<file md5sum="89febc93c1ac5a5783a09a57fcfb36d1" name="tests/amqpqueue_unbind_basic_empty_routing_key.phpt" role="test" />
<file md5sum="18e0d925d449d09b59963e36e44137be" name="tests/amqpqueue_unbind_basic_headers_arguments.phpt" role="test" />
<file md5sum="79ed6e7f81da1a713e395d6a865cc13d" name="tests/amqpqueue_var_dump.phpt" role="test" />
<file md5sum="e0eff4d552c1d422eb3fa659e388d1e0" name="tests/amqptimestamp.phpt" role="test" />
<file md5sum="b3527d7047b8ce00fe7253ab509e2ba9" name="tests/bug_17831.phpt" role="test" />
<file md5sum="fc3e0833caffbf3ac1fbfd738d5e704b" name="tests/bug_19707.phpt" role="test" />
<file md5sum="13614b6a49334b3f9a893ab97d51f9c4" name="tests/bug_19840.phpt" role="test" />
<file md5sum="3b096590cd83812a446644bab8a058f6" name="tests/bug_351.phpt" role="test" />
<file md5sum="683207d3ded70596dcaf884d859c349c" name="tests/bug_385.phpt" role="test" />
<file md5sum="ccdd74fec3caef0a2cd30bd4aa0df4c2" name="tests/bug_61533.phpt" role="test" />
<file md5sum="126242b757c438ddc6df40e9b90ba881" name="tests/bug_62354.phpt" role="test" />
<file md5sum="3f747b780c7c0dfc69f11f832473a223" name="tests/bug_gh147.phpt" role="test" />
<file md5sum="0270be9f06a6e5376a00812428f13599" name="tests/bug_gh155_direct_reply_to.phpt" role="test" />
<file md5sum="6b182a7e62ad7e40adaae9a9985cd12b" name="tests/bug_gh50-1.phpt" role="test" />
<file md5sum="e32e342a4908eb398844a5db8704b173" name="tests/bug_gh50-2.phpt" role="test" />
<file md5sum="5a0143d9c56dee9b504aad664b74be8d" name="tests/bug_gh50-3.phpt" role="test" />
<file md5sum="4a8cb8c0ffab14146407d3d33f119eff" name="tests/bug_gh50-4.phpt" role="test" />
<file md5sum="178ac4ddaa01843473e69f041603efec" name="tests/bug_gh53-2.phpt" role="test" />
<file md5sum="6cf279a12525f882f2a0cecf3e82652f" name="tests/bug_gh53.phpt" role="test" />
<file md5sum="8a0a0e415aaae2ee16365cb1f74a67f3" name="tests/bug_gh72-1.phpt" role="test" />
<file md5sum="b495687b1aa185442ac8e98da6e96136" name="tests/bug_gh72-2.phpt" role="test" />
<file md5sum="7909930686b48fb2c7e34a6805edcd5d" name="tests/ini_validation_failure.phpt" role="test" />
<file md5sum="4b21a92ffefb786e725cebf0c2300c2e" name="tests/package-version.phpt" role="test" />
<file md5sum="164dbd88ba62e3269bac8856cb6dd899" name="tests/serialize-custom-amqpvalue-errors.phpt" role="test" />
<file md5sum="8af7b3b564223d1b5e571d3d8905e398" name="tests/serialize-custom-amqpvalue.phpt" role="test" />
<file md5sum="5a3b096ecddcc8355fa67f7305ddc44e" name="tests/testtest.phpt" role="test" />
<file md5sum="6fad4616560147bbc44b315f0bd53fe0" name="stubs/AMQP.php" role="doc" />
<file md5sum="f651a90990a9eaab2886a54c0ca79d39" name="stubs/AMQPBasicProperties.php" role="doc" />
<file md5sum="0a7b8654409533826b0f6ef386e5b064" name="stubs/AMQPChannel.php" role="doc" />
<file md5sum="d79254277f60751c4ba6697333af5d37" name="stubs/AMQPChannelException.php" role="doc" />
<file md5sum="45f1cd50439c4701378a70e5c4f91c5d" name="stubs/AMQPConnection.php" role="doc" />
<file md5sum="da1cd6ac1b51f2433904ce770e6f4ca3" name="stubs/AMQPConnectionException.php" role="doc" />
<file md5sum="883a5319cbb0716fcf94775a51cd71fa" name="stubs/AMQPDecimal.php" role="doc" />
<file md5sum="8a576c4b69e28105e1c9373e34ec3a83" name="stubs/AMQPEnvelope.php" role="doc" />
<file md5sum="3e8664cbd98e06ae6b35c63ef1cab7c1" name="stubs/AMQPEnvelopeException.php" role="doc" />
<file md5sum="0b9b43b817a884d311f8f8013d8a5adc" name="stubs/AMQPException.php" role="doc" />
<file md5sum="6f36797b01b1b5b22fdc7dbb06ef8940" name="stubs/AMQPExchange.php" role="doc" />
<file md5sum="7d1035c7a2b82f9187b10f05fe882eed" name="stubs/AMQPExchangeException.php" role="doc" />
<file md5sum="44960c4edd92cfd1cf1bf7ce9574c43d" name="stubs/AMQPQueue.php" role="doc" />
<file md5sum="d7da0562e86197fc6bb0d12af0a25495" name="stubs/AMQPQueueException.php" role="doc" />
<file md5sum="11f9f2733ffddd29235c36ce335452ae" name="stubs/AMQPTimestamp.php" role="doc" />
<file md5sum="955ec77431aadc509085986c6adb7c2a" name="stubs/AMQPValue.php" role="doc" />
<file md5sum="ad5c4a89ec22580ef404656e3258d1f5" name="stubs/AMQPValueException.php" role="doc" />
</dir>
</contents>
<dependencies>
<required>
<php>
<min>7.4.0</min>
</php>
<pearinstaller>
<min>1.4.0</min>
</pearinstaller>
</required>
</dependencies>
<providesextension>amqp</providesextension>
<extsrcrelease>
<configureoption default="autodetect" name="with-librabbitmq-dir" prompt="Set the path to librabbitmq install prefix" />
</extsrcrelease>
<changelog>
<release>
<date>2023-09-07</date>
<time>06:52:04</time>
<version>
<release>2.1.0</release>
<api>2.1.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="http://www.php.net/license">PHP License</license>
<notes>
- AMQPValue interface for custom value objects (Lars Strojny &lt;lars@strojny.net&gt;) (https://github.com/php-amqp/php-amqp/issues/473)
- Implement AMQPQueue::recover() to provide the basic.recover method (fixes #478) (Lars Strojny &lt;lars@strojny.net&gt;) (https://github.com/php-amqp/php-amqp/issues/484)
- Fix double free when an error occurs in AMQPQueue::consume() (Jan Prachar &lt;jan.prachar@gmail.com&gt;) (https://github.com/php-amqp/php-amqp/issues/482)
- Revamp error handling (Lars Strojny &lt;lars@strojny.net&gt;) (https://github.com/php-amqp/php-amqp/issues/485)
- Refactor AMQPQueue::consume error handling (Lars Strojny &lt;lars@strojny.net&gt;) (https://github.com/php-amqp/php-amqp/issues/483)
- Use RETURN_THROWS for parameter parsing errors (Lars Strojny &lt;lars@strojny.net&gt;) (https://github.com/php-amqp/php-amqp/issues/474)
- Fix auto-formatting (Lars Strojny &lt;lars@strojny.net&gt;) (https://github.com/php-amqp/php-amqp/commit/877b2f4)
- Remove appveyor badge (Lars Strojny &lt;lars@strojny.net&gt;) (https://github.com/php-amqp/php-amqp/commit/4971c80)
- Replace microtime() as a randomness source (Lars Strojny &lt;lars@strojny.net&gt;) (https://github.com/php-amqp/php-amqp/commit/4503e53)
- Fix version test for release builds (Lars Strojny &lt;lars@strojny.net&gt;) (https://github.com/php-amqp/php-amqp/commit/00a6715)
- Remove non-ASCII characters from package.xml to work around pecl.php.net issue (Lars Strojny &lt;lars@strojny.net&gt;) (https://github.com/php-amqp/php-amqp/commit/732f7e8)
- Bump actions/checkout from 3.5.3 to 3.6.0 (dependabot[bot]) (https://github.com/php-amqp/php-amqp/issues/475)
- Bump symplify/easy-coding-standard from 12.0.6 to 12.0.7 (dependabot[bot]) (https://github.com/php-amqp/php-amqp/issues/472)
- Bump actions/checkout from 3.5.3 to 3.6.0 (dependabot[bot]) (https://github.com/php-amqp/php-amqp/issues/471)
- Bump actions/checkout from 3.6.0 to 4.0.0 (dependabot[bot]) (https://github.com/php-amqp/php-amqp/issues/481)
For a complete list of changes see:
https://github.com/php-amqp/php-amqp/compare/v2.0.0...v2.1.0
</notes>
</release>
<release>
<date>2023-08-20</date>
<time>11:12:46</time>
<version>
<release>2.0.0</release>
<api>2.0.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="http://www.php.net/license">PHP License</license>
<notes>
Notable changes:
- Fix various API oddities, see https://github.com/php-amqp/php-amqp/tree/v2.0.0/UPGRADING.md for details
- Remove support for PHP 5
- Various bug fixes
(!) Most use-cases should not require much changes from 1.x but check out
https://github.com/php-amqp/php-amqp/tree/v2.0.0/UPGRADING.md for a detailed upgrade guide
All changes (chronologically):
- CentOS development environment (Lars Strojny &lt;lars@strojny.net&gt;) (https://github.com/php-amqp/php-amqp/issues/467)
- Ubuntu development containers (Lars Strojny &lt;lars@strojny.net&gt;) (https://github.com/php-amqp/php-amqp/issues/466)
- Test against upcoming PHP 8.3 (Lars Strojny &lt;lars@strojny.net&gt;) (https://github.com/php-amqp/php-amqp/issues/465)
- Make test host configurable (Lars Strojny &lt;lars@strojny.net&gt;) (https://github.com/php-amqp/php-amqp/issues/464)
- Cosmetics on type functions (Lars Strojny &lt;lars@strojny.net&gt;) (https://github.com/php-amqp/php-amqp/commit/350202f)
- Configurable serialization/deserialization depth (Lars Strojny &lt;lars@strojny.net&gt;) (https://github.com/php-amqp/php-amqp/issues/463)
- Allow bitmask flags arguments to be nullable where previously AMQP_NOPARAM/zero was required (Lars Strojny &lt;lars@strojny.net&gt;) (https://github.com/php-amqp/php-amqp/issues/462)
- Fix generated commit URLs in changelogs (Lars Strojny &lt;lars@strojny.net&gt;) (https://github.com/php-amqp/php-amqp/commit/4ee6159)
- Handle nested AMQP value serialization/deserialization (Lars Strojny &lt;lars@strojny.net&gt;) (https://github.com/php-amqp/php-amqp/issues/461)
- Document lack of reliability of AMQPConnection::isConnected (Lars Strojny &lt;lars@strojny.net&gt;) (https://github.com/php-amqp/php-amqp/issues/306)
- Prevent reuse of channel ID of broken channels (Lars Strojny &lt;lars@strojny.net&gt;) (https://github.com/php-amqp/php-amqp/issues/460)
- Gracefully handle zero as a heartbeat value (Lars Strojny &lt;lars@strojny.net&gt;) (https://github.com/php-amqp/php-amqp/issues/459)
- Build with the clang compiler on CI (Lars Strojny &lt;lars@strojny.net&gt;) (https://github.com/php-amqp/php-amqp/issues/457)
- Include stdint.h for PHP &gt;= 8.0 on Windows (Jan Ehrhardt) (https://github.com/php-amqp/php-amqp/issues/456)
- Fix segfault in setPort (Remi Collet &lt;remi@remirepo.net&gt;) (https://github.com/php-amqp/php-amqp/issues/455)
- Document BC changes (Lars Strojny &lt;lars@strojny.net&gt;)
- Document pseudo-bool method changes (Lars Strojny &lt;lars@strojny.net&gt;)
- Fix mangled header on MacOS (Lars Strojny &lt;lars@strojny.net&gt;) (https://github.com/php-amqp/php-amqp/issues/60)
- Validate argument parsing, add AMQPExchange::removeArgument() and AMQPQueue::removeArgument() (Lars Strojny &lt;lars@strojny.net&gt;) (https://github.com/php-amqp/php-amqp/issues/452)
- Skip SSL tests if certificates are missing (Lars Strojny &lt;lars@strojny.net&gt;) (https://github.com/php-amqp/php-amqp/issues/450)
- Check coding style and formatting of stub files (Lars Strojny &lt;lars@strojny.net&gt;) (https://github.com/php-amqp/php-amqp/issues/447)
- Parallelize test execution (Lars Strojny &lt;lars@strojny.net&gt;) (https://github.com/php-amqp/php-amqp/issues/444)
- Deterministic configuration for PHP CLI (Lars Strojny &lt;lars@strojny.net&gt;) (https://github.com/php-amqp/php-amqp/issues/443)
- Fix tag creation during release management (Lars Strojny &lt;lars@strojny.net&gt;)
- Move test-report.sh into infra (Lars Strojny &lt;lars@strojny.net&gt;)
- The big fat API renovation (Lars Strojny &lt;lars@strojny.net&gt;) (https://github.com/php-amqp/php-amqp/issues/437)
- Handle alpha/beta stability correctly (Lars Strojny &lt;lars@strojny.net&gt;) (https://github.com/php-amqp/php-amqp/issues/5546436)
- Expose better version information (Lars Strojny &lt;lars@strojny.net&gt;) (https://github.com/php-amqp/php-amqp/issues/438)
- Auto-format the codebase (Lars Strojny &lt;lars@strojny.net&gt;) (https://github.com/php-amqp/php-amqp/issues/436)
- More consistent return types for AMQPEnvelope (Lars Strojny &lt;lars@strojny.net&gt;) (https://github.com/php-amqp/php-amqp/issues/435)
- Update stubs (Lars Strojny &lt;lars@strojny.net&gt;)
- Fix parameter error handling in AMQPConnection and AMQPChannel (Lars Strojny &lt;lars@strojny.net&gt;) (https://github.com/php-amqp/php-amqp/issues/434)
- Increase credentials and identifier limits (Lars Strojny &lt;lars@strojny.net&gt;) (https://github.com/php-amqp/php-amqp/issues/433)
- Reliably clear consumer tag on AMQPQueue::cancel (Lars Strojny &lt;lars@strojny.net&gt;) (https://github.com/php-amqp/php-amqp/issues/432)
- Ignore failures on experimental builds (Lars Strojny &lt;lars@strojny.net&gt;) (https://github.com/php-amqp/php-amqp/issues/25)
- Update branch name (Lars Strojny &lt;lars@strojny.net&gt;) (https://github.com/php-amqp/php-amqp/issues/7)
- Bump shivammathur/setup-php from 2.25.3 to 2.25.4 (dependabot[bot]) (https://github.com/php-amqp/php-amqp/issues/431)
- PHP 8.2 refactorings (Lars Strojny &lt;lars@strojny.net&gt;) (https://github.com/php-amqp/php-amqp/issues/430)
- Fix php version check for static building (Misha Kulakovsky &lt;m@klkvsk.ru&gt;) (https://github.com/php-amqp/php-amqp/issues/425)
- Fix stub exception class (closes #427) (Lars Strojny &lt;lars@strojny.net&gt;)
- Document custom connection name in stubs (Lars Strojny &lt;lars@strojny.net&gt;) (https://github.com/php-amqp/php-amqp/issues/700000)
- Expose Delivery Mode through constants (Flavio Heleno &lt;flaviohbatista@gmail.com&gt;) (https://github.com/php-amqp/php-amqp/issues/420)
- Fix deprecation issue in PHP 8.1 for $consumerTag argument to AMQPQueue::consume() method (Liviu-Ionut Iosif) (https://github.com/php-amqp/php-amqp/issues/421)
- Fix: Deprecated: Creation of dynamic property (8.2) (Remi Collet &lt;remi@remirepo.net&gt;) (https://github.com/php-amqp/php-amqp/issues/418)
- Fix AMQPEnvelope::getDeliveryTag() return type (Flavio Heleno &lt;flaviohbatista@gmail.com&gt;) (https://github.com/php-amqp/php-amqp/issues/415)
- Fix ack/nack/reject param documentation (Flavio Heleno &lt;flaviohbatista@gmail.com&gt;) (https://github.com/php-amqp/php-amqp/issues/414)
- Mention time units in all timeout-related methods (Andrii Dembitskyi &lt;andrew.dembitskiy@gmail.com&gt;) (https://github.com/php-amqp/php-amqp/issues/410)
For a complete list of changes see:
https://github.com/php-amqp/php-amqp/compare/v1.11.0...v2.0.0
</notes>
</release>
<release>
<date>2023-08-15</date>
<time>22:10:56</time>
<version>
<release>2.0.0RC1</release>
<api>2.0.0RC1</api>
</version>
<stability>
<release>beta</release>
<api>beta</api>
</stability>
<license uri="http://www.php.net/license">PHP License</license>
<notes>
- Handle nested AMQP value serialization/deserialization (Lars Strojny &lt;lars@strojny.net&gt;) (https://github.com/php-amqp/php-amqp/issues/461)
- Document lack of reliability of AMQPConnection::isConnected (Lars Strojny &lt;lars@strojny.net&gt;) (https://github.com/php-amqp/php-amqp/issues/306)
- Prevent reuse of channel ID of broken channels (Lars Strojny &lt;lars@strojny.net&gt;) (https://github.com/php-amqp/php-amqp/issues/460)
- Gracefully handle zero as a heartbeat value (Lars Strojny &lt;lars@strojny.net&gt;) (https://github.com/php-amqp/php-amqp/issues/459)
- Build with the clang compiler on CI (Lars Strojny &lt;lars@strojny.net&gt;) (https://github.com/php-amqp/php-amqp/issues/457)
For a complete list of changes see:
https://github.com/php-amqp/php-amqp/compare/v2.0.0beta2...v2.0.0RC1
</notes>
</release>
<release>
<date>2023-08-03</date>
<time>06:22:40</time>
<version>
<release>2.0.0beta2</release>
<api>2.0.0beta2</api>
</version>
<stability>
<release>beta</release>
<api>beta</api>
</stability>
<license uri="http://www.php.net/license">PHP License</license>
<notes>
- Include stdint.h for PHP &gt;= 8.0 on Windows (Jan Ehrhardt) (https://github.com/php-amqp/php-amqp/issues/456)
- Fix segfault in setPort (Remi Collet &lt;remi@remirepo.net&gt;) (https://github.com/php-amqp/php-amqp/issues/455)
(!) Check out https://github.com/php-amqp/php-amqp/tree/latest/UPGRADING.md for backward incompatible changes
For a complete list of changes see:
https://github.com/php-amqp/php-amqp/compare/v2.0.0beta1...v2.0.0beta2
</notes>
</release>
<release>
<date>2023-08-02</date>
<time>21:19:41</time>
<version>
<release>2.0.0beta1</release>
<api>2.0.0beta1</api>
</version>
<stability>
<release>beta</release>
<api>beta</api>
</stability>
<license uri="http://www.php.net/license">PHP License</license>
<notes>
- Document BC changes (Lars Strojny &lt;lars@strojny.net&gt;) (https://github.com/php-amqp/php-amqp/issues/0)
- Document pseudo-bool method changes (Lars Strojny &lt;lars@strojny.net&gt;) (https://github.com/php-amqp/php-amqp/issues/0)
- Fix mangled header on MacOS (Lars Strojny &lt;lars@strojny.net&gt;) (https://github.com/php-amqp/php-amqp/issues/60)
- Validate argument parsing, add AMQPExchange::removeArgument() and AMQPQueue::removeArgument() (Lars Strojny &lt;lars@strojny.net&gt;) (https://github.com/php-amqp/php-amqp/issues/452)
- Skip SSL tests if certificates are missing (Lars Strojny &lt;lars@strojny.net&gt;) (https://github.com/php-amqp/php-amqp/issues/450)
- Bump shivammathur/setup-php from 2.25.4 to 2.25.5 (dependabot[bot]) (https://github.com/php-amqp/php-amqp/issues/449)
- Check coding style and formatting of stub files (Lars Strojny &lt;lars@strojny.net&gt;) (https://github.com/php-amqp/php-amqp/issues/447)
- Parallelize test execution (Lars Strojny &lt;lars@strojny.net&gt;) (https://github.com/php-amqp/php-amqp/issues/444)
- Deterministic configuration for PHP CLI (Lars Strojny &lt;lars@strojny.net&gt;) (https://github.com/php-amqp/php-amqp/issues/443)
- Fix tag creation during release management (Lars Strojny &lt;lars@strojny.net&gt;) (https://github.com/php-amqp/php-amqp/issues/0)
- Move test-report.sh into infra (Lars Strojny &lt;lars@strojny.net&gt;) (https://github.com/php-amqp/php-amqp/issues/0)
(!) Check out https://github.com/php-amqp/php-amqp/tree/latest/UPGRADING.md for backward incompatible changes
For a complete list of changes see:
https://github.com/php-amqp/php-amqp/compare/v2.0.0alpha2...v2.0.0beta1
</notes>
</release>
<release>
<date>2023-07-29</date>
<time>08:51:15</time>
<version>
<release>2.0.0alpha1</release>
<api>2.0.0alpha1</api>
</version>
<stability>
<release>alpha</release>
<api>alpha</api>
</stability>
<license uri="http://www.php.net/license">PHP License</license>
<notes>
- The big fat API renovation (Lars Strojny &lt;lars@strojny.net&gt;) (https://github.com/php-amqp/php-amqp/issues/437)
- Handle alpha/beta stability correctly (Lars Strojny &lt;lars@strojny.net&gt;) (https://github.com/php-amqp/php-amqp/issues/5546436)
- Expose better version information (Lars Strojny &lt;lars@strojny.net&gt;) (https://github.com/php-amqp/php-amqp/issues/438)
- Auto-format the codebase (Lars Strojny &lt;lars@strojny.net&gt;) (https://github.com/php-amqp/php-amqp/issues/436)
- More consistent return types for AMQPEnvelope (Lars Strojny &lt;lars@strojny.net&gt;) (https://github.com/php-amqp/php-amqp/issues/435)
- Update stubs (Lars Strojny &lt;lars@strojny.net&gt;) (https://github.com/php-amqp/php-amqp/issues/0)
- Fix parameter error handling in AMQPConnection and AMQPChannel (Lars Strojny &lt;lars@strojny.net&gt;) (https://github.com/php-amqp/php-amqp/issues/434)
- Increase credentials and identifier limits (Lars Strojny &lt;lars@strojny.net&gt;) (https://github.com/php-amqp/php-amqp/issues/433)
- Reliably clear consumer tag on AMQPQueue::cancel (Lars Strojny &lt;lars@strojny.net&gt;) (https://github.com/php-amqp/php-amqp/issues/432)
- Ignore failures on experimental builds (Lars Strojny &lt;lars@strojny.net&gt;) (https://github.com/php-amqp/php-amqp/issues/25)
- Update branch name (Lars Strojny &lt;lars@strojny.net&gt;) (https://github.com/php-amqp/php-amqp/issues/7)
- Bump shivammathur/setup-php from 2.25.3 to 2.25.4 (dependabot[bot]) (https://github.com/php-amqp/php-amqp/issues/431)
- PHP 8.2 refactorings (Lars Strojny &lt;lars@strojny.net&gt;) (https://github.com/php-amqp/php-amqp/issues/430)
- Fix php version check for static building (Misha Kulakovsky &lt;m@klkvsk.ru&gt;) (https://github.com/php-amqp/php-amqp/issues/425)
- Fix stub exception class (closes #427) (Lars Strojny &lt;lars@strojny.net&gt;) (https://github.com/php-amqp/php-amqp/issues/0)
- Document custom connection name in stubs (Lars Strojny &lt;lars@strojny.net&gt;) (https://github.com/php-amqp/php-amqp/issues/700000)
- Expose Delivery Mode through constants (Flavio Heleno &lt;flaviohbatista@gmail.com&gt;) (https://github.com/php-amqp/php-amqp/issues/420)
- Fix deprecation issue in PHP 8.1 for $consumerTag argument to AMQPQueue::consume() method (Liviu-Ionut Iosif) (https://github.com/php-amqp/php-amqp/issues/421)
- Fix: Deprecated: Creation of dynamic property (8.2) (Remi Collet &lt;remi@remirepo.net&gt;) (https://github.com/php-amqp/php-amqp/issues/418)
- Fix AMQPEnvelope::getDeliveryTag() return type (Flavio Heleno &lt;flaviohbatista@gmail.com&gt;) (https://github.com/php-amqp/php-amqp/issues/415)
- Fix ack/nack/reject param documentation (Flavio Heleno &lt;flaviohbatista@gmail.com&gt;) (https://github.com/php-amqp/php-amqp/issues/414)
- Mention time units in all timeout-related methods (Andrii Dembitskyi &lt;andrew.dembitskiy@gmail.com&gt;) (https://github.com/php-amqp/php-amqp/issues/410)
For a complete list of changes see:
https://github.com/php-amqp/php-amqp/compare/v1.11.0...v2.0.0alpha1
</notes>
</release>
<release>
<date>2021-12-01</date>
<time>11:13:57</time>
<version>
<release>1.11.0</release>
<api>1.11.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="http://www.php.net/license">PHP License</license>
<notes>
- PHP 8.1 compatibility (Lars Strojny &lt;lars.strojny@internations.org&gt;) (https://github.com/php-amqp/php-amqp/issues/405)
- Install RabbitMQ from tarball instead of git to improve speed (Michele Locati &lt;michele@locati.it&gt;) (https://github.com/php-amqp/php-amqp/issues/392)
- Improve release tooling (Lars Strojny &lt;lars.strojny@internations.org&gt;)
For a complete list of changes see:
https://github.com/php-amqp/php-amqp/compare/v1.11.0RC1...v1.11.0
</notes>
</release>
<release>
<date>2021-11-02</date>
<time>11:56:51</time>
<version>
<release>1.11.0RC1</release>
<api>1.11.0RC1</api>
</version>
<stability>
<release>beta</release>
<api>beta</api>
</stability>
<license uri="http://www.php.net/license">PHP License</license>
<notes>
- PHP 8 support for Windows (Jan Ehrhardt &lt;github@ehrhardt.nl&gt;) (https://github.com/php-amqp/php-amqp/issues/396) - Add installation instructions for Windows (Marcos Rezende &lt;rezehnde@gmail.com&gt;) (https://github.com/php-amqp/php-amqp/issues/394) - Fixes AMQPConnection Stub typo (Gregoire Pineau &lt;lyrixx@lyrixx.info&gt;) (https://github.com/php-amqp/php-amqp/issues/401) - Fix AMQPQueue stub (Gocha Ossinkine &lt;ossinkine@ya.ru&gt;) (https://github.com/php-amqp/php-amqp/issues/404) - SetReadTimeout accepts float param (Andrii Dembitskyi &lt;andrew.dembitskiy@gmail.com&gt;) (https://github.com/php-amqp/php-amqp/issues/388) - Move from Travis CI to Github Actions (Vadim Borodavko &lt;vadim.borodavko@gmail.com&gt;) (https://github.com/php-amqp/php-amqp/issues/391) - Release tooling: handle RC stability properly (Lars Strojny &lt;lars.strojny@internations.org&gt;) (https://github.com/php-amqp/php-amqp/issues/71) - More robust release tooling (Lars Strojny &lt;lars.strojny@internations.org&gt;) (https://github.com/php-amqp/php-amqp/issues/0)For a complete list of changes see:https://github.com/php-amqp/php-amqp/compare/v1.11.0beta...v1.11.0RC1
</notes>
</release>
<release>
<date>2020-04-05</date>
<time>17:40:42</time>
<version>
<release>1.10.2</release>
<api>1.10.2</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="http://www.php.net/license">PHP License</license>
<notes>
- Windows build: avoid variable lengths arrays (Christoph M. Becker) (https://github.com/pdezwart/php-amqp/issues/368)For a complete list of changes see:https://github.com/pdezwart/php-amqp/compare/v1.10.1...v1.10.2
</notes>
</release>
<release>
<date>2020-04-05</date>
<time>16:04:23</time>
<version>
<release>1.10.1</release>
<api>1.10.1</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="http://www.php.net/license">PHP License</license>
<notes>
- Fix Windows compatibility: avoid variable lengths arrays (Christoph M. Becker &lt;cmbecker69@gmx.de&gt;) (https://github.com/pdezwart/php-amqp/issues/368)For a complete list of changes see:https://github.com/pdezwart/php-amqp/compare/v1.10.0...v1.10.1
</notes>
</release>
<release>
<date>2020-04-03</date>
<time>19:17:00</time>
<version>
<release>1.10.0</release>
<api>1.3.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="http://www.php.net/license">PHP License</license>
<notes>
- Adding global prefetch support (#366) (Terence Marks &lt;tezmarks@gmail.com&gt;) (https://github.com/pdezwart/php-amqp/issues/367) - Fix minimal librabbitmq in config.m4 and readme (Remi Collet &lt;remi@remirepo.net&gt;) (https://github.com/pdezwart/php-amqp/issues/347) - Support connection_name parameter for custom connection names in RabbitMQ (Alexandr Zolotukhin &lt;supersmile2009@gmail.com&gt;) (https://github.com/pdezwart/php-amqp/issues/363) - Fixed build on Travis CI (Alexandr Zolotukhin &lt;supersmile2009@gmail.com&gt;) (https://github.com/pdezwart/php-amqp/issues/365) - Make use of rpc_timeout in newer librabbitmq by introducing new constructor hash parameter (modulatix &lt;oleg.pereverzev@gmail.com&gt;) (https://github.com/pdezwart/php-amqp/issues/334) - Fix #355: Compile failure on php 7.4 (Christoph M. Becker &lt;cmbecker69@gmx.de&gt;) (https://github.com/pdezwart/php-amqp/issues/359) - Update amqp_type.c (Pawel Mikolajczuk &lt;pawel@mikolajczuk.in&gt;) (https://github.com/pdezwart/php-amqp/issues/360) - Build against PHP 7.4 (Carlos Barrero &lt;carlos.barrero@spotahome.com&gt;) (https://github.com/pdezwart/php-amqp/issues/361) - Pass params by value in AMQPConnection::__construct() (Sergei Karpov) (https://github.com/pdezwart/php-amqp/issues/346) - Fix explicit null-string for $routing_key in Queue::bind() and Exchange::publish() (Sergei Karpov) (https://github.com/pdezwart/php-amqp/issues/341) - No longer limited to PHP 5 (Lars Strojny &lt;lars.strojny@internations.org&gt;) (https://github.com/pdezwart/php-amqp/issues/0) - Fix minimal version to 5.6 (Remi Collet &lt;remi@famillecollet.com&gt;) (https://github.com/pdezwart/php-amqp/issues/338) - Back to dev (Lars Strojny &lt;lars.strojny@internations.org&gt;) (https://github.com/pdezwart/php-amqp/issues/1)For a complete list of changes see:https://github.com/pdezwart/php-amqp/compare/v1.9.4...v1.10.0
</notes>
</release>
<release>
<date>2017-10-19</date>
<time>16:00:00</time>
<version>
<release>1.9.4</release>
<api>1.3.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="http://www.php.net/license">PHP License</license>
<notes>
* Improved build environment (Olivier Dolbeau) * Various bug fixes and improvements (Bogdan Padalko, yjqg6666) * Support for PHP 7.3 (Remi Collet)For a complete list of changes see:https://github.com/pdezwart/php-amqp/compare/v1.9.3...v1.9.4
</notes>
</release>
<release>
<date>2017-10-19</date>
<time>16:00:00</time>
<version>
<release>1.9.3</release>
<api>1.3.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="http://www.php.net/license">PHP License</license>
<notes>
* Fix handling channel consumers (#284) (Bogdan Padalko) * Add support for consumer tags (#282) (Bogdan Padalko) For a complete list of changes see: https://github.com/pdezwart/php-amqp/compare/v1.9.1...v1.9.3
</notes>
</release>
<release>
<version>
<release>1.9.1</release>
<api>1.3.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="http://www.php.net/license">PHP License</license>
<notes>
* Separate queue and exchange args to prevent segfault with opcache enabled (Bogdan Padalko) For a complete list of changes see: https://github.com/pdezwart/php-amqp/compare/v1.9.0...v1.9.1
</notes>
</release>
<release>
<version>
<release>1.9.0</release>
<api>1.3.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="http://www.php.net/license">PHP License</license>
<notes>
* AMQP types are now better supported through value objects (see #271, #269, #265) (Bogdan Padalko, Lars Strojny)For a complete list of changes see:https://github.com/pdezwart/php-amqp/compare/v1.8.0...v1.9.0
</notes>
</release>
<release>
<version>
<release>1.9.0beta2</release>
<api>1.3.0</api>
</version>
<stability>
<release>beta</release>
<api>stable</api>
</stability>
<license uri="http://www.php.net/license">PHP License</license>
<notes>
* AMQP types are now better supported through value objects (see #271, #269, #265) (Bogdan Padalko, Lars Strojny)For a complete list of changes see:https://github.com/pdezwart/php-amqp/compare/v1.8.0...v1.9.0beta2
</notes>
</release>
<release>
<version>
<release>1.9.0beta1</release>
<api>1.3.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="http://www.php.net/license">PHP License</license>
<notes>
* AMQP types are now better supported through value objects (see #271, #269, #265) (Bogdan Padalko, Lars Strojny) For a complete list of changes see: https://github.com/pdezwart/php-amqp/compare/v1.8.0...v1.9.0beta1
</notes>
</release>
<release>
<version>
<release>1.8.0</release>
<api>1.2.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="http://www.php.net/license">PHP License</license>
<notes>
* Add SSL connection support (Bogdan Padalko) * Support for server method handling: confirms (publisher acknowledgments) and basic.return (Bogdan Padalko) * Add support for pkg-config (Remi Collet) * Preserve AMQP server error code for exceptions (Bogdan Padalko) * Add AMQPChannel::close() (Bogdan Padalko) * Fix segfault when deleting an unknown exchange (Bogdan Padalko) * Fix segfault with PHPUnit and xdebug for PHP 7 (Bogdan Padalko) * Add publisher confirms (Bogdan Padalko) For a complete list of changes see: https://github.com/pdezwart/php-amqp/compare/v1.7.1...v1.8.0
</notes>
</release>
<release>
<version>
<release>1.8.0beta2</release>
<api>1.2.0</api>
</version>
<stability>
<release>beta</release>
<api>stable</api>
</stability>
<license uri="http://www.php.net/license">PHP License</license>
<notes>
* Add SSL connection support (Bogdan Padalko) * Support for server method handling: confirms (publisher acknowledgments) and basic.return (Bogdan Padalko) * Add support for pkg-config (Remi Collet) * Preserve AMQP server error code for exceptions (Bogdan Padalko) * Add AMQPChannel::close() (Bogdan Padalko) * Fix segfault when deleting an unknown exchange (Bogdan Padalko) * Fix segfault with PHPUnit and xdebug for PHP 7 (Bogdan Padalko) * Add publisher confirms (Bogdan Padalko) * Fix 1.8.0 release (Lars Strojny) For a complete list of changes see: https://github.com/pdezwart/php-amqp/compare/v1.7.1...v1.8.0beta2
</notes>
</release>
<release>
<version>
<release>1.7.1</release>
<api>1.0.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="http://www.php.net/license">PHP License</license>
<notes>
* Add support for pkg-config (Remi Collet) * Fixed wrongful truncation of amqp.password to the length of amqp.login (https://github.com/skobkars)For a complete list of changes see:https://github.com/pdezwart/php-amqp/compare/v1.7.0...v1.7.1
</notes>
</release>
<release>
<version>
<release>1.7.0</release>
<api>1.0.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="http://www.php.net/license">PHP License</license>
<notes>
* Add PHP7 support (Bogdan Padalko, Steffen Hanikel) * Add AMQPEnvelope::hasHeader(), AMQPExchange::hasArgument() and AMQPQueue::hasArgument() to check whether specific header exists (Bogdan Padalko) * Fix AMQPConnection::setPort() writes to wrong property (Bogdan Padalko) * Add compiled librabbitmq version early check (Bogdan Padalko) * Fix segfault when channel zval type != IS_OBJECT (Bogdan Padalko) * Fix API breakage when rabbitmq-c &lt; 0.6.0 used (Bogdan Padalko) * Close connection on library errors (Bogdan Padalko) * Do not store connection resource ID string (Bogdan Padalko) * Explicitly cleanup references on connection on cleanup (Bogdan Padalko) * Show effective connection values when connection is active and passed values otherwise (Bogdad Padalko) * Completely move to zend object custom objects (AMQPEnvelope, AMQPExchange and AMQPQueue) (Bogdan Padalko) * Use zend object on custom objects for properties storing (AMQPConnection and AMQPChannel) (Bogdan Padalko) * Fix not properly deleted connection resource. (Bogdan Padalko, Steffen Hanikel) * Fix not properly allocated and freed amqp_table_t arguments table memory. (Bogdan Padalko, Steffen Hanikel) * Upgrade vagrant box to Ubuntu 15.10 Wily Werwof (Bogdan Padalko) * Fix various grammar and spelling mistakes (Artem Gordinsky) * Update stubs (Sascha-Oliver Prolic)For a complete list of changes see:https://github.com/pdezwart/php-amqp/compare/v1.6.0...v1.7.0
</notes>
</release>
<release>
<version>
<release>1.7.0alpha2</release>
<api>1.0.0</api>
</version>
<stability>
<release>beta</release>
<api>stable</api>
</stability>
<license uri="http://www.php.net/license">PHP License</license>
<notes>
* Fix AMQPConnection::setPort() writes to wrong property (Bogdan Padalko) * Upgrade vagrant box to Ubuntu 15.10 Wily Werwof (Bogdan Padalko) For a complete list of changes see: https://github.com/pdezwart/php-amqp/compare/v1.7.0alpha1...v1.7.0alpha2
</notes>
</release>
<release>
<version>
<release>1.7.0alpha1</release>
<api>1.0.0</api>
</version>
<stability>
<release>beta</release>
<api>stable</api>
</stability>
<license uri="http://www.php.net/license">PHP License</license>
<notes>
* Add PHP7 support (Bogdan Padalko, Steffen Hanikel) * Add AMQPEnvelope::hasHeader(), AMQPExchange::hasArgument() and AMQPQueue::hasArgument() to check whether specific header exists (Bogdan Padalko) * Completely move to zend object custom objects (AMQPEnvelope, AMQPExchange and AMQPQueue) (Bogdan Padalko) * Use zend object on custom objects for properties storing (AMQPConnection and AMQPChannel) (Bogdan Padalko) * Fix not properly deleted connection resource. (Bogdan Padalko, Steffen Hanikel) * Fix not properly allocated and freed amqp_table_t arguments table memory. (Bogdan Padalko, Steffen Hanikel) For a complete list of changes see: https://github.com/pdezwart/php-amqp/compare/v1.6.0...v1.7.0alpha1
</notes>
</release>
<release>
<version>
<release>1.6.0</release>
<api>1.0.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<date>2015-11-03</date>
<license uri="http://www.opensource.org/licenses/bsd-license.php">BSD style</license>
<notes>
1.6.0 Release: * Various build fixes (Remi Collet) * librabbitmq 0.5 compatibility (Remi Collet) For a complete list of changes see: https://github.com/pdezwart/php-amqp/compare/v1.6.0beta4...v1.6.0
</notes>
</release>
<release>
<version>
<release>1.6.0beta4</release>
<api>1.0.0</api>
</version>
<stability>
<release>beta</release>
<api>stable</api>
</stability>
<date>2015-09-18</date>
<notes>
1.6.0beta4 Release: * Add ability to re-attach consuming callback (Bogdan Padalko) * Add AMQPQueue::getConsumerTag() method and fix consumer tag handling in AMQPQueue class methods (Bogdan Padalko) * Add channel_max, frame_max and hearbeat support (see AMQPConnection::__construct() method) (librabbitmq version &gt;= 0.6.0 required) (Bogdan Padalko) * Fix issue with message truncating to first null-byte during sending (Bogdan Padalko, special thanks to Alex Kazinskiy, Alvaro Videla and Michael Klishin) * Fix issue with message truncating to first null-byte during sending (Bogdan Padalko) * Fix invalid delivery mode returned by AMQPEnvelop::getDeliveryMode (Bogdan Padalko) For a complete list of changes see: https://github.com/pdezwart/php-amqp/compare/v1.6.0beta3...v1.6.0beta4
</notes>
</release>
<release>
<version>
<release>1.6.0beta3</release>
<api>1.0.0</api>
</version>
<stability>
<release>beta</release>
<api>stable</api>
</stability>
<date>2015-04-18</date>
<notes>
1.6.0beta3 Release: * Add basic.recover AMQP method support (see AMQPChannel::basicRecover() method) (Bogdan Padalko) * Fix building on OS X (Bogdan Padalko) For a complete list of changes see: https://github.com/pdezwart/php-amqp/compare/v1.6.0beta2...v1.6.0beta3
</notes>
</release>
<release>
<version>
<release>1.6.0beta2</release>
<api>1.0.0</api>
</version>
<stability>
<release>beta</release>
<api>stable</api>
</stability>
<date>2015-01-27</date>
<notes>
1.6.0beta2 Release: * Pulled 1.6.0beta1, as it had the stable tag * Add support for nested arguments values (Bogdan Padalko) * Add auto_delete and internal flags support for AMQPExchange::declare (librabbitmq version &gt; 0.5.2 required) (Bogdan Padalko) * Fix persistence support (Bogdan Padalko) * Add AMQPExchange::unbind method and fix AMQPExchange::bind method. WARNING: this can potentially break BC (Bogdan Padalko) * Add support to consume messages from multiple queues (Bogdan Padalko) * Add AMQP_DURABLE flag support to AMQPExchange::setFlags (librabbitmq version &gt; 0.5.2 required) (Bogdan Padalko) * Fix inconsistent INI values comparison which leads to deprecation warnings (Bogdan Padalko) * Various segfault and memory leak fixes (Bogdan Padalko) For a complete list of changes see: https://github.com/pdezwart/php-amqp/compare/v1.4.0...v1.6.0beta2
</notes>
</release>
<release>
<version>
<release>1.4.0</release>
<api>1.0.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<date>2014-04-14</date>
<notes>
1.4.0 Release: * Fix #72: Publishing to an exchange with an empty name is valid and should not throw an exception (lstrojny) * Fix #77: AMQPQueue::delete() now no longer returns a boolean, but an integer of how many messages were deleted. WARNING: this can potentially break BC (Bogdan Padalko) * Fix #75: adhering to the AMQP spec by closing channel and sometimes even the connection in case of certain errors (Bogdan Padalko) * Fix #81: Add optional arguments parameter to bind()/unbind() (Michael Squires) * Fix #82: additional getters (getChannel(), getConnection()) (Bogdan Padalko) * Fix #92: fix various memory leaks in the AMQPConnection class (Lars Strojny) * Using amqp_error_string2() instead of deprecated amqp_error_string() (Lars Strojny) * Fix memory leaks in setHost, setLogin, setPassword, setVhost (Lars Strojny, Bogdan Padalko) * Fixed a memleak in php_amqp_connect (Julien Pauli) * Use rabbitmq-c defaults for max channels and default frame size (Bogdan Padalko) * Fix socket timeout error when connecting over high-latency network (Bogdan Padalko) For a complete list of changes see: https://github.com/pdezwart/php-amqp/compare/v1.4.0beta2...v1.4.0
</notes>
</release>
<release>
<version>
<release>1.4.0beta2</release>
<api>1.0.0</api>
</version>
<stability>
<release>beta</release>
<api>stable</api>
</stability>
<date>2014-03-08</date>
<notes>
1.4.0beta2 Release: * - For a complete list of changes see: https://github.com/pdezwart/php-amqp/compare/v1.4.0beta1...v1.4.0beta2
</notes>
</release>
<release>
<version>
<release>1.4.0beta1</release>
<api>1.0.0</api>
</version>
<stability>
<release>beta</release>
<api>stable</api>
</stability>
<date>2014-01-15</date>
<notes>
1.4.0beta1 Release: * - For a complete list of changes see: https://github.com/pdezwart/php-amqp/compare/v1.3.0...v1.4.0beta1
</notes>
</release>
<release>
<version>
<release>1.3.0</release>
<api>1.0.0</api>
</version>
<stability>
<release>beta</release>
<api>stable</api>
</stability>
<date>2013-11-25</date>
<notes>
1.3.0 Release: * Allow retrieving auto-delete exchanges (Guilherme Blanco) * Add connection timeout support. This requires bumping the version requirement for librabbitmq to &gt;= 0.4.1 (Bogdan Padalko) For a complete list of changes see: https://github.com/pdezwart/php-amqp/compare/v1.2.0...v1.3.0
</notes>
</release>
<release>
<version>
<release>1.2.0</release>
<api>1.0.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<date>2013-05-28</date>
<notes>
1.2.0 Release: * New methods AMQPChannel::getPrefetchCount() and AMQPChannel::getPrefetchSize() * Deprecate AMQPQueue::declare() in favor of AMQPQueue::declareQueue() * Deprecate AMQPExchange::declare() in favor of AMQPExchange::declareExchange() * Smaller fixes to our stubs For a complete list of changes see: https://github.com/pdezwart/php-amqp/compare/v1.0.10...v1.2.0
</notes>
</release>
<release>
<version>
<release>1.0.10</release>
<api>1.0.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<date>2013-05-28</date>
<notes>
1.0.10 Release: * report correct version in module info (Lars Strojny) * fix class interface definitions (Vladimir Kartaviy) * add ability to bind a queue with an empty routing key (Vladimir Kartaviy) * fix constant AMQP_IFUNUSED (Florin Patan, Bernhard Weisshuhn) * added stubs for ide use (Vladimir Kartaviy, Bernhard Weisshuhn) * Fixed memory leak in queue-&gt;declareQueue (Ilya a.k.a. coodix) * support for php 5.5 (Lars Strojny) * add support for read and write timeouts (Bogdan Padalko) * fix memory leak in queue-&gt;consume (Dmitry Vinogradov) * add support for custom exchange types (empi89) * support for nested custom headers (Bernhard Weisshuhn) * fix memory (Bernhard Weisshuhn) For a complete list of changes see: https://github.com/pdezwart/php-amqp/compare/v1.0.9...v1.0.10
</notes>
</release>
<release>
<version>
<release>1.0.9</release>
<api>1.0.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<date>2012-11-13</date>
<notes>
1.0.9 Release: * Fix pecl relase
</notes>
</release>
<release>
<version>
<release>1.0.8</release>
<api>1.0.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<date>2012-11-12</date>
<notes>
1.0.8 Release: * Skip var_dump test on PHP 5.2 * Initialize consumer tag string length to zero * Support connection time outs * Adding consumer_tag parameter to AMQPQueue::cancel * Clean up error code handling
</notes>
</release>
<release>
<version>
<release>1.0.7</release>
<api>1.0.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<date>2012-09-10</date>
<notes>
1.0.7 Release: * Adding missing macros
</notes>
</release>
<release>
<version>
<release>1.0.6</release>
<api>1.0.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<date>2012-09-10</date>
<notes>
1.0.6 Release: * 62354: Segmentation fault when printing or dumping an object that contains an AMQP object * Adding in missing tests * Fixing release number in PHP information * Adding .gitignore info for Git users * Cleaning up debug handling
</notes>
</release>
<release>
<version>
<release>1.0.5</release>
<api>1.0.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<date>2012-08-26</date>
<notes>
1.0.5 Release: * 62696: Incorrect exchange type * Handles server connections being closed during consume and publish correctly * 62628: Exception thrown in consume will lock PHP * 61533: Segmentation fault when instantiating channel, queue or exchange with wrong object, then using it
</notes>
</release>
<release>
<version>
<release>1.0.4</release>
<api>1.0.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<date>2012-07-18</date>
<notes>
1.0.4 Release: * 62549: Fixing broken persistent connection * 62412: Fixing segfault due to destruction order * 62411: Fixing declaration overload bug * 62410: Fixing declaration overload for 5.4 * 61337: Adding License file * 61749: Fixing handling for binary content in envelope * 62087: Adding appropriate version information * 62354: Enabling debugging dumping of objects * 61351: Updating min PHP version requirements to 5.2.0
</notes>
</release>
<release>
<version>
<release>1.0.3</release>
<api>1.0.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<date>2012-05-19</date>
<notes>
1.0.3 Release: * Fixing compilation issue with PHP 5.4 * Memory leak when using AMQPQueue::get from a queue with no messages
</notes>
</release>
<release>
<version>
<release>1.0.1</release>
<api>1.0.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<date>2012-03-02</date>
<notes>
1.0.1 Release:Fixed bug: * 61247: Allow queue creation with empty queue name, and return auto generated name * 61127: Segmentation fault when cleaning up an AMQPChannel without calling AMQPConnection::connect first
</notes>
</release>
<release>
<version>
<release>1.0.0</release>
<api>1.0.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<date>2012-02-15</date>
<notes>
1.0.0 Release:Changed/finalized API signature: * Exposing AMQPChannel * Exposing AMQPEnvelope * Exposing more queue and exchange arguments and flags * Exposing basic.qosAdded persistent connectionsCleaned up codebaseFixed memory leaks and segmentation faults
</notes>
</release>
<release>
<version>
<release>0.3.1</release>
<api>0.0.1</api>
</version>
<stability>
<release>beta</release>
<api>beta</api>
</stability>
<date>2011-09-08</date>
<notes>
0.3.1 Release:Fixed bug: * 24323: Cannot get the name for auto-named reply-to queues
</notes>
</release>
<release>
<version>
<release>0.3.0</release>
<api>0.0.1</api>
</version>
<stability>
<release>beta</release>
<api>beta</api>
</stability>
<date>2011-06-09</date>
<notes>
0.3.0 Release:Fixed memory leaks in many functions (courtesy Jonathan Tansavatdi and Andy Wick)Fixed consume method to return proper valuesCleaned up variable usageFixed bugs: * 22638: Unexpected exit code 1 with AMQPQueue::consume() * 22698: AMQPQueue::consume
</notes>
</release>
<release>
<version>
<release>0.2.2</release>
<api>0.0.1</api>
</version>
<stability>
<release>beta</release>
<api>beta</api>
</stability>
<date>2011-01-02</date>
<notes>
0.2.2 Release:Made extension compatible with PHP lt 5.3 (courtesy John Skopis)Fixed wrong typing of message properties (courtesy John Skopis)
</notes>
</release>
<release>
<version>
<release>0.2.1</release>
<api>0.0.1</api>
</version>
<stability>
<release>beta</release>
<api>beta</api>
</stability>
<date>2010-12-10</date>
<notes>
0.2.1 Release:Fixed refcount decrementing bug causing segfaults.
</notes>
</release>
<release>
<version>
<release>0.2.0</release>
<api>0.0.1</api>
</version>
<stability>
<release>beta</release>
<api>beta</api>
</stability>
<date>2010-12-10</date>
<notes>
0.2.0 Release:Works with AMQP 0-8 and 0-9-1 (used by RabbitMQ 2.*)Modified AMQPConnection object: * Requires call to &apos;connect&apos; method to connect (no longer connects on instantiation) * Added support for disconnect and reconnect * Added helper setters for port, host, vhost, login and passwordImproved consume method to block for MIN messages, and try to get MAX messages if availableFixed zval descoping bugsFixed bugs: * 17809: Couldn&apos;t compile pecl extension under PHP 5.3 * 17831: Segmentation fault when the exchange doesn&apos;t exists * 19707: AMQPQueue::get() doesn&apos;t return the message * 19840: Connection Exception
</notes>
</release>
<release>
<version>
<release>0.1.1</release>
<api>0.0.1</api>
</version>
<stability>
<release>beta</release>
<api>beta</api>
</stability>
<date>2010-08-19</date>
<notes>
Updating extension to work with new rabbitmq-c library
</notes>
</release>
<release>
<version>
<release>0.1.0</release>
<api>0.0.1</api>
</version>
<stability>
<release>beta</release>
<api>beta</api>
</stability>
<date>2010-06-19</date>
<notes>
- Initial release
</notes>
</release>
</changelog>
</package>

File Metadata

Mime Type
text/x-diff
Expires
Fri, May 15, 12:14 AM (1 d, 1 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
63771
Default Alt Text
(175 KB)

Event Timeline