use PHP_VERSION_ID to check version requirement
fix psr-2 compliance