In change https://gerrit.wikimedia.org/r/c/mediawiki/extensions/Cite/+/1003529 a suppression for MediaWikiNoEmptyIfDefined was added to pass CI under php7.4.
Locally running phan with php8.2 gives:
Plugin BuiltinSuppressionPlugin suppresses issue MediaWikiNoEmptyIfDefined in this file but this suppression is unused or suppressed elsewhere
It seems there is a issue with the mediawiki plugin handling empty
The parsoid class does not declare the properties and therefor it is a false positive under php7.4.
The parsoid class is using @property, the #[\AllowDynamicProperties] maybe makes this a non-issue in php8.2 (T349432)
This could be a blocker for T353276: Make Phan on PHP 8.1 voting for wmf-deployed extensions/skins