I’ve been wanting to use readonly
classes since PHP 8.2 came out a year ago, but I’ve been blocked by my (to this point) loosey-goosey approach to immutability and PHPCS not supporting the syntax.
Turns out PHPCS was Going Through Some Things. It’s better now.