views:

62

answers:

2

What's the best way to check zend code standard? I'm thinking the PHPCS (PHP Code Sniffer) not efficiently because it not complain about php doc and many other things :(

Doc: http://framework.zend.com/manual/en/coding-standard.html

A: 

See Zend library files. They have written in Zend Code Standart.

Alexander.Plutov
Try do it: "phpcs --standard=Zend /usr/share/php/Zend/ | wc -l", and see the result: 40245
Felipe Cardoso Martins
A: 

Incase you are using eclipse, there's a plugin for phpcs. It has also configurable coding standards for your preference.

Hanseh
Hanseh, what make me fell sad is phpcs. Do you know other project? PHPCS is not a good tool for Zend Standard, I'm using version 1.3.0RC1 and the results isn't good :(
Felipe Cardoso Martins
Actually it is what I'm using, you can define your coding standard and even use zend coding standard for checking. So far, I don't know any alternatives.
Hanseh