View Issue Details

IDProjectCategoryView StatusLast Update
0036617mantisbtcode cleanuppublic2025-11-22 11:47
Reporterdregad Assigned Todregad  
PrioritynormalSeverityminorReproducibilityhave not tried
Status resolvedResolutionfixed 
Target Version2.28.0Fixed in Version2.28.0 
Summary0036617: PHP 8.5: Increment on non-numeric string is deprecated
Description

Manage User Page throws a deprecation warning

PHP 8.5: Increment on non-numeric string is deprecated, use str_increment() instead.

This was already "soft deprecated" in PHP 8.3 (i.e. usage did not throw a warning).

Reference (RFC):

TagsPHP 8.5

Relationships

child of 0036614 resolveddregad PHP 8.5 compatibility 

Activities

Related Changesets

MantisBT: master 222a5c1e

2025-10-24 12:39

dregad


Details Diff
Refactor building of prefix array

Using range() and array functions instead of foreach loop with string
incrementation.

Fixes deprecation warning on PHP 8.5: Increment on non-numeric string is
deprecated, use str_increment() instead.

Fixes 0036617
Affected Issues
0036617
mod - manage_user_page.php Diff File