Fixing obsolete method of checking headers, made it use the new method.
adding basic tests for Client::encodeAuthHeader method
Fix for GitHub issue 2605
fix cs: add space after casting
Remove unused use statement
Reduce indentation level
Obey PSR-2
Remove semicolon present without a statement
Remove unnecessary white-space before semicolons in statements
Add space between 'function' and '('
Test for GitHub issue 2605
Test with fixed coding style
Add/update comments where a break seems to be intentionally omitted
Remove duplicate array keys
Rename variable to what it probably should be
Remove duplicate case statement
Render name of alias that already exists in exception message
Tests for Zend\Cache\Storage\Adapter\MemcachedResourceManager
remove unused 'use Closure'
in Zend\ServiceManager\ServiceManager.php
remove ViewHelperBroker and unused Zend\ServiceManager\ServiceManager, Zend\View\HelperPluginManager, and Zend\Mvc\Exception