View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0033774 | mantisbt | code cleanup | public | 2024-02-18 12:02 | 2024-09-29 13:15 |
Reporter | dregad | Assigned To | dregad | ||
Priority | normal | Severity | tweak | Reproducibility | N/A |
Status | closed | Resolution | fixed | ||
Target Version | 2.27.0 | Fixed in Version | 2.27.0 | ||
Summary | 0033774: Refactor mc_project_api.php | ||||
Description | While troubleshooting PHPUnit test failures with Project API, I noticed there was quite a bit of duplicated code in mc_project_api.php, as well as many static analysis warnings flagged by PHPStorm. This is to track the refactoring to fix these issues. | ||||
Tags | No tags attached. | ||||
MantisBT: master 7abd1309 2024-02-18 17:24 Details Diff |
Refactor mc_project_api.php - Improve PHPDoc - Fix static analysis warnings - Introduce new functions to avoid code duplication - mci_project_get_row() - mci_project_get_versions() - mci_project_initial_checks() Fixes 0033774, PR https://github.com/mantisbt/mantisbt/pull/1970 |
Affected Issues 0033774 |
|
mod - api/soap/mc_api.php | Diff File | ||
mod - api/soap/mc_project_api.php | Diff File |