joomla/coding-standards — pull request #2 by pasamio (2012-06-18 19:07:18+00:00)
Title: Fix issue with InstantiateNewClassesSniff

The following line would trigger issues with the InstantiateNewClassesSniff:
$model = new JModelDatabase(new JRegistry, JFactory::getDbo());

This incorrectly finds the JFactory::getDbo() parenthesis and assumes they're there for the JRegistry call. This pull request adds the comma to the list of escape tokens to reset the call.