PHP 8 Compatibility: account

Bug #1976415 reported by Gold
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Invalid
High
Doris Tam

Bug Description

This is to track patchsets that will bring the codebase up to be compliant with PHP 8.1.

The initial run through will be on a top level directory basis. i.e. the directories below htdocs. It will focus on the results from the PHPStan and Phan static analysis tools.

This bug tracks files in the account directory.

Testing will require identifying, from the patchset, where the code is used and then verifying that that area of the site still works in both PHP 7.4 and PHP 8.1.

https://phpstan.org/
https://github.com/phan/phan

Tags: php8
Gold (gold.catalyst)
summary: - PHP 8 Compatibility: api
+ PHP 8 Compatibility: account
description: updated
Changed in mahara:
status: Confirmed → In Progress
Revision history for this message
Gold (gold.catalyst) wrote :

PHPStan is reporting the following that I'm having trouble resolving.

 ------ ---------------------------------------------------------------------
  Line migrateinstitution.php
 ------ ---------------------------------------------------------------------
  125 Instantiated class SimpleSAML\Auth\Simple not found.
         💡 Learn more at https://phpstan.org/user-guide/discovering-symbols
 ------ ---------------------------------------------------------------------

Changed in mahara:
milestone: 22.10.0 → 23.04.0
Revision history for this message
Kristina Hoeppner (kris-hoeppner) wrote :

Doris, is this still a problem?

Changed in mahara:
assignee: Gold (gold.catalyst) → nobody
assignee: nobody → Doris Tam (doristam)
Revision history for this message
Doris Tam (doristam) wrote :

This was before we moved over to Composer. This is not a problem because we can no longer test verify this problem. Any PHP 8.1 issues will have come up and gotten resolved in https://bugs.launchpad.net/mahara/+bug/2008956

Changed in mahara:
status: In Progress → Invalid
Changed in mahara:
milestone: 23.04.0 → none
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.