Permalink
Browse files

Merge pull request #2 from pasamio/master

Fix issue with InstantiateNewClassesSniff
  • Loading branch information...
LouisLandry committed Jun 18, 2012
2 parents ea5c8dc + 7be8ff4 commit 23a8018ab0f4092175d679130ebea0846da9eeb6
Showing with 1 addition and 0 deletions.
  1. +1 −0 Sniffs/Classes/InstantiateNewClassesSniff.php
@@ -58,6 +58,7 @@ public function process(PHP_CodeSniffer_File $phpcsFile, $stackPtr)
switch ($tokens[$cnt]['code'])
{
case T_SEMICOLON:
+ case T_COMMA :
$valid = true;
$running = false;
break;

0 comments on commit 23a8018

Please sign in to comment.