Code Duplication    Length = 13-13 lines in 2 locations

Sniff.php 2 locations

@@ 83-95 (lines=13) @@
80
        }
81
    }
82
83
    public function supportsAbove($phpVersion)
84
    {
85
        $testVersion = $this->getTestVersion();
86
        $testVersion = $testVersion[1];
87
88
        if (is_null($testVersion)
89
            || version_compare($testVersion, $phpVersion) >= 0
90
        ) {
91
            return true;
92
        } else {
93
            return false;
94
        }
95
    }//end supportsAbove()
96
97
    public function supportsBelow($phpVersion)
98
    {
@@ 97-109 (lines=13) @@
94
        }
95
    }//end supportsAbove()
96
97
    public function supportsBelow($phpVersion)
98
    {
99
        $testVersion = $this->getTestVersion();
100
        $testVersion = $testVersion[0];
101
102
        if (!is_null($testVersion)
103
            && version_compare($testVersion, $phpVersion) <= 0
104
        ) {
105
            return true;
106
        } else {
107
            return false;
108
        }
109
    }//end supportsBelow()
110
111
112
    /**