View Issue Details

IDProjectCategoryView StatusLast Update
0036616mantisbtcode cleanuppublic2025-11-23 04:57
Reporterdregad Assigned Todregad  
PrioritynormalSeverityminorReproducibilityhave not tried
Status resolvedResolutionfixed 
Target Version2.28.0Fixed in Version2.28.0 
Summary0036616: PHP 8.5: case followed by semicolon deprecations
Description

Mantis Filter API throws several deprecation notices:

PHP Deprecated: Case statements followed by a semicolon (;) are deprecated, use a colon (:) instead in /core/filter_form_api.php

Reference (RFC): https://wiki.php.net/rfc/deprecations_php_8_5#deprecate_semicolon_after_case_in_switch_statement

TagsPHP 8.5

Relationships

child of 0036614 resolveddregad PHP 8.5 compatibility 

Activities

dregad

dregad

2025-11-01 11:26

developer   ~0070614

PR https://github.com/mantisbt/mantisbt/pull/2158

dregad

dregad

2025-11-22 11:49

developer   ~0070665

Forgot to add the issue reference in the commit message so the issue was not automatically closed when the PR was merged. Changeset linked manually.

Related Changesets

MantisBT: master 15e513cf

2025-10-24 12:05

dregad


Details Diff
PHP 8.5: Case statements followed by a semicolon

Case statements followed by a semicolon (;) are deprecated, use a colon
(:) instead.
Affected Issues
0036616
mod - core/classes/BugFilterQuery.class.php Diff File
mod - core/filter_form_api.php Diff File