Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #701 from pasamio/sniff-fix

Fixing issue with sniffer not detecting double quoted params properly
  • Loading branch information...
commit 7b4463e643504c58bdfb1a830de37bd737ef2f8b 2 parents 694c346 + 95ad651
@chdemko chdemko authored
View
1  build/phpcs/Joomla/Sniffs/Classes/InstantiateNewClassesSniff.php
@@ -70,6 +70,7 @@ public function process(PHP_CodeSniffer_File $phpcsFile, $stackPtr)
case T_STRING :
case T_LNUMBER :
case T_CONSTANT_ENCAPSED_STRING :
+ case T_DOUBLE_QUOTED_STRING :
if($started)
{
$valid = true;
Please sign in to comment.
Something went wrong with that request. Please try again.