Not passing a user was hard deprecated in 1.35 (T245682: Deprecate calling FileDeleteForm::doDelete without passing a user) and will be removed in 1.36 (see parent task)
Codesearch:
https://codesearch.wmflabs.org/search/?q=FileDeleteForm%3A%3AdoDelete&i=nope&files=&repos=
- Core (already done)
- Block and nuke
- BlueSpiceAvatars
- nuke (WMF deployed, already done)