Dependency Graph

Dependency Graph
related to related to child of child of duplicate of duplicate of

View Issue Details

IDProjectCategoryView StatusLast Update
0037507mantisbtcode cleanuppublic2026-11-22 15:56
Reporterdregad Assigned Todregad  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version2.29.0 
Target Version2.29.1 
Summary0037507: file_copy() function declaration triggers deprecation notice on PHP 8.4 and later
Description

PHP Deprecated: file_copy(): Implicitly marking parameter $p_dest_bugnote_id as nullable is deprecated, the explicit nullable type must be used instead in .../core/file_api.php on line 1509

This causes the CI builds to fail.

Additional Information

This is a regression issue. The new function was introduced in MantisBT master 2bc5ee47 to fix security issue 0037027.

TagsNo tags attached.

Relationships

related to 0037027 closeddregad Clone Issue Copies Hidden Private-Note Attachments Into a Visible Child Issue 

Activities

There are no notes attached to this issue.

Related Changesets

MantisBT: master-2.29 240eb7be

2026-11-22 15:53

dregad


Details Diff
Fix PHP deprecation notice in file_copy()

Fixes 0037507
Affected Issues
0037507
mod - core/file_api.php Diff File