*As of 2022-10-24**:
https://gerrit.wikimedia.org/r/c/mediawiki/libs/RemexHtml/+/840651
https://integration.wikimedia.org/ci/job/composer-package-php81-docker/1173/console
00:00:20.571 src/Serializer/HtmlFormatter.php:240 PhanImpossibleTypeComparison Impossible attempt to check if $node->prefix of type string is identical to null of type null 00:00:20.571 src/Serializer/HtmlFormatter.php:247 PhanTypeMismatchArgumentNullable Argument 1 ($name) is $name of type ?string but \Wikimedia\RemexHtml\DOM\DOMUtils::uncoerceName() takes string defined at src/DOM/DOMUtils.php:34 (expected type to be non-nullable) 00:00:20.571 src/Serializer/HtmlFormatter.php:282 PhanTypeMismatchDimAssignment When appending to a value of type array<string,bool>|array{pre:true,textarea:true,listing:true}, found an array access index of type ?string, but expected the index to be of type int|string 00:00:20.572 src/Serializer/HtmlFormatter.php:282 PhanTypeMismatchDimFetchNullable When fetching an array index from a value of type array<string,bool>|array{pre:true,textarea:true,listing:true}, found an array index of type ?string, but expected the index to be of the non-nullable type string 00:00:20.572 src/Serializer/HtmlFormatter.php:285 PhanTypeMismatchDimAssignment When appending to a value of type array<string,bool>|array{area:true,base:true,basefont:true,bgsound:true,br:true,col:true,embed:true,frame:true,hr:true,img:true,input:true,keygen:true,link:true,menuitem:true,meta:true,param:true,source:true,track:true,wbr:true}, found an array access index of type ?string, but expected the index to be of type int|string 00:00:20.572 src/Serializer/HtmlFormatter.php:285 PhanTypeMismatchDimFetchNullable When fetching an array index from a value of type array<string,bool>|array{area:true,base:true,basefont:true,bgsound:true,br:true,col:true,embed:true,frame:true,hr:true,img:true,input:true,keygen:true,link:true,menuitem:true,meta:true,param:true,source:true,track:true,wbr:true}, found an array index of type ?string, but expected the index to be of the non-nullable type string