Of course !
Basically, not all the rules can be enforced and within those which cn,
not all should be enforced. You can already have a look at the Standard
I've set up earlier which is quite light but already giving strong hints
about what is wrong in the coding style of some class (old style
constructor, very long lines, etc). I'll try to judge what is relevant
to add or change but in the end it sould be an help and can be a great
tool combined to a config for eclipse / netbeans
Systho.
Le 17/03/2011 20:13, Hans De Bisschop a écrit :
Philippe,
Greatly appreciated. Keep in mind that those rules are not set in
stone and in some cases need to be a bit flexible to keep things
readable (arrays and object instantiations being the most obvious
offenders)
Best regards,
Hans
On 10/03/2011 22:11, Systho wrote:
I'll try to modify the PHPCodeSniffer Standard I made for Chamilo
according to those conventions so that The CI server will generate a
report about violations of it
Le 10/03/2011 21:26, Hans De Bisschop a écrit :
Hi all,
Based on my formatting profile in Zend Studio and common practices
as promoted these last few years, I've added a page about coding
conventions on the support site wiki:
http://support.chamilo.org/projects/chamilo-20/wiki/CodingConventions
The list will no doubt get longer since there are plenty of things I
just do without giving it all that much thought, but these should be
the basics.
Could one of the people who use Netbeans add their template /
profile which conforms to these rules to the page? (PJ already
zipped it once before if I remember correctly)
Best regards,
*Hans De Bisschop*
Hoofddeskundige ICTO |Lead Developer Chamilo 2.0
Software Coordinator Chamilo Association
Erasmushogeschool Brussel
Nijverheidskaai 170 |B-1070 Brussel
T 02 559 02 54 |i 254
hans.de.bissc...@ehb.be <mailto:hans.de.bissc...@ehb.be>
|www.erasmushogeschool.be <http://www.erasmushogeschool.be/>
Kom eens langs: www.erasmushogeschool.be/infodagen
<http://www.erasmushogeschool.be/infodagen>
of lees onze elektronische nieuwsbrief: ehbrief.ehb.be
<http://ehbrief.ehb.be/>
PBefore printing, think about the environment
_______________________________________________
Dev mailing list
Dev@lists.chamilo.org
http://lists.chamilo.org/listinfo/dev
_______________________________________________
Dev mailing list
Dev@lists.chamilo.org
http://lists.chamilo.org/listinfo/dev