Updated the .gitignore to ignore the proper files.
Updated the hook so that PHP lint works again, also showing a diff with a proposed fix.