Brian Henry announced in Post Status Slack this week that he wrote a plugin to add a “view diff” link to review plugins before installing updates:
“It uses git diff via
proc_open
which might not be available everywhere. (Dependencies can be removed with a library, but this was quick and easy.) I’ve only installed it on one live site, so tread carefully. It uses PHP7.4, WPCS, PHPStan, and some PHPUnit.”