BUGFIX: Update string to replace missing vendor token

* Using double quotes with method call didn't work the way.
* Use normal string concatenation instead.
This commit is contained in:
Daniel Siepmann 2017-04-09 12:51:57 +02:00
parent 84266c381d
commit f373826cc6
Signed by: Daniel Siepmann
GPG key ID: 33D6629915560EF4

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']
);
}
}