Fixed MethodScanner that on latest prm value fails

Unit test for this case added anyway
Merge branch 'hotfix/5471'

Close #5471
remove unused uses
using php-cs-fixer
undo change that necessary in ZendTest/Code
update check-cs.sh to automate check unused use
Merge pull request #5472
Merge pull request #5472 in develop
Merge pull request #5472 in master
Remove unused use.
Merge commit 'refs/pull/5125/head' of github.com:zendframework/zf2 into hotfix/5125
[#5125] Trim default vale at assignment time
Forward port #5125
Remove unused use.