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