videlalvaro/php-amqplib — pull request #195 by roihq (2014-09-16 23:06:17+00:00)
Title: Fixing server initiated connection / channel close handling.

Previous code wouldn't work if the server initiated the close. Test with RabbitMQ management and try to do a force close. This will allow a consumer to recover and reconnect.