[TYPO3-50-general] Willing to help Task #1 Create sniffs for PHP Code Sniffer

Malte Jansen mail at maltejansen.de
Tue Dec 11 18:43:52 CET 2007


Hi,

what about splitting the check/sniff up in to two parts
1. sniff
2. e.g. name conventions

So the check can be reused for example for something like the 
kickstarter or some other checks...
But it should be in the same package...


Which is the best way for a interface like this. It's not realy 
mentioned. Only that the third is now allowed?

> Packages/
>    TYPO3CGL/
>       Classes/
>          T3_TYPO3CGL_CodingStandard.php
1.         T3_TYPO3CGL_NameConventionInferface.php
            NameConvention/
2.            T3_TYPO3CGL_NameConvention_MainInferface.php
3.            T3_TYPO3CGL_NameConvention_Inferface.php
>          Sniff/
>             Classes/
>             Commenting/
>             Files/
>             WhiteSpace/
>                T3_TYPO3CGL_Sniff_WhiteSpace_ScopeClosingBrace.php



Cheers,

Malte



More information about the TYPO3-project-5_0-general mailing list