Changeset View
Changeset View
Standalone View
Standalone View
src/lint/linter/ArcanistExternalLinter.php
Context not available. | |||||
$compare_to = $this->versionRequirement; | $compare_to = $this->versionRequirement; | ||||
$matches = null; | $matches = null; | ||||
if (preg_match('/^([<>]=?|=)\s*(.*)$/', $compare_to, $matches)) { | if (@preg_match('/^([<>]=?|=)\s*(.*)$/', $compare_to, $matches)) { | ||||
$operator = $matches[1]; | $operator = $matches[1]; | ||||
$compare_to = $matches[2]; | $compare_to = $matches[2]; | ||||
if ($operator === '=') { | if ($operator === '=') { | ||||
Context not available. |
Content licensed under Creative Commons Attribution-ShareAlike 4.0 (CC-BY-SA) unless otherwise noted; code licensed under Apache 2.0 or other open source licenses. · CC BY-SA 4.0 · Apache 2.0