Code Duplication    Length = 6-6 lines in 2 locations

src/Filterer/PhpFilterer.php 2 locations

@@ 55-60 (lines=6) @@
52
                $result = $value_to_validate == $value;
53
            }
54
        }
55
        elseif (InRule::operator === $operator) {
56
            $result = in_array(
57
                isset($value_to_validate) ? $value_to_validate : null,
58
                $value
59
            );
60
        }
61
        elseif (BelowRule::operator === $operator) {
62
            if (! isset($value_to_validate)) {
63
                $result = false;
@@ 85-90 (lines=6) @@
82
                $result = $value_to_validate != $value;
83
            }
84
        }
85
        elseif (NotInRule::operator === $operator) {
86
            $result = ! in_array(
87
                isset($value_to_validate) ? $value_to_validate : null,
88
                $value
89
            );
90
        }
91
        elseif (AboveOrEqualRule::operator === $operator) {
92
            if (! isset($value_to_validate)) {
93
                $result = false;