- Bump minimum PHP version to PHP 8.1.
- Add PHPStan to CI build & fixes to make package validate at PHPStan level 9.
- Add PHPCS to CI build & fixes so that package validates with PSR-12 settings.
- Deprecate getters across the board in favour of readonly public properties.
- General code-style updates to take advantage of PHP 8.1 features.