@@ 117-129 (lines=13) @@ | ||
114 | } |
|
115 | } |
|
116 | ||
117 | public function supportsAbove($phpVersion) |
|
118 | { |
|
119 | $testVersion = $this->getTestVersion(); |
|
120 | $testVersion = $testVersion[1]; |
|
121 | ||
122 | if (is_null($testVersion) |
|
123 | || version_compare($testVersion, $phpVersion) >= 0 |
|
124 | ) { |
|
125 | return true; |
|
126 | } else { |
|
127 | return false; |
|
128 | } |
|
129 | }//end supportsAbove() |
|
130 | ||
131 | public function supportsBelow($phpVersion) |
|
132 | { |
|
@@ 131-143 (lines=13) @@ | ||
128 | } |
|
129 | }//end supportsAbove() |
|
130 | ||
131 | public function supportsBelow($phpVersion) |
|
132 | { |
|
133 | $testVersion = $this->getTestVersion(); |
|
134 | $testVersion = $testVersion[0]; |
|
135 | ||
136 | if (!is_null($testVersion) |
|
137 | && version_compare($testVersion, $phpVersion) <= 0 |
|
138 | ) { |
|
139 | return true; |
|
140 | } else { |
|
141 | return false; |
|
142 | } |
|
143 | }//end supportsBelow() |
|
144 | ||
145 | ||
146 | /** |