<commit_before><?php

class Swift_FileByteStreamConsecutiveReadCalls extends \PHPUnit\Framework\TestCase
{
    public function shouldThrowExceptionOnConsecutiveRead()
    {
        $this->expectException(\Swift_IoException::class);

        $fbs = new \Swift_ByteStream_FileByteStream('does not exist');
        try {
            $fbs->read(100);
        } catch (\Swift_IoException $exc) {
            $fbs->read(100);
        }
    }
}
<commit_msg>Fix tests<commit_after><?php

class Swift_FileByteStreamConsecutiveReadCalls extends \PHPUnit\Framework\TestCase
{
    public function testShouldThrowExceptionOnConsecutiveRead()
    {
        $this->expectException(\Swift_IoException::class);

        $fbs = new \Swift_ByteStream_FileByteStream('does not exist');
        try {
            $fbs->read(100);
        } catch (\Swift_IoException $exc) {
            $fbs->read(100);
        }
    }
}

{'fraction_non_alphanumeric': 0.11333333333333333, 'fraction_numerical': 0.013333333333333334, 'mean_word_length': 2.8504273504273505, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3749180', 'n_tokens_mistral': 283, 'n_tokens_neox': 266, 'n_words': 41}