no more needed

This commit is contained in:
Jean-Christian Denis 2023-05-10 11:06:14 +02:00
parent 75133f0982
commit 80ad25907d
Signed by: JcDenis
GPG key ID: 1B5B8C5B90B6C951

View file

@ -24,9 +24,6 @@ class My
/** @var string This module settings ID */ /** @var string This module settings ID */
public const NS_SETTING_ID = 'handlers'; public const NS_SETTING_ID = 'handlers';
/** @var string This module required php version */
public const PHP_MIN = '7.4';
/** /**
* This module id. * This module id.
*/ */
@ -52,12 +49,4 @@ class My
{ {
return dirname(__DIR__); return dirname(__DIR__);
} }
/**
* Check this module PHP version compliant.
*/
public static function phpCompliant(): bool
{
return version_compare(phpversion(), self::PHP_MIN, '>=');
}
} }