3
0
Fork 0
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:
Paul Weidner 2022-12-05 16:43:05 -08:00
parent 37314b8864
commit ad946875de
2 changed files with 3 additions and 1 deletions

View file

@ -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

View file

@ -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;