Problem/Motivation
Update the Drupal 7 module to be compatible with PHP 8
Steps to reproduce
Proposed resolution
I have used the following to find the backwards incompatible changes, moving from PHP 7.4 to PHP 8.0--
https://github.com/rectorphp/rector
https://www.php.net/manual/en/migration80.incompatible.php
Rector PHP detected a number of changes for the module to be completely up to par with PHP 8.0, however most of them were either coding standards or backwards compatible changes.
Only one change seems to be backwards incompatible, namely the Curly Bracket issue already found by the client. The changes to these are localised to the ouath-php library we use inside the module.
Remaining tasks
User interface changes
API changes
Data model changes
Comments
Comment #2
jahanzaib_at_straker commentedChanges include dealing with backwards incompatible and deprecated changes.
Some instances of array_key_exists() have been replaced with isset() by @npaudyal001(thanks!).
Comment #3
jahanzaib_at_straker commentedthe patch has been merged into 7.x-7.x