protected static function BlacklistPhp72Versions::getUnsupportedVersionConstraint in Automatic Updates 7
1 call to BlacklistPhp72Versions::getUnsupportedVersionConstraint()
- BlacklistPhp72Versions::run in ReadinessCheckers/
BlacklistPhp72Versions.php - Run check.
File
- ReadinessCheckers/
BlacklistPhp72Versions.php, line 38
Class
- BlacklistPhp72Versions
- Blacklisted PHP 7.2 version checker.
Code
protected static function getUnsupportedVersionConstraint() {
$parser = new VersionParser();
// Rather than make things complicated with cli vs non-cli PHP and
// differences in their support of opcache, libsodium and Sodium_Compat,
// simply blacklist the entire version range to ensure the best possible
// and coherent update support.
return $parser
->parseConstraints('>=7.2.0 <=7.2.2');
}