It would be nice to have a pre-commit hook that uses PHP's built-in linter to check for syntax errors--turns out it's pretty easy to do. Patch to follow.

CommentFileSizeAuthor
#1 dcq.code_.2105137-1.patch1.78 KBtraviscarden

Comments

traviscarden’s picture

Assigned: traviscarden » Unassigned
Status: Active » Needs review
StatusFileSize
new1.78 KB
traviscarden’s picture

Status: Needs review » Fixed

Refactored and committed: 32ab52d.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.