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

Tim Eilers tim.eilers at web.de
Sun Dec 9 23:57:07 CET 2007


Hi everybody,

until now i am still a normal (end-)user of TYPO3 (running a few sites
with 4.x). I am a bit experienced with normal php, but i never got
really into the TYPO3 code...
Now there is a little chance to give something back to the community, so
i decided to try to help.

I don't work in company, who works with TYPO3 (i do linux admin in the
company i work in) and also don't an own one, so i do everything dealing
with TYPO3 as a hobby. usually the xmas time is full of everything, so
don't expect me to be the fastest. After xmas i have holidays and free
time, so then i could do the most of it.

Back to topic:
I took a look at the coding guidelines and at PHP Code Sniffer. I should
say that i am an average PHP Coder, but never heard of the Sniffer or
PHPUnit before. I took a look at the PHPUnit docs, but i don't really
understand how PHPUnit could help in this task. ...and what the hell is
phing and how is it used in the 5.0 project? (the phing doc is really
huge. i began to read it, but didn't understand even the first parts
till now)

I extracted "rules" out of the guidelines and tried to set a priority to
it. Some of them are never possible to check with Sniffer (take nouns
for class names for example), some of them sound easy, but are difficult
to implement and some of them are very fast to implement.
i experimented a bit and already implemented 'Class name start with T3_'
and 'Class name only content A-Za-z0-9 and _'.

If someone likes to help me, then please let me know :)

Regards,
Tim.


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