Re: [fw-general] ZF2 Code Sniffer Ruleset

2014-08-19 Thread Ralf Eggert
Dear Marco and Xander,

thanks for your replies. That helped a lot.

Thanks and best regards,

Ralf

-- 
List: fw-general@lists.zend.com
Info: http://framework.zend.com/archives
Unsubscribe: fw-general-unsubscr...@lists.zend.com




Re: [fw-general] ZF2 Code Sniffer Ruleset

2014-08-18 Thread Marco Pivetta
Hi Ralf,

We actually only follow PSR-2. It would be interesting to follow stricter
standards though, like:

 - https://github.com/object-calisthenics/phpcs-calisthenics-rules
 - https://github.com/doctrine/coding-standard

Changing these involves A LOT of work, and may also not be well accepted by
some package maintainers.

Marco Pivetta

http://twitter.com/Ocramius

http://ocramius.github.com/


On 18 August 2014 08:21, Ralf Eggert r.egg...@travello.de wrote:

 Hi,

 I am looking for an up-to-date ZF2 ruleset for PHP CodeSniffer. I would
 like to integrate it in PhpStorm which only offers rulesets for ZF1,
 PSR-1 and PSR-2 amongst others.

 This project looks a bit outdated.

 https://github.com/farazdagi/zf2-codesniffer

 I remember that ZF2 uses an adapted version of PSR-2, or is that wrong?

 Thanks and best regards,

 Ralf

 --

 Ralf Eggert  -  Travello GmbH  -   An der Eiche 15  -  25421 Pinneberg
 Tel 04101/8529401  -  Fax 04101/8529402  -  Web http://de.travello.com
 Geschäftsführer: Ralf Eggert   -   Amtsgericht Pinneberg:  HRB 6112 PI

 Ralf Eggert ist Autor des Buches   Zend Framework 2 - Das Praxisbuch
 http://www.galileocomputing.de/3460?GPP=eggert

 Zend Framework 2 Schulung buchen:  http://www.zendframeworkschulung.de


 --
 List: fw-general@lists.zend.com
 Info: http://framework.zend.com/archives
 Unsubscribe: fw-general-unsubscr...@lists.zend.com