mirror of
https://github.com/farmOS/farmOS.git
synced 2024-02-23 11:37:38 +01:00
Include GEOS version in status report #614
This commit is contained in:
parent
37314b8864
commit
ad946875de
|
@ -18,6 +18,7 @@ soon as possible.
|
|||
### Added
|
||||
|
||||
- [Issue #3186530: farmOS 2.x PHP 8 support](https://www.drupal.org/project/farm/issues/3186530)
|
||||
- [Include GEOS version in status report #614](https://github.com/farmOS/farmOS/pull/614)
|
||||
|
||||
### Changed
|
||||
|
||||
|
|
|
@ -20,7 +20,8 @@ function farm_geo_requirements($phase) {
|
|||
// Check for php-geos extension.
|
||||
if (geoPHP::geosInstalled()) {
|
||||
$severity = REQUIREMENT_OK;
|
||||
$message = t('GEOS PHP extension installed');
|
||||
// phpcs:ignore Squiz.PHP.LowercasePHPFunctions.CallUppercase -- GEOSVersion() function is defined in php-geos.
|
||||
$message = t('GEOS PHP extension installed. GEOS version @version', ['@version' => GEOSVersion()]);
|
||||
}
|
||||
else {
|
||||
$severity = REQUIREMENT_WARNING;
|
||||
|
|
Loading…
Reference in a new issue