diff --git a/SlevomatCodingStandard/Helpers/VariableHelper.php b/SlevomatCodingStandard/Helpers/VariableHelper.php
index <HASH>..<HASH> 100644
--- a/SlevomatCodingStandard/Helpers/VariableHelper.php
+++ b/SlevomatCodingStandard/Helpers/VariableHelper.php
@@ -127,7 +127,7 @@ class VariableHelper
 		$stringContent = $tokens[$stringPointer]['content'];
 
 		$variableName = $tokens[$variablePointer]['content'];
-		if (preg_match('~(?<!\\\\)' . preg_quote($variableName, '~') . '\b(?!\()~', $stringContent)) {
+		if (preg_match('~(?<!\\\\)' . preg_quote($variableName, '~') . '\b~', $stringContent)) {
 			return true;
 		}
 
diff --git a/tests/Sniffs/Variables/data/unusedVariableNoErrors.php b/tests/Sniffs/Variables/data/unusedVariableNoErrors.php
index <HASH>..<HASH> 100644
--- a/tests/Sniffs/Variables/data/unusedVariableNoErrors.php
+++ b/tests/Sniffs/Variables/data/unusedVariableNoErrors.php
@@ -126,6 +126,11 @@ function () {
 
 function () {
 	$a = '';
+	echo "$a()";
+};
+
+function () {
+	$a = '';
 	echo <<<TEXT
 	$a
 TEXT;
UnusedVariableSniff: Fixed false positive