[TYPO3-dev] SVN pre-commit hooks to avoid commiting php files with syntax errors

Martin Kutschker masi-no at spam-typo3.org
Sat Sep 26 17:28:49 CEST 2009


Dmitry Dulepov schrieb:
> Hi!
> 
> Martin Kutschker wrote:
>> If we add up the time we needed to write all those messages, someone
>> could have implemented the hook already. It's just a brain deas hook
>> that calls "php -l" after all.
> 
> Why do we need it? Is it just because it is nice?
> 
> The better hook would do witespace stripping and code reformatting...

Sure. My point is that it could do both. The tasks are not mutually
exclusive.

Masi




More information about the TYPO3-dev mailing list