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:
parent
84266c381d
commit
f373826cc6
1 changed files with 1 additions and 1 deletions
|
@ -78,7 +78,7 @@ class Typo3Update_Sniffs_LegacyClassnames_MissingVendorForPluginsAndModulesSniff
|
||||||
if ($fix === true) {
|
if ($fix === true) {
|
||||||
$phpcsFile->fixer->replaceToken(
|
$phpcsFile->fixer->replaceToken(
|
||||||
$firstArgument,
|
$firstArgument,
|
||||||
"'{Options::getVendor()}.' . {$tokens[$firstArgument]['content']}"
|
"'" . Options::getVendor() . ".' . " . $tokens[$firstArgument]['content']
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue