*As of 2022-10-24**:
https://gerrit.wikimedia.org/r/c/mediawiki/libs/RemexHtml/+/786405840651
https://integration.wikimedia.org/ci/job/composer-package-php81-docker/601173/console
```
21:30:09 src/DOM/DOMBuilder.php:418 PhanTypeMismatchArgumentNullableInternal Argument 1 ($node) is $node->firstChild of type ?\DOMNode but \DOMElement::appendChild() takes \DOMNode (expected type to be non-nullable)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
21:30:09 src/Serializer/HtmlFormatter.php:240 PhanImpossibleTypeComparison Impossible attempt to check if $node->prefix of type string is identical to null of type null00: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)
21:30:09 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
21:30:0900:00:20.572 src/Serializer/HtmlFormatter.php:282 PhanTypeMismatchDimAssignment When appending toFetchNullable When fetching an array index from 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|the non-nullable type string
21:30:0900:00:20.572 src/Serializer/HtmlFormatter.php:2825 PhanTypeMismatchDimFetchNullable When fetching an array index fromAssignment When appending to a value of type array<string,bool>|array{pre:true,textarea:true,listingarea: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 the non-nullable type type int|string
21:30:09 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
21:30:0900: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
```