Login / Status
developer.Resource
Home . Teams . 5.0 Development . Jobs . #1 Create sniffs for PHP Code Sniffer
Sponsors
hosted by punkt.deTYPO3 and Open Source MagazineAOE Media

#1 Create sniffs for PHP Code Sniffer

Status: Tim Eilers and Malte Jansen are working on this

 

Introduction

PHP Code Sniffer is a PHP-based tool which automatically checks code for coding guideline compliance and creates reports with errors and warnings. We would like to use this tool to complement quality assurance for TYPO3 5.0 related code.

For TYPO3 5.0, the framework and all other related packages we have created some improved coding guidelines which contain instructions for the code layout and coding style. It is essential that we follow these guidelines - but sometimes we might oversee discrepancies and need someone (... something) who makes us aware of them. Using a tool which automates this task seems like a good idea.

Task Description

In order to use PHP Code Sniffer, the TYPO3 5.0 coding guidelines need to be implemented as PHP classes, following a certain syntax. These classes need to be accompanied by proper unit tests.

We suggest the following steps:

If you would go even one step further, you can help us or take over the deployment of the whole tool at 5-0.dev.typo3.org.

Facts

Necessary skills:

  • average PHP skills
  • basic experience with (or willing to learn) unit testing with PHPUnit
  • experience with Linux command line and Phing would be helpful, but is not a must

Estimated working time:

5-20 hours

Needs to be finished until:

31.12.2007

Contact

If you would like to help us with this task or have questions, please write an email to our general discussion mailing list (typo3.projects.typo3-5_0.general at lists.netfielders.de and mention the task in the subject line.