@@ 129-132 (lines=4) @@ | ||
126 | ||
127 | $isSupported = true; |
|
128 | ||
129 | while ($isSupported && count($features) > 0) { |
|
130 | $feature = array_pop($features); |
|
131 | $isSupported &= (bool)$this->checkSupport($feature); |
|
132 | } |
|
133 | ||
134 | return (bool)$isSupported; |
|
135 | } |
|
@@ 170-173 (lines=4) @@ | ||
167 | $minimumRequired = '0.0.0'; |
|
168 | $isSupported = true; |
|
169 | ||
170 | while (count($features) > 0) { |
|
171 | $feature = array_pop($features); |
|
172 | $isSupported &= (bool)$this->checkSupport($feature, $minimumRequired); |
|
173 | } |
|
174 | ||
175 | return $minimumRequired !== '0.0.0' ? new SemanticVersion($minimumRequired, true) : false; |
|
176 | } |