PHP 8 Compatibility: testing

Bug #1976429 reported by Gold
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Fix Released
Wishlist
Gold

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 testing 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)
Changed in mahara:
status: Confirmed → In Progress
Revision history for this message
Mahara Bot (dev-mahara) wrote : A patch has been submitted for review
Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

Reviewed: https://reviews.mahara.org/c/mahara/+/12964
Committed: https://git.mahara.org/mahara/mahara/commit/2da315a33830394180dc7f87ae440d3f1577a76f
Submitter: "Doris Tam <email address hidden>"
Branch: main

commit 2da315a33830394180dc7f87ae440d3f1577a76f
Author: Gold <email address hidden>
Date: Wed Jun 29 14:08:55 2022 +1200

Bug 1976429: PHP 8 Compatibility: testing

This patchset covers the following directories:

* htdocs/testing
* test/behat

Added a sleep(1) to the following behat definition steps to allow
the scroll to complete.

* i_scroll_into_view
* i_scroll_into_view_base
* i_scroll_into_view_center
* i_scroll_into_id_like

Signed-off-by: Gold <email address hidden>
Change-Id: I4d866ef9d6c97af27ccac9a9a306534b1cf92200

Doris Tam (doristam)
Changed in mahara:
status: In Progress → Fix Committed
Changed in mahara:
importance: High → Wishlist
Robert Lyon (robertl-9)
Changed in mahara:
status: Fix Committed → Fix Released
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.