Sam's Blog entries for category 'static-analysis'
Perl and PHP continuous static analysis with Emacs Flymake
Date: Monday, 25 July 2011, 09:54.
Categories: perl, ironman, php, emacs, flymake, static-analysis, php-codesniffer, perl-critic, emacs-flymake, emacs-flymake-perlcritic, emacs-flymake-phpcs.
I followed with interest the discussion and excitement last month in a few Perl blogs about people discovering Emacs Flymake.
Being a long-time Emacs user this seemed really interesting to me, but I don't tend to waste a huge amount of time making outright syntax errors.
What I really wanted was something like the static analysis that a modern IDE does for you while you type.
So I hooked up Perl::Critic and PHP_CodeSniffer to Flymake, and here's how you can too.