Merge branch 'cs/#7048-zend-code-psr2-compliance'

Close #7048
PHPCS fixes for Zend\File
Merge branch 'cs/#6701-zend-file-psr2-compliance' into develop

Close #6701
Forward port #6701