<commit_before><?php
namespace Respect\Validation\Rules;

class NullValue extends AbstractRule
{
    public function validate($input)
    {
        return is_null($input);
    }
}
<commit_msg>To disallow empty extend NotEmpty.<commit_after><?php
namespace Respect\Validation\Rules;

class NullValue extends NotEmpty
{
    public function validate($input)
    {
        return is_null($input);
    }
}

{'fraction_non_alphanumeric': 0.09725685785536159, 'fraction_numerical': 0.0, 'mean_word_length': 3.7857142857142856, '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': '1781142', 'n_tokens_mistral': 115, 'n_tokens_neox': 116, 'n_words': 28}