List of steps to reproduce (step by step, including full links if applicable):
- Download OAuth extension from https://www.mediawiki.org/wiki/Special:ExtensionDistributor/OAuth.
/OAuth/vendor/lcobucci/clock/src/SystemClock.php:13 contains the constructor property promotion syntax, so the extension is not compatible with PHP versions older than 8.0.
What should have happened instead?:
There should be no PHP 8.0 syntax because the support of PHP 7.x is not dropped.
Software version (if not a Wikimedia wiki), browser information, screenshots, other information, etc.: