function it_allows_code_with_no_else_statements() { $code = <<<EOC <?php if (true) { return; } if (false) { return; } EOC; $errors = $this->visit($code); $this->assertCount(0, $errors); }