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

npaudyal001 created an issue. See original summary.

jahanzaib_at_straker’s picture

Changes include dealing with backwards incompatible and deprecated changes.

Some instances of array_key_exists() have been replaced with isset() by @npaudyal001(thanks!).

jahanzaib_at_straker’s picture

Status: Active » Fixed

the patch has been merged into 7.x-7.x

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.