Merge branch 'cs/#6994-zend-progressbar-psr2-compliance'

Close #6994
PHPCS fixes for Zend\Permissions
Merge branch 'cs/#6996-zend-permissions-psr2-compliance' into develop

Close #6996
Forward port #6996