fix phpDoc, added @throws annotation BaseFileHelper::copyDirectory
fix phpFoc, added missing param
fix code style `There must be one blank line after the namespace declaration`
fix code style `No space found after comma in function call`
fix code style `Expected 1 space after FUNCTION keyword; 0 found`
fix typo double `;`, `Each PHP statement must be on a line by itself`
fix code style
fix code style
Inline control structures are not allowed
fix code style php5.4 syntax
Merge pull request #2610 from AlexGx/code-style-fix

Code style fix