Skip to content

Commit

Permalink
Merge pull request #2 from pasamio/master
Browse files Browse the repository at this point in the history
Fix issue with InstantiateNewClassesSniff
  • Loading branch information
LouisLandry committed Jun 18, 2012
2 parents ea5c8dc + 7be8ff4 commit 23a8018
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Sniffs/Classes/InstantiateNewClassesSniff.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 23a8018

Please sign in to comment.