Closed (fixed)
Project:
Automated Logout
Version:
2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
20 Dec 2022 at 08:01 UTC
Updated:
5 Dec 2024 at 23:54 UTC
Jump to comment: Most recent, Most recent file


Comments
Comment #2
sergey.semchuk commentedPHP 7 patch
Comment #3
sergey.semchuk commentedPHP 8 patch
Comment #4
sergey.semchuk commentedComment #5
the_g_bomb commentedFailing because the nullsafe operator is available from PHP8, but the test is using PHP7.4
Comment #6
sergey.semchuk commentedUpdated the patch to fix the issue in Drupal 10 because `getSession()` method started throwing `BadMethodCallException('Session has not been set.')` and it's recommended to use `hasSession()` method.
Comment #9
admirlju commentedCreated a merge request to use GitlabCI testing. Also changed that null safe operator, since the module, for now, supports Drupal 9 even if it's going to be EOL in less than a month, and since it can technically run on php7.4 it's better to program with those limitations in mind.
Comment #11
japerryrerolled with some other refactored snippets of this code and committed