From 719ddb16aec2e5da4ce274bf3bf8450caef564d4 Mon Sep 17 00:00:00 2001
From: Klaus Purer <klaus.purer@protonmail.ch>
Date: Sun, 6 Dec 2020 10:34:55 +0100
Subject: [PATCH] test(VariableAnalysis): Fix test case after sniff update

---
 composer.json                                                  | 2 +-
 tests/DrupalPractice/CodeAnalysis/VariableAnalysisUnitTest.php | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/composer.json b/composer.json
index 23323f4c..bc79f930 100644
--- a/composer.json
+++ b/composer.json
@@ -18,7 +18,7 @@
         "ext-mbstring": "*",
         "squizlabs/php_codesniffer": "^3.5.6",
         "symfony/yaml": ">=2.0.5",
-        "sirbrillig/phpcs-variable-analysis": "^2.8"
+        "sirbrillig/phpcs-variable-analysis": "^2.10"
     },
     "autoload": {
         "psr-4": {
diff --git a/tests/DrupalPractice/CodeAnalysis/VariableAnalysisUnitTest.php b/tests/DrupalPractice/CodeAnalysis/VariableAnalysisUnitTest.php
index f37ae2d4..6a657439 100644
--- a/tests/DrupalPractice/CodeAnalysis/VariableAnalysisUnitTest.php
+++ b/tests/DrupalPractice/CodeAnalysis/VariableAnalysisUnitTest.php
@@ -47,6 +47,7 @@ class VariableAnalysisUnitTest extends CoderSniffUnitTest
             4  => 1,
             8  => 1,
             17 => 1,
+            61 => 1,
         ];
 
     }//end getWarningList()
-- 
GitLab