<commit_before><?php

declare(strict_types=1);

namespace LizardsAndPumpkins\Import\RestApi;

use LizardsAndPumpkins\Context\DataVersion\DataVersion;
use LizardsAndPumpkins\Http\HttpRequest;

class CatalogImportApiV1PutRequestHandler extends CatalogImportApiV2PutRequestHandler
{
    protected function createDataVersion(HttpRequest $request): DataVersion
    {
        return DataVersion::fromVersionString('-1');
    }
}
<commit_msg>Issue #983: Make protected method final<commit_after><?php

declare(strict_types=1);

namespace LizardsAndPumpkins\Import\RestApi;

use LizardsAndPumpkins\Context\DataVersion\DataVersion;
use LizardsAndPumpkins\Http\HttpRequest;

class CatalogImportApiV1PutRequestHandler extends CatalogImportApiV2PutRequestHandler
{
    final protected function createDataVersion(HttpRequest $request): DataVersion
    {
        return DataVersion::fromVersionString('-1');
    }
}

{'fraction_non_alphanumeric': 0.07982261640798226, 'fraction_numerical': 0.012195121951219513, 'mean_word_length': 6.717948717948718, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, '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': '3869467', 'n_tokens_mistral': 268, 'n_tokens_neox': 261, 'n_words': 44}