Hi,

Am Dienstag, den 29.01.2008, 12:01 +0000 schrieb Tom Percival:
> Does anyone know of a script that validates code to the Zend Framework
> coding standard that could be used as a pre-commit hook in SVN?
> 
> I have found mention of this in the Zend Framework Wiki
> (http://framework.zend.com/wiki/display/ZFDEV/PHP+Coding+Standard+(draft))
> but no indication that it was followed up by anyone.

There is PHP_CodeSniffer (http://pear.php.net/package/PHP_CodeSniffer/)
which has a specific set of rules for the Zend coding style. Try that
out but it might be too slow for live checking on when a commit takes
place.

cu, Lars
-- 
  »Aber das Verhältnis von Leben und Produktion, das jenes
   real herabsetzt zur ephemeren Erscheinung von dieser, ist
   vollendet widersinnig. Mittel und Zweck werden vertauscht.«
       -- Theodor W. Adorno, »Minima Moralia«, Die traurige Wissenschaft

Lars Strojny
Nießenstr. 36
51103 Cologne
Jabber/Mail: [EMAIL PROTECTED]
Weblog: http://usrportage.de

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil

Reply via email to