<commit_before><?php

namespace Tests\Core\Entity;

use Core\Entity\InputImage;
use Core\Exception\ReadFileException;
use Tests\Core\BaseTest;

/**
 * @backupGlobals disabled
 */
class InputImageTest extends BaseTest
{

    /**
     * Test SaveToTemporaryFileException
     */
    public function testSaveToTemporaryFileException()
    {
        $this->expectException(ReadFileException::class);

        $inputImage = new InputImage(['output' => 'jpg'], parent::JPG_TEST_IMAGE.'--fail');
    }
}<commit_msg>CodeClimate warining: remove unused variable<commit_after><?php

namespace Tests\Core\Entity;

use Core\Entity\InputImage;
use Core\Exception\ReadFileException;
use Tests\Core\BaseTest;

/**
 * @backupGlobals disabled
 */
class InputImageTest extends BaseTest
{

    /**
     * Test SaveToTemporaryFileException
     */
    public function testSaveToTemporaryFileException()
    {
        $this->expectException(ReadFileException::class);

        new InputImage(['output' => 'jpg'], parent::JPG_TEST_IMAGE.'--fail');
    }
}
{'fraction_non_alphanumeric': 0.12487899322362052, 'fraction_numerical': 0.0, 'mean_word_length': 3.995169082125604, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, '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': '4722783', 'n_tokens_mistral': 305, 'n_tokens_neox': 301, 'n_words': 55}