See http://drupal.org/update/modules/6/7#file_prepare_directory and http://drupal.org/update/modules/6/7#unmanaged_files for reference.

Upgrade routine should change file_create_path($path) to file_prepare_directory($path, FILE_CREATE_DIRECTORY) and flag it for review.

Comments

klausi’s picture

Issue summary: View changes
Status: Active » Closed (won't fix)

Coder 7.x-1.x is frozen now and will not receive any updates. Coder 8.x-2.x can be used to check code for any Drupal version, Coder 8.x-2.x also supports the phpcbf command to automatically fix conding standard errors. Please check if this issue is still relevant and reopen against that version if necessary.