Page MenuHomePhabricator

Evaluate PHP8 compatibility of FOC
Closed, ResolvedPublic1 Estimated Story Points

Description

In order to upgrade to PHP 8, we need to figure out whether the Fundraising Operation Center is compatible with PHP 8 and/or what needs to be done to make it compatible.

Details

  • Locally install phpstan to analyze code. Probably phpstan will report more issues that are not related to PHP8 incompatibility.
  • Use updated PHP8 docker image.
  • Locally user test application (donation list, export, a/b test analysis).
  • Document possible phpstan reports that are related to PHP8 and broken features including log files.

Event Timeline

kai.nissen set the point value for this task to 5.
gabriel-wmde moved this task from Review to Deploy on the WMDE-FUN-Sprint-2021-04-26 board.

I have used the compatibility check tool and ran an analysis and report on the desktop campaign No. 20 from 2020 without problems.

While running the unit tests, I found out that the error handling of Silex throws deprecation errors in PHPUnit. I've created a pull request to remove Silex: https://github.com/wmde/fundraising-backend/pull/480

kai.nissen changed the point value for this task from 5 to 1.May 10 2021, 10:16 AM