As of PHP 8.2 dynamically created properties will throw a Derepecated functionality notice. Magento's default behavior is to catch all PHP errors and notices, and throw them as exceptions.
Leaving this deprecated functionality in breaks Magento on PHP 8.2
Resolves amzn/amazon-payments-magento-2-plugin#1252
Additional details about this PR
As of PHP 8.2 dynamically created properties will throw a Derepecated functionality notice. Magento's default behavior is to catch all PHP errors and notices, and throw them as exceptions.
Leaving this deprecated functionality in breaks Magento on PHP 8.2