FYI: the PHP RFC to deprecate dynamic property assignment is now in the voting stage. If this RFC is accepted, dynamic property assignment will raise E_DEPRECATED in PHP 8.2 unless the #[AllowDynamicProperties] attribute is set on the class.
I'm voting no on this, on account of the amount of migration work I think it will create for us.
https://wiki.php.net/rfc/deprecate_dynamic_properties
-- Tim Starling
wikitech-l@lists.wikimedia.org