One of the worst things you can do for preparing for PHP upgrades is to use ~E_DEPRECATED in your development environments. Turning off and ignoring deprecation messages causes a world of pain when upgrading.
Hard agree. But sometimes it's necessary to shut up noisy plugins (or core on PHP 8.1+) just while working on a problem, so I have a gist for that.