ReadOnly API4 trait needs to be renamed as 'readonly' is a reserved word in PHP 8.1
Attempting to run any Civi drush commands under php 8.1 yields the following fatal error:
Error: During class fetch: Uncaught ParseError: syntax error, unexpected token "readonly", expecting identifier in Civi/Api4/Generic/Traits/ReadOnly.php:17