src/Runners/PHPUnit/SqliteRunner.php
private function printOutput(): void
    {
        foreach ($this->db->query('SELECT id, file_name FROM tests WHERE completed = 1')->fetchAll() as $test) {
            $this->printer->printFeedback($this->pending[$test['file_name']]);
            $this->db->prepare('DELETE FROM tests WHERE id = :id')->execute([
                'id' => $test['id'],
            ]);
        }
    }
private function printOutput(): void
    {
        foreach ($this->db->query('SELECT id, file_name FROM tests WHERE completed = 1')->fetchAll() as $test) {
            $this->printer->printFeedback($this->pending[$test['file_name']]);
            $this->db->prepare('DELETE FROM tests WHERE id = :id')->execute([
                'id' => $test['id'],
            ]);
        }
    }
private function printOutput ( ) : void { foreach ( $ this -> db -> query ( 'SELECT id, file_name FROM tests WHERE completed = 1' ) -> fetchAll ( ) as $ test ) { $ this -> printer -> printFeedback ( $ this -> pending [ $ test [ 'file_name' ] ] ) ; $ this -> db -> prepare ( 'DELETE FROM tests WHERE id = :id' ) -> execute ( [ 'id' => $ test [ 'id' ] , ] ) ; } }
Loop through all completed tests and print their output.
Loop through all completed tests and print their output .