The method AMQPQueue::declare() was deprecated in favor of AMQPQueue::declareQueue() since PECL AMQP version 1.2.0.  The older method AMQPQueue::declare() does not work with PECL AMQP version 1.4.0
Merge pull request #26 from spsoit/master

Fixes incompatibility with PECL AMQP v1.4.0