diff --git a/tests/Sniffs/ControlStructures/data/earlyExitNoErrors.php b/tests/Sniffs/ControlStructures/data/earlyExitNoErrors.php
index <HASH>..<HASH> 100644
--- a/tests/Sniffs/ControlStructures/data/earlyExitNoErrors.php
+++ b/tests/Sniffs/ControlStructures/data/earlyExitNoErrors.php
@@ -63,3 +63,11 @@ function () {
 
 	// Something
 };
+
+function () {
+	if (true) {
+		$variable = 'a';
+	} else {
+		$variable = 'b';
+	}
+};
More tests for EarlyExitSniff