@@ 118-121 (lines=4) @@ | ||
115 | ||
116 | $isSupported = true; |
|
117 | ||
118 | while ($isSupported && count($features) > 0) { |
|
119 | $feature = array_pop($features); |
|
120 | $isSupported &= (bool)$this->checkSupport($feature); |
|
121 | } |
|
122 | ||
123 | return (bool)$isSupported; |
|
124 | } |
|
@@ 160-163 (lines=4) @@ | ||
157 | $minimumRequired = '0.0.0'; |
|
158 | $isSupported = true; |
|
159 | ||
160 | while (count($features) > 0) { |
|
161 | $feature = array_pop($features); |
|
162 | $isSupported &= (bool)$this->checkSupport($feature, $minimumRequired); |
|
163 | } |
|
164 | ||
165 | return $minimumRequired !== '0.0.0' ? new SemanticVersion($minimumRequired, true) : false; |
|
166 | } |