<commit_before><?php declare(strict_types=1);

namespace PeeHaa\Nntp\Command;

abstract class Command
{
    const COMMAND = 'LIST';

    const SUCCESS_CODE = 215;

    abstract public function getCommand();

    public function getLength(): int
    {
        return strlen($this->getCommand());
    }

    public function isCommandCompletelySent(int $bytesSent): bool
    {
        return $bytesSent === $this->getLength();
    }
}<commit_msg>Changed abstract class to interface<commit_after><?php declare(strict_types=1);

namespace PeeHaa\Nntp\Command;

interface Command
{
    public function getCommand(): string;

    public function getSuccessCode(): int;
}
{'fraction_non_alphanumeric': 0.11161387631975868, 'fraction_numerical': 0.007541478129713424, 'mean_word_length': 3.955223880597015, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '2201487', 'n_tokens_mistral': 199, 'n_tokens_neox': 189, 'n_words': 49}