[TYPO3-dev] SVN pre-commit hooks to avoid commiting php files with syntax errors
Ries van Twisk
typo3 at rvt.dds.nl
Mon Sep 21 18:38:19 CEST 2009
On Sep 21, 2009, at 11:26 AM, Steffen Kamper wrote:
> Hi,
>
> i like the idea of svn jooks very much, it's great. My doubts are:
> where
> is the hook script located, do i have influence on that script? Can i
> use my own hook in my project?
> And as Dmitry already mentioned, there could be a problem with
> syntax check.
>
> So, what we would need is to test such hooks anywhere and propose some
> working solutions.
>
> vg Steffen
If I may chime in...
Syntax check is the most un-useful feature for such a item,
all IDE's should already warn you (and they do...) for syntax errors.
More useful would be for CGL check and run a unit test if appropriate
for
the code be checked in....
Ries
More information about the TYPO3-dev
mailing list