Problem/Motivation
Make sure Drupal 7 becomes compatible with PHP 8.2 (release date 24 November 2022 - https://wiki.php.net/todo/php82). There should be quite a lot of issues related mostly to the deprecation of dynamic properties: https://wiki.php.net/rfc/deprecate_dynamic_properties.
See #3224299: [META] Make Drupal 7 core compatible with PHP 8.1 for how we did it with PHP 8.1.
According to the previous comments and the fact that the D7 EOL was postponed, I think we should support PHP 8.2 in D7. See: #3224299-6: [META] Make Drupal 7 core compatible with PHP 8.1
re. #4, yes D7 End of Life is November 2022, but after that there will be D7 Extended Support:
https://www.drupal.org/project/d7es
I believe that's due to run another 3 years until November 2025, which is beyond when any current version of PHP is due to be supported (directly by the upstream developers at least).
For the reference, here is the D9/10 issue: #3283358: [META] Make Drupal 9/10 compatible with PHP 8.2.
Steps to reproduce
Run tests with PHP 8.2.
Proposed resolution
Make tests pass and fix all child issues.
Remaining tasks
See child issues.
User interface changes
N/A
API changes
N/A
Data model changes
N/A
Release notes snippet
TBD