← Back to team overview

mahara-contributors team mailing list archive

[Bug 1976408] A change has been merged

 

Reviewed:  https://reviews.mahara.org/c/mahara/+/12787
Committed: https://git.mahara.org/mahara/mahara/commit/9f5d64d3e04b8d96a3f8ffcf2e8333cfac7cd129
Submitter: "Robert Lyon <robertl@xxxxxxxxxxxxxxx>"
Branch:    main

commit 9f5d64d3e04b8d96a3f8ffcf2e8333cfac7cd129
Author: Gold <gold@xxxxxxxxxxxxxxx>
Date:   Fri May 20 11:54:43 2022 +1200

Bug 1976408: Initial updates for getting behat to work with PHP 8.1.

There are 2 minor code fixes to get behat to run through without
crashing.

I'm including config for phan and phpstan also.

Adding phan and phpstan for local usage to external/composer.json

Signed-off-by: Gold <gold@xxxxxxxxxxxxxxx>
Change-Id: I47c7759921892727fae52fcc4727c81905f684a5

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: mahara-contributors
https://bugs.launchpad.net/bugs/1976408

Title:
  PHP 8 Compatibility: root dir / misc

Status in Mahara:
  Fix Committed

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 htdocs directory and other miscellaneous
  patchsets that don't fit neatly into updates for a specific 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

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1976408/+subscriptions



References