Shellchecker corrections
Shellchecker corrections

* https://github.com/koalaman/shellcheck/wiki/SC2164
* https://github.com/koalaman/shellcheck/wiki/SC2046
* https://github.com/koalaman/shellcheck/wiki/SC2006
* trim spacing

fpoirotte/phpfarm