I just updated PHP_CodeSniffer to the latest 2.0.0 version released 2014-12-05 03:55 UTC
I use it in PHPStorm 8 as an Inspector. it now thows the error
PHP Code Sniffer phpcs: PHP Fatal error: Access level to Drupal_Sniffs_Functions_DiscouragedFunctionsSniff::$forbiddenFunctions must be public (as in class Generic_Sniffs_PHP_ForbiddenFunctionsSniff) in /home/jowan/coder/coder_sniffer/Drupal/Sniffs/Functions/DiscouragedFunctionsSniff.php on line 20
where as previous versions work ok. I'm using 2.0.0RC1 at the moment ad it sniffs fine.
Is there something in my configuration that could be wrong (Pear version ? IDE set up ? etc) or is it just an incompatible version at present.