Skip to content
Browse files

Merge branch 'fixnotice' of https://github.com/rhowardiv/PHP_CodeSniffer

  • Loading branch information...
2 parents c7e4be4 + 6eabae1 commit 2d6a099dda299c0988d57e95767f21e38eb90617 @gsherwood gsherwood committed Feb 6, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 CodeSniffer/Standards/Squiz/Sniffs/PHP/NonExecutableCodeSniff.php
View
2 CodeSniffer/Standards/Squiz/Sniffs/PHP/NonExecutableCodeSniff.php
@@ -223,7 +223,7 @@ public function process(PHP_CodeSniffer_File $phpcsFile, $stackPtr)
}
if ($tokens[$start]['code'] === T_OPEN_CURLY_BRACKET) {
- $start = $tokens[$start]['scope_closer'];
+ $start = $tokens[$start]['bracket_closer'];
continue;
}

0 comments on commit 2d6a099

Please sign in to comment.
Something went wrong with that request. Please try again.