diff --git a/tests/ScopeTest.php b/tests/ScopeTest.php index e3cd1ea3ba7..3970dff2a36 100644 --- a/tests/ScopeTest.php +++ b/tests/ScopeTest.php @@ -330,6 +330,19 @@ public function testDoWhileVar() public function testAssignmentInIf() { + $stmts = self::$parser->parse('check(); + } + + public function testNegatedAssignmentInIf() + { + $this->markTestIncomplete('This currently fails'); $stmts = self::$parser->parse('