Merge pull request #57 from DanielSiepmann/hotfix/fix-broken-vendor-sniff

BUGFIX: Update string to replace missing vendor token
This commit is contained in:
Daniel Hürtgen 2017-04-09 14:13:40 +02:00 committed by GitHub
commit cf14c8dd7b

View file

@ -78,7 +78,7 @@ class Typo3Update_Sniffs_LegacyClassnames_MissingVendorForPluginsAndModulesSniff
if ($fix === true) {
$phpcsFile->fixer->replaceToken(
$firstArgument,
"'{Options::getVendor()}.' . {$tokens[$firstArgument]['content']}"
"'" . Options::getVendor() . ".' . " . $tokens[$firstArgument]['content']
);
}
}