File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Tests/VariableAnalysisSniff Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ public function testGlobalScopeWarnings() {
15
15
$ phpcsFile ->process ();
16
16
$ lines = $ this ->getWarningLineNumbersFromFile ($ phpcsFile );
17
17
$ expectedErrors = [
18
- 4 ,
18
+ // 4, This should be finding the unused variable but we'll need to backport https://github.com/sirbrillig/phpcs-variable-analysis/pull/190 to 2.x
19
19
7 ,
20
20
10 ,
21
21
];
@@ -33,7 +33,7 @@ public function testGlobalScopeWarningsWithAllowUndefinedVariablesInFileScope()
33
33
$ phpcsFile ->process ();
34
34
$ lines = $ this ->getWarningLineNumbersFromFile ($ phpcsFile );
35
35
$ expectedErrors = [
36
- 4 ,
36
+ // 4, This should be finding the unused variable but we'll need to backport https://github.com/sirbrillig/phpcs-variable-analysis/pull/190 to 2.x
37
37
10 ,
38
38
];
39
39
$ this ->assertEquals ($ expectedErrors , $ lines );
You can’t perform that action at this time.
0 commit comments