Join GitHub today
Git Pre-commit Hook and Views #59
I implemented the git pre-commit hook (as in the README.md) but using this while committing lithium view files in raw HTML gave me unexpected errors such as:
File does not begin with
Also When a line ends with a period the following line will error with:
Incorrect tab indention 0 should be 1.
Sorry, I was talking about the dot being at the end of a line of raw HTML not PHP.
PHP 5.3.15 with Suhosin-Patch (cli) (built: Aug 24 2012 17:45:44)
Unfortunately I'm still getting violations:
Line Position Violation
1 - File does not begin with
The third violation happens after
This comment has been minimized.
This comment has been minimized.Show comment Hide comment
Here's the file content http://pastium.org/view/c40f0d6b02820309669e7fe7c9c22342