diff --git a/src/lint/linter/__tests__/xhpast/space-after-control-keywords.lint-test b/src/lint/linter/__tests__/xhpast/space-after-control-keywords.lint-test --- a/src/lint/linter/__tests__/xhpast/space-after-control-keywords.lint-test +++ b/src/lint/linter/__tests__/xhpast/space-after-control-keywords.lint-test @@ -22,6 +22,8 @@ do { echo 1; } while(true); + +try {} catch(Exception $ex) {} ~~~~~~~~~~ warning:2:1 warning:2:10 @@ -37,6 +39,7 @@ warning:13:3 warning:14:3 warning:24:3 +warning:26:8 ~~~~~~~~~~ getNonsemanticTokensAfter(); if (empty($after)) { $this->raiseLintAtToken(