View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0029882 | mantisbt | tools | public | 2022-04-16 19:50 | 2023-10-31 16:32 |
Reporter | dregad | Assigned To | dregad | ||
Priority | normal | Severity | minor | Reproducibility | N/A |
Status | closed | Resolution | fixed | ||
Target Version | 2.26.0 | Fixed in Version | 2.26.0 | ||
Summary | 0029882: Enable PHP 8.1 builds on Travis-CI | ||||
Description | Following restoration of Travis-CI builds (see 0029881), we need to make sure that our unit tests also run against PHP 8.1 This is a challenge, because we still support PHP 7.0 so we're stuck with PHPUnit 6.x which is no longers supported and does not work with PHP 8.1 - many deprecation warnings are thrown, causing the builds to fail. | ||||
Tags | No tags attached. | ||||
MantisBT: master 4d820da5 2022-04-12 03:34 Details Diff |
Enable PHP 8.1 builds Fixes 0029882 |
Affected Issues 0029882 |
|
mod - .travis.yml | Diff File | ||
MantisBT: master f82c03b1 2022-04-14 20:45 Details Diff |
Ignore E_DEPRECATED notices in PHP 8.1 builds This is a hack to enable PHP 8.1 builds with PHPUnit 6.5, which is the latest version that can be used with MantisBT 2.26's minimum PHP requirement (7.0). Modified composer.json to use the following custom MantisBT packages: - phpunit/phpunit - phpunit/php-code-coverage - phpunit/php-file-iterator The original repos were forked to the mantisbt organization, then a branch was created off the latest tag; minimal code changes to avoid deprecation notices in PHP 8.1 were committed. We should be able to get rid of this when we update our PHP requirement to 7.2, which will allow us to use PHPUnit 8. Fixes 0029882 |
Affected Issues 0029882 |
|
mod - .travis.yml | Diff File | ||
mod - composer.json | Diff File | ||
mod - composer.lock | Diff File | ||
MantisBT: master 44525954 2023-08-01 12:15 Details Diff |
Update PHPUnit minimum version to 8.5 With PHPUnit 8.5, which supports PHP >= 7.2, we no longer need the temporary changes from issue 0029882 to provide PHP 8.1 compatibility. This reverts commit f82c03b1b5b215fa3926d427cb8d7407dcb9965f by removing the dependencies on custom forks of PHPUnit and required libraries. Fixes 0032810 |
Affected Issues 0029882, 0032810 |
|
mod - composer.json | Diff File |