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() {
1515 $ phpcsFile ->process ();
1616 $ lines = $ this ->getWarningLineNumbersFromFile ($ phpcsFile );
1717 $ 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
1919 7 ,
2020 10 ,
2121 ];
@@ -33,7 +33,7 @@ public function testGlobalScopeWarningsWithAllowUndefinedVariablesInFileScope()
3333 $ phpcsFile ->process ();
3434 $ lines = $ this ->getWarningLineNumbersFromFile ($ phpcsFile );
3535 $ 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
3737 10 ,
3838 ];
3939 $ this ->assertEquals ($ expectedErrors , $ lines );
You can’t perform that action at this time.
0 commit comments