[ticket/11630] Improvements to the PHP lint pre-commit hook

The PHP lint pre-commit hook fails to display any output when an error
other than a parse error is decteced.

Additionally, the hook may not display any meaningful output depending
on php.ini settings. This commit removes the dependency on php.ini.

PHPBB3-11630
Merge remote-tracking branch 'EXreaction/ticket/11630' into develop-olympus

* EXreaction/ticket/11630:
  [ticket/11630] Improvements to the PHP lint pre-commit hook