<commit_before><?php


namespace Beanie\Exception;


use Beanie\Command;
use Beanie\Exception;
use Beanie\Server\Server;

class DeadlineSoonException extends Exception
{
    const DEFAULT_CODE = 408;
    const DEFAULT_MESSAGE = 'There is a deadline for a running job approaching soon on \'%s\'. \'%s\' failed.';

    public function __construct(Command $command, Server $server)
    {
        parent::__construct(
            sprintf(self::DEFAULT_MESSAGE, (string) $server, get_class($command)),
            self::DEFAULT_CODE
        );
    }
}<commit_msg>Use positional params for sprintf<commit_after><?php


namespace Beanie\Exception;


use Beanie\Command;
use Beanie\Exception;

class DeadlineSoonException extends AbstractServerCommandException
{
    const DEFAULT_CODE = 408;
    const DEFAULT_MESSAGE = 'There is a deadline for a running job approaching soon on \'%2$s\'. \'%1$s\' failed.';
}
{'fraction_non_alphanumeric': 0.10421286031042129, 'fraction_numerical': 0.008869179600886918, 'mean_word_length': 3.828877005347594, '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': '4138765', 'n_tokens_mistral': 269, 'n_tokens_neox': 253, 'n_words': 78}