refactor: use PHP 8.1 instead of PHP 7.4