While running tests against MediaWiki with PHP 8.1, I get errors like:
PHP Fatal error: During inheritance of JsonSerializable: Uncaught Return type of
Pleo\BloomFilter\BitArray::jsonSerialize() should either be compatible with
JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute
should be used to temporarily suppress the notice
While running tests against MediaWiki with PHP 8.1, I get errors like: