GrumPHPTest\Parser\Php\Visitor\NoExitStatementsVisitorTest::it_allows_code_with_no_exit_statements PHP Method

it_allows_code_with_no_exit_statements() public method

    function it_allows_code_with_no_exit_statements()
    {
        $code = <<<EOC
<?php
// Some valid code here...
EOC;
        $errors = $this->visit($code);
        $this->assertCount(0, $errors);
    }