zendframework/zf2 — pull request #6462 by chadicus (2014-07-15 12:59:21+00:00)
Title: Fix for odd php-cs-fixer finds

I do not know why `php-cs-fixer` reported these errors, I'm assuming some character(s) within the files themselves caused some weird tokenizing.

On a fresh clone of `zend/master` You will get the following errors
```
zf2$ ./vendor/bin/php-cs-fixer fix -v --dry-run
Loaded config from "/home/chadicus/projects/zf2/.php_cs"
1) Zend/Cache/Storage/Adapter/MemcachedResourceManager.php (visibility)
2) Zend/Cache/Storage/Adapter/RedisResourceManager.php (visibility)
3) Zend/Json/Decoder.php (visibility)
4) Zend/Di/Di.php (visibility)
5) ZendTest/Tag/Cloud/Decorator/HtmlTagTest.php (indentation)
```

My solution for all of the `visibility` errors was to move the methods within the class files. `php-cs-fixer` solution was to type-hint the methods with `public` resulting in
```php
protected function getClass(public $instance)
{
```