Tag Archives: static code analysis

CodeSniffer Part 5: Writing an examples CodeSniffer Sniff

How to go about developing your own CodeSniffer Sniff ready for inclusion in a CodeSniffer standard. Continue reading

Posted in Development, PHP, Software | Tagged , , , | Leave a comment

CodeSniffer Part 4: How does CodeSniffer Work

Looking at the internal workings of CodeSniffer and how it does it’s analysis. Continue reading

Posted in Development, PHP, Software | Tagged , , , | Leave a comment

CodeSniffer Part 3: Writing an example CodeSniffer Standard

Take a look at writing a custom CodeSniffer standard, by using rules (or Sniffs) from existing standards. Continue reading

Posted in Development, PHP, Software | Tagged , , , | 2 Comments

CodeSniffer Part 2: CodeSniffer Output

I take a look and some of the standards and reports available in CodeSniffer by default. Continue reading

Posted in Development, PHP, Software | Tagged , , , | 3 Comments

CodeSniffer Part 1: Introduction to CodeSniffer

This is a rough transcript of a lightning talk I gave during a team meeting at Yahoo! completely off the cuff, but I am in the process of writing this up as a Yahoo! Tech Talk, and also, as this is not internally sensitive, like most of the stuff I’ve been working on for the last two years, I’ll see if it can be release on Yahoo Developers Network. Continue reading

Posted in Development, PHP, Software | Tagged , , , | 4 Comments